I am working on Mellanox ConnectX-5 cards and using DPDK 20.11 with CentOS 8 (4.18.0-147.5.1.el8_1.x86_64).
I wanted to test the DEV_TX_OFFLOAD_VXLAN_TNL_TSO offload and what I want to ask is that what should the packet structure be like (I am using scapy) that I should send to the DPDK application such that this offload will come into action and perform segmentation (since it is a VXLAN_TNL_TSO).
I am modifying the dpdk-ip_fragmentation example and have added: DEV_TX_OFFLOAD_IP_TNL_TSO inside the port_conf
static struct rte_eth_conf port_conf = {
.rxmode = {
.max_rx_pkt_len = JUMBO_FRAME_MAX_SIZE,
.split_hdr_size = 0,
.offloads = (DEV_RX_OFFLOAD_CHECKSUM |
DEV_RX_OFFLOAD_SCATTER |
DEV_RX_OFFLOAD_JUMBO_FRAME),
},
.txmode = {
.mq_mode = ETH_MQ_TX_NONE,
.offloads = (DEV_TX_OFFLOAD_IPV4_CKSUM |
DEV_TX_OFFLOAD_VXLAN_TNL_TSO
),
},
};
And at the ol_flags:
ol_flags |= (PKT_TX_IPV4 | PKT_TX_IP_CKSUM | PKT_TX_TUNNEL_VXLAN );
In short, to test this offload it would be great if someone can help me with 2 things:
- What should the packet structure be that I should send (using scapy, such that the offload comes into action)?
- Required settings to do in the DPDK example application (It is not necessary to use the ip_fragmentation example, any other example would be fine too).
missing inforamtion
. Since you have not mentioned 1. DPDK version, 2. Linux Kernel, 3. Firmware (if applicable), 4. current result or error logs or logs (pkt_dump) - Vipin VargheseDEV_TX_OFFLOAD_UDP_TNL_TSO
for UDP Tunnel packet offload? I am available for skype debug - Vipin VargheseTSO for inner TCP payload and not VXLAN Tunnel
. I have requested Ameer to update the ticket for the same. - Vipin Varghese