On 1.2.2024. 18:42, Alexander Bluhm wrote:
> On Tue, Jan 30, 2024 at 02:32:24PM +0100, Hrvoje Popovski wrote:
>> yes, and forwarding only without pf.
>> I'm sending traffic from host connected to vlan/ix0 and forward through
>> em5 to other host.
>> I'm sending 1Gbps of traffic with cisco t-rex
> I cannot reproduce.
> 
> ix0 at pci6 dev 0 function 0 "Intel 82599" rev 0x01, msix, 8 queues, address 
> 90:e2:ba:d6:23:68
> em1 at pci7 dev 0 function 1 "Intel I350" rev 0x01: msi, address 
> a0:36:9f:0a:4a:c5
> 
> root@ot42:.../~# ifconfig ix0 hwfeatures
> ix0: flags=2008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LRO> mtu 1500
>         
> hwfeatures=71b7<CSUM_IPv4,CSUM_TCPv4,CSUM_UDPv4,VLAN_MTU,VLAN_HWTAGGING,CSUM_TCPv6,CSUM_UDPv6,TSOv4,TSOv6,LRO>
>  hardmtu 9198
>         lladdr 90:e2:ba:d6:23:68
>         description: Intel 82599
>         index 5 priority 0 llprio 3
>         media: Ethernet autoselect (10GSFP+Cu full-duplex,rxpause,txpause)
>         status: active
> 
> root@ot42:.../~# ifconfig em1 hwfeatures
> em1: flags=8c43<UP,BROADCAST,RUNNING,OACTIVE,SIMPLEX,MULTICAST> mtu 1500
>         
> hwfeatures=31b7<CSUM_IPv4,CSUM_TCPv4,CSUM_UDPv4,VLAN_MTU,VLAN_HWTAGGING,CSUM_TCPv6,CSUM_UDPv6,TSOv4,TSOv6>
>  hardmtu 9216
>         lladdr a0:36:9f:0a:4a:c5
>         description: Intel I350
>         index 8 priority 0 llprio 3
>         media: Ethernet autoselect (1000baseT full-duplex,master)
>         status: active
>         inet 10.10.22.3 netmask 0xffffff00 broadcast 10.10.22.255
> 
> root@ot42:.../~# ifconfig vlan0 hwfeatures
> vlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         
> hwfeatures=3187<CSUM_IPv4,CSUM_TCPv4,CSUM_UDPv4,CSUM_TCPv6,CSUM_UDPv6,TSOv4,TSOv6>
>  hardmtu 9198
>         lladdr 90:e2:ba:d6:23:68
>         index 24 priority 0 llprio 3
>         encap: vnetid 221 parent ix0 txprio packet rxprio outer
>         groups: vlan
>         media: Ethernet autoselect (10GSFP+Cu full-duplex,rxpause,txpause)
>         status: active
>         inet 10.10.21.2 netmask 0xffffff00 broadcast 10.10.21.255
> 
> root@ot42:.../~# pfctl -si
> Status: Disabled for 0 days 00:03:42             Debug: err
> 
> Running tcpbench -n100 from Linux via OpenBSD forwarding to Linux.
> Simultaneous udpbench to create traffic mixture.
> 
> root@ot42:.../~# netstat -ss | egrep 'TSO|LRO'
>                 1188 output TSO packets software chopped
>                 33086906 output TSO packets hardware processed
>                 265855748 output TSO packets generated
>                 31090975 input LRO generated packets from hardware
>                 176482178 input LRO coalesced packets by network device
> 
> Lot of LRO and TSO.  Running diff below, which reverts em TSO backout
> and adds sparc64 fix.
> 
> Hrvoje: What is different in your lab?


I think I found it. It's lldp. If I enable lldpd I'm getting watchdog on
em, when disabled only one watchdog at the beginning of testing.

Reply via email to