From: Jijiang Liu <jijiang.liu@intel.com>
To: dev@dpdk.org
Subject: [dpdk-dev] [PATCH 1/3] librte_ether:add outer IP offload capability flag
Date: Sun, 7 Dec 2014 19:36:02 +0800 [thread overview]
Message-ID: <1417952164-12626-2-git-send-email-jijiang.liu@intel.com> (raw)
In-Reply-To: <1417952164-12626-1-git-send-email-jijiang.liu@intel.com>
If the flag is set in a PMD, which means the NIC(s) support TX checksum offload of tunneling packet.
Signed-off-by: Jijiang Liu <jijiang.liu@intel.com>
---
lib/librte_ether/rte_ethdev.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h
index f66805d..bae59c3 100644
--- a/lib/librte_ether/rte_ethdev.h
+++ b/lib/librte_ether/rte_ethdev.h
@@ -916,6 +916,7 @@ struct rte_eth_conf {
#define DEV_TX_OFFLOAD_SCTP_CKSUM 0x00000010
#define DEV_TX_OFFLOAD_TCP_TSO 0x00000020
#define DEV_TX_OFFLOAD_UDP_TSO 0x00000040
+#define DEV_TX_OFFLOAD_OUTER_IPV4_CKSUM 0x00000080 /**< Used for tunneling packet. */
struct rte_eth_dev_info {
struct rte_pci_device *pci_dev; /**< Device PCI information. */
--
1.7.7.6
next prev parent reply other threads:[~2014-12-07 11:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-07 11:36 [dpdk-dev] [PATCH 0/3] enhance TX checksum command and csum forwarding engine Jijiang Liu
2014-12-07 11:36 ` Jijiang Liu [this message]
2014-12-07 11:36 ` [dpdk-dev] [PATCH 2/3] i40e:support outer IPv4 checksum capability Jijiang Liu
2014-12-07 11:36 ` [dpdk-dev] [PATCH 3/3] test-pmd:change tx_checksum command and csum forwarding engine Jijiang Liu
2014-12-08 11:44 ` Ananyev, Konstantin
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=1417952164-12626-2-git-send-email-jijiang.liu@intel.com \
--to=jijiang.liu@intel.com \
--cc=dev@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).