From: Hrvoje Popovski Subject: Re: bnxt(4) tso To: Alexander Bluhm , Jonathan Matthew Cc: Jan Klemkow , tech@openbsd.org Date: Fri, 12 Jan 2024 10:27:30 +0100 On 12.1.2024. 9:32, Alexander Bluhm wrote: > On Fri, Jan 12, 2024 at 12:43:44AM +0100, Alexander Bluhm wrote: >> I have thrown your diff on my test setup. > Sending TCP works as expected with line speed. > > Jumbo frames and vlan looks completely broken. > Also socket splicing and userland relay copy have problems. > > On my text matrix I see a lot of failed tests. > http://bluhm.genua.de/netlink/results/2024-01-11T10%3A37%3A05Z/netlink.html > > It is possible that only one test transfers the hardware in a bad > state and all other tests after that fail. > > bluhm Hi, mbuhl@ ping me few day ago to test vlan/tso and with or without vlan I'm getting same good results. For me vlan is working just fine ... My bnxt interfaces are 10GBase-T bnxt0 at pci6 dev 0 function 0 "Broadcom BCM57416" rev 0x01: fw ver 214.4.65, msix, 8 queues, address 3c:ec:ef:86:dd:de bnxt1 at pci6 dev 0 function 1 "Broadcom BCM57416" rev 0x01: fw ver 214.4.65, msix, 8 queues, address 3c:ec:ef:86:dd:df smc24# ifconfig bnxt1 hwfeatures bnxt1: flags=8843 mtu 1500 hwfeatures=31b7 hardmtu 9500 lladdr 3c:ec:ef:86:dd:df index 2 priority 0 llprio 3 media: Ethernet autoselect (10GbaseT full-duplex) status: active smc24# ifconfig vlan800 vlan800: flags=8843 mtu 1500 lladdr 3c:ec:ef:86:dd:df index 13 priority 0 llprio 3 encap: vnetid 800 parent bnxt1 txprio packet rxprio outer groups: vlan media: Ethernet autoselect (10GbaseT full-duplex) status: active inet 192.168.111.114 netmask 0xffffff00 broadcast 192.168.111.255 inet6 fe80::3eec:efff:fe86:dddf%vlan800 prefixlen 64 scopeid 0xd inet6 192:168:1111:1111::114 prefixlen 64