DPDK usage discussions
 help / color / mirror / Atom feed
From: David Aldrich <david.aldrich.ntml@gmail.com>
To: users <users@dpdk.org>
Subject: [dpdk-users] DPDK 18.11 HW checksum support for X722 NIC?
Date: Fri, 3 Jul 2020 14:49:58 +0100	[thread overview]
Message-ID: <CAJK_iegGpBvtqp=N+p=e0wfuC3kCtPx7RY-8VGWWBJ0==E5UAg@mail.gmail.com> (raw)

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?

                 reply	other threads:[~2020-07-03 13:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJK_iegGpBvtqp=N+p=e0wfuC3kCtPx7RY-8VGWWBJ0==E5UAg@mail.gmail.com' \
    --to=david.aldrich.ntml@gmail.com \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).