DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] DPDK 18.11 HW checksum support for X722 NIC?
@ 2020-07-03 13:49 David Aldrich
  0 siblings, 0 replies; only message in thread
From: David Aldrich @ 2020-07-03 13:49 UTC (permalink / raw)
  To: users

I am running dpdk-stable-18.11.8 on Centos 7, targeting an Intel X722 NIC.

I want ipv4 and udp header checksums to be calculated by hardware, so I set
the device configuration to:

struct rte_eth_conf local_port_conf;
memset(&local_port_conf, 0, sizeof(struct rte_eth_conf));
local_port_conf.rxmode.split_hdr_size = 0;
local_port_conf.txmode.mq_mode = ETH_MQ_TX_NONE;
local_port_conf.txmode.offloads  = DEV_TX_OFFLOAD_OUTER_UDP_CKSUM |
DEV_TX_OFFLOAD_OUTER_IPV4_CKSUM;
rte_eth_dev_configure(0,1,1,&local_port_conf);

rte_eth_dev_configure returns: 0xffffffea (-22)

Does this mean that DPDK 18.11 doesn't support checksum offload to the X722
NIC?

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

only message in thread, other threads:[~2020-07-03 13:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-03 13:49 [dpdk-users] DPDK 18.11 HW checksum support for X722 NIC? David Aldrich

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).