net/i40e: revert fix offload not supported mask
authorDidier Pallard <didier.pallard@6wind.com>
Tue, 11 Dec 2018 17:25:01 +0000 (18:25 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 13 Dec 2018 18:17:42 +0000 (18:17 +0000)
commite51da4bbaf3584e16cbd0ea0b1b85343b777134f
tree954f05a03bf4e71e4f1996a952b142d4e8fe56c9
parent57f9a9fc3c54aaae838698d846fb124836900c7a
net/i40e: revert fix offload not supported mask

This reverts
commit 09a62d75691f ("net/i40e: fix offload not supported mask")

Contrary to what is said in above patch commit log,
I40E_TX_OFFLOAD_NOTSUP_MASK is the mask of Tx offload bits that are part
of PKT_TX_OFFLOAD_MASK but not included in I40E_TX_OFFLOAD_MASK.
Above patch erroneously includes all PKT_RX_OFFLOAD_ bits in the
I40E_TX_OFFLOAD_NOTSUP_MASK, this is not what is expected.
Restore the initial xor that gives the expected result.

Fixes: 09a62d75691f ("net/i40e: fix offload not supported mask")
Cc: stable@dpdk.org
Signed-off-by: Didier Pallard <didier.pallard@6wind.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/i40e/i40e_rxtx.c