Source-Changes-HG archive

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

[src/netbsd-9]: src/sys/dev/pci/ixgbe Pull up following revision(s) (requeste...



details:   https://anonhg.NetBSD.org/src/rev/f8668c13cbb6
branches:  netbsd-9
changeset: 963247:f8668c13cbb6
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Nov 14 15:30:19 2019 +0000

description:
Pull up following revision(s) (requested by msaitoh in ticket #422):

        sys/dev/pci/ixgbe/ixv.c: revision 1.140

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 0ace70f04223 -r f8668c13cbb6 sys/dev/pci/ixgbe/ixv.c
--- a/sys/dev/pci/ixgbe/ixv.c   Wed Nov 13 12:57:15 2019 +0000
+++ b/sys/dev/pci/ixgbe/ixv.c   Thu Nov 14 15:30:19 2019 +0000
@@ -1,4 +1,4 @@
-/*$NetBSD: ixv.c,v 1.125.2.5 2019/10/08 17:05:16 martin Exp $*/
+/*$NetBSD: ixv.c,v 1.125.2.6 2019/11/14 15:30:19 martin 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