From 88b19e9437dec2fc0325dec296967a08413d35e9 Mon Sep 17 00:00:00 2001 From: jan Date: Thu, 7 Mar 2024 17:09:02 +0000 Subject: [PATCH] Disable LRO in ix(4) on sparc64 by default As discussed on icb, we disables this here for a stable ix(4) in the 7.5 release to avoid buggy behavior. ok claudio@, deraadt@ --- sys/dev/pci/if_ix.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/dev/pci/if_ix.c b/sys/dev/pci/if_ix.c index fa1c5681949..f7b67598bc1 100644 --- a/sys/dev/pci/if_ix.c +++ b/sys/dev/pci/if_ix.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ix.c,v 1.210 2024/03/07 14:49:47 claudio Exp $ */ +/* $OpenBSD: if_ix.c,v 1.211 2024/03/07 17:09:02 jan Exp $ */ /****************************************************************************** @@ -1932,7 +1932,9 @@ ixgbe_setup_interface(struct ix_softc *sc) ifp->if_capabilities |= IFCAP_TSOv4 | IFCAP_TSOv6; if (sc->hw.mac.type != ixgbe_mac_82598EB) { +#ifndef __sparc64__ ifp->if_xflags |= IFXF_LRO; +#endif ifp->if_capabilities |= IFCAP_LRO; } -- 2.20.1