From 68bbd5a400bd7e4e7456641fb033176201fd8ea8 Mon Sep 17 00:00:00 2001 From: Kevin Bowling Date: Sat, 8 Aug 2026 04:10:41 -0700 Subject: [PATCH] ixv: Remove unused loader tunables The flow_control and hdr_split variables have never been read. VF flow control is controlled by the PF, while implementing header split would require receive-path support that ixv does not provide. (cherry picked from commit 8eeb25899afd7818d99ce1500be27ae8d992131f) --- sys/dev/ixgbe/if_ixv.c | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/sys/dev/ixgbe/if_ixv.c b/sys/dev/ixgbe/if_ixv.c index 7fffc5ec00b..284d2e7b6d9 100644 --- a/sys/dev/ixgbe/if_ixv.c +++ b/sys/dev/ixgbe/if_ixv.c @@ -195,23 +195,6 @@ static driver_t ixv_if_driver = { "ixv_if", ixv_if_methods, sizeof(struct ixgbe_softc) }; -/* - * TUNEABLE PARAMETERS: - */ - -/* Flow control setting, default to full */ -static int ixv_flow_control = ixgbe_fc_full; -TUNABLE_INT("hw.ixv.flow_control", &ixv_flow_control); - -/* - * Header split: this causes the hardware to DMA - * the header into a separate mbuf from the payload, - * it can be a performance win in some workloads, but - * in others it actually hurts, its off by default. - */ -static int ixv_header_split = false; -TUNABLE_INT("hw.ixv.hdr_split", &ixv_header_split); - #define IXV_VLAN_RETRY_BATCH 4 #define IXV_VLAN_RETRY_WINDOW (8 * SBT_1S)