Hi,
I have debugged the issue mentioned in the original message further and
found a couple of bugs in the DPDK memif driver.
There's a bug in mbuf chaining code [1] and also another bug in
memif_stats_get() function [2] for which I made downstream PRs for TRex
[3][4].
This is not in any way a VPP problem, but I hope if someone trying to use
TRex or another DPDK app with VPP and memifs stumbles upon this message it
might be of some help (as far as I know, TRex is used in VPP CSIT to some
degree).

[1] https://bugs.dpdk.org/show_bug.cgi?id=729
[2] https://bugs.dpdk.org/show_bug.cgi?id=734
[3] https://github.com/cisco-system-traffic-generator/trex-core/pull/723
[4] https://github.com/cisco-system-traffic-generator/trex-core/pull/728

On Wed, Apr 21, 2021 at 5:08 PM Ivan Shvedunov via lists.fd.io <ivan4th=
gmail....@lists.fd.io> wrote:

>   Hello,
>
>   I've been struggling with the following issue (observed with VPP 21.01):
> when trying any of ASTF TRex profiles with VPP, I get multiple errors:
> "ip4 length > l2 length".
> These don't happen with each packet but rather with some of them. It looks
> like the TCP payload is truncated down to 600 bytes for some reason, while
> looking at the TRex simulation, it should be 1448 bytes.
>   I have collected a snippet from dispatch trace dissected by Wireshark
> and other info here:
> https://gist.github.com/ivan4th/e0130dac619f91a6bb8e7987550c2466
>   I'm not really sure this is VPP and not a TRex issue, especially given
> that it's only seen in ASTF mode of TRex, but I'm asking it here b/c
> (1) TRex is used for CSIT
> (2) There's an old open ticket for a similar CSIT problem:
> https://jira.fd.io/browse/VPP-1676
> Not sure if it was resolved somehow already.
>
>   Passing --tso-disable --lro-disable --checksum-offload-disable flags to
> TRex doesn't change anything.
>
>   If there's no known solution for this issue, I'll dig into it myself,
> but I'd like to ask if maybe it was already solved by someone. Thanks!
>
> --
> Ivan Shvedunov <ivan...@gmail.com>
> ;; My GPG fingerprint is: 2E61 0748 8E12 BB1A 5AB9  F7D0 613E C0F8 0BC5
> 2807
>
> 
>
>

-- 
Ivan Shvedunov <ivan...@gmail.com>
;; My GPG fingerprint is: 2E61 0748 8E12 BB1A 5AB9  F7D0 613E C0F8 0BC5 2807
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19566): https://lists.fd.io/g/vpp-dev/message/19566
Mute This Topic: https://lists.fd.io/mt/83533776/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