I suspect this is actually caused by csum issue in TX side: on RX,
socket pktio does not validate csum (and accept the packets) but on
dpdk pktio the csum is validated and packets are dropped.

I am not seeing this in my setup because default txq_flags for igb
driver (1G interface) is

.txq_flags = 0

while for ixgbe (10G interface) is:

.txq_flags = ETH_TXQ_FLAGS_NOMULTSEGS |
                ETH_TXQ_FLAGS_NOOFFLOADS,


/B




On 1 December 2017 at 23:47, Maxim Uvarov <maxim.uva...@linaro.org> wrote:
>
> Looking to dpdk pktio support and generator. It looks like receive part
> is broken. If for receive I use sockets it works well but receive with
> dpdk does not get any packets. For both master and api-next. Can
> somebody confirm please that it's so. Lava is not supper friendly to
> debug issue.
>
>
> 1. Recv
> odp_generator -I 0 -m r -c 0x4
>
> https://lng.validation.linaro.org/scheduler/job/23206.1
> Network devices using DPDK-compatible driver
> ============================================
> 0000:07:00.1 '82599ES 10-Gigabit SFI/SFP+ Network Connection 10fb'
> drv=igb_uio unused=
>
>
>
> 2. Send
> odp_generator -I 0 --srcmac 38:ea:a7:93:98:94 --dstmac 38:ea:a7:93:83:a0
> --srcip 192.168.100.2 --dstip 192.168.100.1 -m u -i 0 -c 0x8 -p 18 -e
> 5000 -f 5001 -n 800000000
>
> https://lng.validation.linaro.org/scheduler/job/23206.0
>
> Thank you,
> Maxim.

Reply via email to