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 Enclose flow director stuff in ixgbe_intr_...
details: https://anonhg.NetBSD.org/src/rev/7ff5d402fbfe
branches: trunk
changeset: 363409:7ff5d402fbfe
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Thu Mar 10 04:00:32 2022 +0000
description:
Enclose flow director stuff in ixgbe_intr_admin_common() with IXGBE_FIR.
diffstat:
sys/dev/pci/ixgbe/ixgbe.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (34 lines):
diff -r aca8cb45da5c -r 7ff5d402fbfe sys/dev/pci/ixgbe/ixgbe.c
--- a/sys/dev/pci/ixgbe/ixgbe.c Thu Mar 10 03:58:52 2022 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe.c Thu Mar 10 04:00:32 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ixgbe.c,v 1.310 2022/03/10 03:58:52 msaitoh Exp $ */
+/* $NetBSD: ixgbe.c,v 1.311 2022/03/10 04:00:32 msaitoh Exp $ */
/******************************************************************************
@@ -64,7 +64,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ixgbe.c,v 1.310 2022/03/10 03:58:52 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ixgbe.c,v 1.311 2022/03/10 04:00:32 msaitoh Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -3218,6 +3218,7 @@
}
if (adapter->hw.mac.type != ixgbe_mac_82598EB) {
+#ifdef IXGBE_FDIR
if ((adapter->feat_en & IXGBE_FEATURE_FDIR) &&
(eicr & IXGBE_EICR_FLOW_DIR)) {
if (!atomic_cas_uint(&adapter->fdir_reinit, 0, 1)) {
@@ -3226,6 +3227,7 @@
*eims_disable |= IXGBE_EIMS_FLOW_DIR;
}
}
+#endif
if (eicr & IXGBE_EICR_ECC) {
device_printf(adapter->dev,
Home |
Main Index |
Thread Index |
Old Index