[dpdk-dev] [PATCH] i40e: fix wrong copy-paste which led to one bit missing from I40E_INSET_FLEX_PAYLOAD mask
Andrey Chilikin
andrey.chilikin at intel.com
Wed Dec 2 16:52:13 CET 2015
Fix wrong copy-paste which led to one bit missing from I40E_INSET_FLEX_PAYLOAD mask
Signed-off-by: Andrey Chilikin <andrey.chilikin at intel.com>
---
drivers/net/i40e/i40e_ethdev.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index 5cd6e88..7e03a1f 100644
--- a/drivers/net/i40e/i40e_ethdev.c
+++ b/drivers/net/i40e/i40e_ethdev.c
@@ -194,7 +194,7 @@
#define I40E_INSET_FLEX_PAYLOAD_W8 0x8000000000000000ULL
#define I40E_INSET_FLEX_PAYLOAD \
(I40E_INSET_FLEX_PAYLOAD_W1 | I40E_INSET_FLEX_PAYLOAD_W2 | \
- I40E_INSET_FLEX_PAYLOAD_W3 | I40E_INSET_FLEX_PAYLOAD_W3 | \
+ I40E_INSET_FLEX_PAYLOAD_W3 | I40E_INSET_FLEX_PAYLOAD_W4 | \
I40E_INSET_FLEX_PAYLOAD_W5 | I40E_INSET_FLEX_PAYLOAD_W6 | \
I40E_INSET_FLEX_PAYLOAD_W7 | I40E_INSET_FLEX_PAYLOAD_W8)
--
1.7.4.1
More information about the dev
mailing list