Module Name: src
Committed By: msaitoh
Date: Wed Nov 6 04:17:16 UTC 2019
Modified Files:
src/sys/dev/pci/ixgbe: ixv.c
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.139 -r1.140 src/sys/dev/pci/ixgbe/ixv.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/pci/ixgbe/ixv.c
diff -u src/sys/dev/pci/ixgbe/ixv.c:1.139 src/sys/dev/pci/ixgbe/ixv.c:1.140
--- src/sys/dev/pci/ixgbe/ixv.c:1.139 Tue Oct 1 10:04:11 2019
+++ src/sys/dev/pci/ixgbe/ixv.c Wed Nov 6 04:17:16 2019
@@ -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 @@ ixv_initialize_receive_units(struct adap
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 */
/************************************************************************