Hi Jerin, > -----Original Message----- > From: Jerin Jacob [mailto:[email protected]] > Sent: Tuesday, October 2, 2018 8:25 PM > To: Lu, Wenzhuo <[email protected]>; Wu, Jingjing > <[email protected]>; Iremonger, Bernard <[email protected]>; > Mcnamara, John <[email protected]>; Kovacevic, Marko > <[email protected]>; Thomas Monjalon <[email protected]>; > Yigit, Ferruh <[email protected]>; Andrew Rybchenko > <[email protected]>; Olivier Matz <[email protected]> > Cc: [email protected]; [email protected]; Jerin Jacob > <[email protected]> > Subject: [dpdk-dev] [PATCH v2 2/4] ethdev: add Tx offload outer UDP checksum > definition > > Introduced DEV_TX_OFFLOAD_OUTER_UDP_CKSUM offload flags and > PKT_TX_OUTER_TCP_CKSUM mbuf ol_flags to enable Tx outer UDP checksum > offload. > > To use hardware Tx outer UDP checksum offload, the user needs to, > > - enable following in mbuff: > a) fill outer_l2_len and outer_l3_len in mbuf > b) set the PKT_TX_OUTER_UDP_CKSUM flag > c) set the flag PKT_TX_OUTER_IPV4 or PKT_TX_OUTER_IPV6 > > - configure DEV_TX_OFFLOAD_OUTER_UDP_CKSUM offload flags in slow path > > Signed-off-by: Jerin Jacob <[email protected]> > --- > > v2: > - Removed DEV_TX_OFFLOAD_OUTER_TCP_CKSUM and > DEV_TX_OFFLOAD_OUTER_SCTP_CKSUM as there is no realworld use case for > it. > See: http://patches.dpdk.org/patch/44692/ > > This patch series is depended on http://patches.dpdk.org/patch/45840/ > > --- > app/test-pmd/config.c | 10 ++++++++++ > doc/guides/nics/features.rst | 6 ++++++ > lib/librte_ethdev/rte_ethdev.c | 1 + > lib/librte_ethdev/rte_ethdev.h | 2 ++ > lib/librte_mbuf/rte_mbuf.c | 1 + > lib/librte_mbuf/rte_mbuf.h | 6 +++++- > 6 files changed, 25 insertions(+), 1 deletion(-) > <snip> This patch fails to apply to the latest master branch, a rebase may be needed.
Regards, Bernard.

