Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci/ixgbe ixv(4): disable RSS configuration on 82599...



details:   https://anonhg.NetBSD.org/src/rev/34157cd0e933
branches:  trunk
changeset: 460841:34157cd0e933
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Wed Nov 06 04:17:16 2019 +0000

description:
ixv(4): disable RSS configuration on 82599 and X540 VFs.

Those VFs share their RSS configuration with PF and, thus,
they cannot be configured independently. From FreeBSD r354349.

diffstat:

 sys/dev/pci/ixgbe/ixv.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r f639fab71ec4 -r 34157cd0e933 sys/dev/pci/ixgbe/ixv.c
--- a/sys/dev/pci/ixgbe/ixv.c   Tue Nov 05 23:31:23 2019 +0000
+++ b/sys/dev/pci/ixgbe/ixv.c   Wed Nov 06 04:17:16 2019 +0000
@@ -1,4 +1,4 @@
-/*$NetBSD: ixv.c,v 1.139 2019/10/01 10:04:11 msaitoh Exp $*/
+/*$NetBSD: ixv.c,v 1.140 2019/11/06 04:17:16 msaitoh Exp $*/
 
 /******************************************************************************
 
@@ -1920,7 +1920,8 @@
                            adapter->num_rx_desc - 1);
        }
 
-       ixv_initialize_rss_mapping(adapter);
+       if (adapter->hw.mac.type >= ixgbe_mac_X550_vf)
+               ixv_initialize_rss_mapping(adapter);
 } /* ixv_initialize_receive_units */
 
 /************************************************************************



Home | Main Index | Thread Index | Old Index