* [dpdk-dev] [PATCH v3] net/avf: update Tx offload mask
@ 2018-11-16 15:25 Zhirun Yan
2018-11-16 15:30 ` Ferruh Yigit
0 siblings, 1 reply; 2+ messages in thread
From: Zhirun Yan @ 2018-11-16 15:25 UTC (permalink / raw)
To: dev; +Cc: qi.z.zhang, Zhirun Yan
Tx offload mask is updated in following commit 1037ed842c37
("mbuf: fix Tx offload mask"). Currently, the new added offload
flags are not supported in PMD and application will fail to call
PMD transmit prepare function.
This patch updates AVF_TX_OFFFLOAD_MASK.
Fixes: 1037ed842c37 ("mbuf: fix Tx offload mask")
Signed-off-by: Zhirun Yan <zhirun.yan@intel.com>
---
drivers/net/avf/avf_rxtx.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/net/avf/avf_rxtx.h b/drivers/net/avf/avf_rxtx.h
index 898d2f387..ffc835d44 100644
--- a/drivers/net/avf/avf_rxtx.h
+++ b/drivers/net/avf/avf_rxtx.h
@@ -43,6 +43,10 @@
PKT_TX_TCP_SEG)
#define AVF_TX_OFFLOAD_MASK ( \
+ PKT_TX_OUTER_IPV6 | \
+ PKT_TX_OUTER_IPV4 | \
+ PKT_TX_IPV6 | \
+ PKT_TX_IPV4 | \
PKT_TX_VLAN_PKT | \
PKT_TX_IP_CKSUM | \
PKT_TX_L4_MASK | \
--
2.17.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-dev] [PATCH v3] net/avf: update Tx offload mask
2018-11-16 15:25 [dpdk-dev] [PATCH v3] net/avf: update Tx offload mask Zhirun Yan
@ 2018-11-16 15:30 ` Ferruh Yigit
0 siblings, 0 replies; 2+ messages in thread
From: Ferruh Yigit @ 2018-11-16 15:30 UTC (permalink / raw)
To: Zhirun Yan, dev; +Cc: qi.z.zhang
On 11/16/2018 3:25 PM, Zhirun Yan wrote:
> Tx offload mask is updated in following commit 1037ed842c37
> ("mbuf: fix Tx offload mask"). Currently, the new added offload
> flags are not supported in PMD and application will fail to call
> PMD transmit prepare function.
>
> This patch updates AVF_TX_OFFFLOAD_MASK.
>
> Fixes: 1037ed842c37 ("mbuf: fix Tx offload mask")
>
> Signed-off-by: Zhirun Yan <zhirun.yan@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
Applied to dpdk-next-net/master, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-11-16 15:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-16 15:25 [dpdk-dev] [PATCH v3] net/avf: update Tx offload mask Zhirun Yan
2018-11-16 15:30 ` Ferruh Yigit
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).