Hi Florin,

>From my logs it seems that TSO is not on even when using the native driver, 
>logs attached below. I'm going to do a deeper dive into the various networking 
>layers involved in this setup, will post any interesting findings back on this 
>thread.

Thank you for all the help so far!

Regards,
Dom

vpp# sh int
Name               Idx    State  MTU (L3/IP4/IP6/MPLS)     Counter          
Count
local0                            0     down          0/0/0/0
vpp# create int virtio 0000:00:03.0
vpp# sh int
Name               Idx    State  MTU (L3/IP4/IP6/MPLS)     Counter          
Count
local0                            0     down          0/0/0/0
virtio-0/0/3/0                    1     down         9000/0/0/0     rx packets  
                 999
rx bytes                   60252
drops                        999
ip4                            6
vpp# set interface ip address virtio-0/0/3/0 10.0.0.152/24
vpp# set interface state virtio-0/0/3/0 up
vpp# session enable
vpp# sh int
Name               Idx    State  MTU (L3/IP4/IP6/MPLS)     Counter          
Count
local0                            0     down          0/0/0/0
virtio-0/0/3/0                    1      up          9000/0/0/0     rx packets  
                1017
rx bytes                   61332
drops                       1017
ip4                            6
vpp# sh sess verbose 2
Thread 0: no sessions
Thread 1: no sessions
Thread 2: no sessions
Thread 3: no sessions
vpp# sh sess verbose 2
Thread 0: no sessions
[1:0][T] 10.0.0.152:27761->10.0.0.156:5201        ESTABLISHED
index: 0 cfg:  flags:  timers:
snd_una 124 snd_nxt 124 snd_una_max 124 rcv_nxt 5 rcv_las 5
snd_wnd 29056 rcv_wnd 7999488 rcv_wscale 10 snd_wl1 4 snd_wl2 124
flight size 0 out space 4473 rcv_wnd_av 7999488 tsval_recent 244488841
tsecr 434592381 tsecr_last_ack 434592381 tsval_recent_age 2995 snd_mss 1448
rto 259 rto_boff 0 srtt 67 us 3.127 rttvar 48 rtt_ts 0.0000 rtt_seq 124
next_node 0 opaque 0x0
cong:   none algo cubic cwnd 4473 ssthresh 2147483647 bytes_acked 0
cc space 4473 prev_cwnd 0 prev_ssthresh 0
snd_cong 3516215180 dupack 0 limited_tx 3516215180
rxt_bytes 0 rxt_delivered 0 rxt_head 3516215180 rxt_ts 434595747
prr_start 3516215180 prr_delivered 0 prr space 0
sboard: sacked 0 last_sacked 0 lost 0 last_lost 0 rxt_sacked 0
last_delivered 0 high_sacked 3516215180 is_reneging 0
cur_rxt_hole 4294967295 high_rxt 3516215180 rescue_rxt 3516215180
stats: in segs 6 dsegs 4 bytes 4 dupacks 0
out segs 7 dsegs 2 bytes 123 dupacks 0
fr 0 tr 0 rxt segs 0 bytes 0 duration 3.381
err wnd data below 0 above 0 ack below 0 above 0
pacer: rate 1430540 bucket 0 t/p 1.431 last_update 3.365 s idle 156
Rx fifo: cursize 0 nitems 7999999 has_event 0
head 4 tail 4 segment manager 2
vpp session 0 thread 1 app session 0 thread 0
ooo pool 0 active elts newest 4294967295
Tx fifo: cursize 0 nitems 7999999 has_event 0
head 123 tail 123 segment manager 2
vpp session 0 thread 1 app session 0 thread 0
ooo pool 0 active elts newest 4294967295
session: state: ready opaque: 0x0 flags:
[1:1][T] 10.0.0.152:31516->10.0.0.156:5201        ESTABLISHED
index: 1 cfg:  flags: PSH pending timers: RETRANSMIT
snd_una 455633510 snd_nxt 456069358 snd_una_max 456069358 rcv_nxt 1 rcv_las 1
snd_wnd 1575424 rcv_wnd 7999488 rcv_wscale 10 snd_wl1 1 snd_wl2 455633510
flight size 435848 out space 486 rcv_wnd_av 7999488 tsval_recent 244492205
tsecr 434595744 tsecr_last_ack 434595744 tsval_recent_age 4294966926 snd_mss 
1448
rto 200 rto_boff 0 srtt 1 us 2.612 rttvar 1 rtt_ts 95.8681 rtt_seq 455697222
next_node 0 opaque 0x0
cong:   none algo cubic cwnd 436334 ssthresh 333526 bytes_acked 2896
cc space 486 prev_cwnd 476467 prev_ssthresh 341803
snd_cong 419169974 dupack 0 limited_tx 2714252909
rxt_bytes 0 rxt_delivered 0 rxt_head 2714252909 rxt_ts 434595747
prr_start 418787702 prr_delivered 0 prr space 0
sboard: sacked 0 last_sacked 0 lost 0 last_lost 0 rxt_sacked 0
last_delivered 0 high_sacked 419169974 is_reneging 0
cur_rxt_hole 4294967295 high_rxt 418797838 rescue_rxt 418787701
stats: in segs 144873 dsegs 0 bytes 0 dupacks 2553
out segs 315278 dsegs 315277 bytes 456519685 dupacks 0
fr 12 tr 0 rxt segs 311 bytes 450328 duration 3.371
err wnd data below 0 above 0 ack below 0 above 0
pacer: rate 436334000 bucket 282 t/p 436.334 last_update 264 us idle 100
Rx fifo: cursize 0 nitems 7999999 has_event 0
head 0 tail 0 segment manager 2
vpp session 1 thread 1 app session 1 thread 0
ooo pool 0 active elts newest 0
Tx fifo: cursize 7999999 nitems 7999999 has_event 1
head 7633509 tail 7633508 segment manager 2
vpp session 1 thread 1 app session 1 thread 0
ooo pool 0 active elts newest 4294967295
session: state: ready opaque: 0x0 flags:
Thread 1: active sessions 2
Thread 2: no sessions
Thread 3: no sessions
vpp# sh hardware-interfaces
Name                Idx   Link  Hardware
local0                             0    down  local0
Link speed: unknown
local
virtio-0/0/3/0                     1     up   virtio-0/0/3/0
Link speed: unknown
Ethernet address fa:16:3e:ad:17:4d
VIRTIO interface
instance 0

vpp# sh err
Count                    Node                  Reason
1                ip4-glean               ARP requests sent
5636293              session-queue             Packets transmitted
1            tcp4-rcv-process            Pure ACKs received
2              tcp4-syn-sent             SYN-ACKs received
7            tcp4-established            Packets pushed into rx fifo
2589847            tcp4-established            Pure ACKs received
43700            tcp4-established            Duplicate ACK
1            tcp4-established            Resets received
52            tcp4-established            Connection closed
1            tcp4-established            FINs received
5636348               tcp4-output              Packets sent
52               tcp4-output              Resets sent
1                arp-reply               ARP replies sent
90              arp-disabled              ARP Disabled on this interface
149                ip4-input               unknown ip protocol
1                ip4-input               bad tcp checksum
1                ip4-input               Multicast RPF check failed
1186                llc-input               unknown llc ssap/dsap
7             ethernet-input             no error
1             ethernet-input             l3 mac mismatch
973            virtio-0/0/3/0-tx           no free tx slots
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#14901): https://lists.fd.io/g/vpp-dev/message/14901
Mute This Topic: https://lists.fd.io/mt/65863639/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to