[dpdk-dev] i40e: fix wrong copy-paste which led to one bit missing from I40E_INSET_FLEX_PAYLOAD mask
Commit Message
Fix wrong copy-paste which led to one bit missing from I40E_INSET_FLEX_PAYLOAD mask
Signed-off-by: Andrey Chilikin <andrey.chilikin@intel.com>
---
drivers/net/i40e/i40e_ethdev.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Comments
2015-12-02 15:52, Andrey Chilikin:
> Fix wrong copy-paste which led to one bit missing from I40E_INSET_FLEX_PAYLOAD mask
>
> Signed-off-by: Andrey Chilikin <andrey.chilikin@intel.com>
Applied, thanks
> -----Original Message-----
> From: Chilikin, Andrey
> Sent: Wednesday, December 2, 2015 11:52 PM
> To: dev@dpdk.org
> Cc: Zhang, Helin; Wu, Jingjing; Chilikin, Andrey
> Subject: [PATCH] i40e: fix wrong copy-paste which led to one bit missing
> from I40E_INSET_FLEX_PAYLOAD mask
>
> Fix wrong copy-paste which led to one bit missing from
> I40E_INSET_FLEX_PAYLOAD mask
>
> Signed-off-by: Andrey Chilikin <andrey.chilikin@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
Though applied, I'd like to ack it here, and thanks to Andrey's good catch!
@@ -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)