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/60c94e89ca11
branches: trunk
changeset: 1004628:60c94e89ca11
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 d4170fd1ae79 -r 60c94e89ca11 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