DPDK usage discussions
 help / color / mirror / Atom feed
* DPDK 23.11 VMware checksum offload
@ 2025-04-24 23:04 Aisenur Yoldaş
  0 siblings, 0 replies; only message in thread
From: Aisenur Yoldaş @ 2025-04-24 23:04 UTC (permalink / raw)
  To: users; +Cc: Volkan Atlı, Denis Davidoglu

[-- Attachment #1: Type: text/plain, Size: 1327 bytes --]

Hi,

I am trying to use dpdk 23.11 on a VMware virtual machine for a forwarding application. My quest OS is Ubuntu 22.04 LTS and I am using the e1000 network card. I realized checksums of the processed packets are not correct when using checksum offload feature of DPDK. I suspect that checksums are stay same when packets are changed.

I also tried using vmxnet3 NIC in virtual machine but I got the same result. I was using same code on a Mellanox card before on a real hardware and it was working fine.  When I calculated the checksum in the code instead of offloading it is working, but I would like to use the offloading feature. What do you think could be the cause for this problem.

The configuration I am using for checksum offload is:

        struct rte_eth_conf port_conf = {
            .rxmode = {
                .mq_mode = RTE_ETH_MQ_RX_RSS,
            },
            .txmode = {
                .offloads =
                    RTE_ETH_TX_OFFLOAD_IPV4_CKSUM  |
                    RTE_ETH_TX_OFFLOAD_UDP_CKSUM   |
                    RTE_ETH_TX_OFFLOAD_TCP_CKSUM  ,
                    .mq_mode = RTE_ETH_MQ_TX_NONE,
            },

For vmxnet3 however I didn't use RTE_ETH_TX_OFFLOAD_IPV4_CKSUM because apparently that driver is not supporting IPv4 offload.

Thanks

Best,

Aisenur

[-- Attachment #2: Type: text/html, Size: 7042 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-04-24 23:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-24 23:04 DPDK 23.11 VMware checksum offload Aisenur Yoldaş

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).