git: 1ad87333e552 - stable/14 - ixv: Remove unused loader tunables
Kevin Bowling <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.cvs.src |
|---|---|
| Message-ID | <6a88f1b1.26810.462cbe5e__18262.9922333703$1787359745$gmane$org@gitrepo.freebsd.org> |
The branch stable/14 has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=1ad87333e552531ac5d0aa31a69dd89c85d79bbc commit 1ad87333e552531ac5d0aa31a69dd89c85d79bbc Author: Kevin Bowling <[email protected]> AuthorDate: 2026-08-08 11:10:41 +0000 Commit: Kevin Bowling <[email protected]> CommitDate: 2026-08-22 00:47:12 +0000 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 7fffc5ec00bb..284d2e7b6d9d 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)