[dpdk-stable] [PATCH] net/qede: fix Tx tunnel offload notsup mask

Ferruh Yigit ferruh.yigit at intel.com
Tue Nov 13 13:01:37 CET 2018


On 11/12/2018 6:19 PM, Mody, Rasesh wrote:
> From: Shahed Shaikh <shahed.shaikh at cavium.com>
> 
> Tunneling offloads are represented by multi-bit values. So, feature
> wise tunneling offload can only be entirely supported/unsupported
> using PKT_TX_TUNNEL_MASK. Its upon PMDs to further isolate which of
> the tunneling offload types are supported by respective PMD.
> Using subset of bits from PKT_TX_TUNNEL_MASK to indicate supported vs
> unsupported offloads can lead to undesired result.
> 
> Use PKT_TX_TUNNEL_MASK in QEDE_TX_OFFLOAD_MASK and use independent
> value of supported PKT_TX_TUNNEL_* in .tx_pkt_prepare() to mark
> supported tunnel offloads.
> 
> Fixes: 44346c24b790 ("net/qede: fix VXLAN tunnel Tx offload flag setting")
> Cc: stable at dpdk.org
> 
> Suggested-by: Ferruh Yigit <ferruh.yigit at intel.com>
> Signed-off-by: Shahed Shaikh <shahed.shaikh at cavium.com>
> Reviewed-by: Rasesh Mody <rasesh.mody at cavium.com>

Applied to dpdk-next-net/master, thanks.


More information about the stable mailing list