[dpdk-dev,1/3] librte_ether:add outer IP offload capability flag
Commit Message
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(-)
@@ -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. */