On 9.6.2022. 19:11, Jan Klemkow wrote:
> On Thu, Jun 09, 2022 at 08:25:22AM +0200, Hrvoje Popovski wrote:
>> On 8.6.2022. 22:01, Hrvoje Popovski wrote:
>>> On 8.6.2022. 15:04, Jan Klemkow wrote:
>>>> Could you show me, how your setup and your configuration looks like?
>>> Yes, of course ..
>>>
>>> All my lab boxes are connected to switch (no flow-control). In this
>>> setup ix0 and ix1 are in aggr and vlans 700 and 800 are tagged on aggr3.
>>> I have tried tcpbench and iperf3 from openbsd or linux box and with tso
>>> I'm getting few Kbps. In attachment you can find tcpdump for iperf3 on
>>> openbsd with or without tso
>>>
>>> I will play more with this setup maybe I'm doing something terribly wrong...
>>>
>>> My OpenBSD conf:
>>>
>>> r620-1# cat /etc/hostname.ix0
>>> up
>>>
>>> r620-1# cat /etc/hostname.ix1
>>> up
>>>
>>> r620-1# cat /etc/hostname.aggr3
>>> trunkport ix0
>>> trunkport ix1
>>> up
>>>
>>> r620-1# cat /etc/hostname.vlan700
>>> parent aggr3
>>> vnetid 700
>>> lladdr ec:f4:bb:da:f7:f8
>>> inet 192.168.100.11/24
>>> !route add 16/8 192.168.100.111
>>> up
>>>
>>> r620-1# cat /etc/hostname.vlan800
>>> parent aggr3
>>> vnetid 800
>>> lladdr ec:f4:bb:da:f7:fa
>>> inet 192.168.111.11/24
>>> !route add 48/8 192.168.111.111
>>> up
>>
>> now I've configured aggr like this
>>
>> ix0 - aggr0 - vlan700
>> ix1 - aggr1 - vlan800
>> ip configuration is the same
>>
>> still I have problem with tso
>>
>> tcpdump in attachment
> 
> The tcpdump output on my machine looks similar to yours.
> Do you see TCP retransmits on your sending Linux host?
> 
> # netstat -s | grep retransmitted
>     0 segments retransmitted
> 

[root@test2 pktgen]# netstat -s | grep -i segment
    8352173627 segments received
    14648977712 segments send out
    13336873 segments retransmited
    586 bad segments received.

yes, segments retransmited is increasing


> Which specific ix(4) NIC do you use?
> 

r620-1# dmesg | grep ix
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
ix0 at pci1 dev 0 function 0 "Intel 82599" rev 0x01, msix, 6 queues,
address ec:f4:bb:da:f7:f8
ix1 at pci1 dev 0 function 1 "Intel 82599" rev 0x01, msix, 6 queues,
address ec:f4:bb:da:f7:fa
ix2 at pci4 dev 0 function 0 "Intel X540T" rev 0x01, msix, 6 queues,
address a0:36:9f:29:f2:0c
ix3 at pci4 dev 0 function 1 "Intel X540T" rev 0x01, msix, 6 queues,
address a0:36:9f:29:f2:0e


I'm using ix0 and ix1 for testing
> I'm using these two:
> 
> # dmesg | grep ^ix
> ix0 at pci3 dev 0 function 0 "Intel 82599" rev 0x01, msix, 12 queues, address 
> 00:1b:21:87:fb:2c
> ix1 at pci3 dev 0 function 1 "Intel 82599" rev 0x01, msix, 12 queues, address 
> 00:1b:21:87:fb:2d
> 
> Thanks,
> Jan
> 

Reply via email to