When verifying the Hash filtering on X722, we found a problem that
the hash value in descriptor is incorrect. The root caused is X722
uses different way of hash key word selection comparing with X710/XL710.
This patch fixes it by setting X722 specific key selection.
Signed-off-by: Jeff Guo
When verifying the Hash filtering on X722, we found a problem that
the hash value in descriptor is incorrect. The root caused is X722
uses different way of hash key word selection comparing with X710/XL710.
This patch fixes it by setting X722 specific key selection.
Signed-off-by: Jeff Guo
-off-by: Jeff Guo
---
v2:
refine commit log
decrease some code duplication
---
drivers/net/i40e/i40e_ethdev.c| 103 +-
drivers/net/i40e/i40e_ethdev.h| 32 +++-
drivers/net/i40e/i40e_ethdev_vf.c | 16 --
drivers/net/i40e/i40e_fdir.c
As X722 extracts IPv4 header to Field Vector different with XL710/X710,
need to corresponding to modify the fields of IPv4 header in input set
to map different default Field Vector Table of different NICs.
Signed-off-by: Jeff Guo
---
v3:
remove the x722 macro
v2:
fix compile error when x722
The correct way to distinguish the behavior of X722 and X710
or other NICs should be using the mac type but not X722 macro.
Fixes: 8c5cb3c11513 (?net/i40e: add packet type translation for X722?)
Signed-off-by: Jeff Guo
---
drivers/net/i40e/i40e_ethdev.c| 103
As X722 extracts IPv4 header to Field Vector different with XL710/X710,
need to corresponding to modify the fields of IPv4 header in input set
to map different default Field Vector Table of different NICs.
Signed-off-by: Jeff Guo
---
v2:
fix compile error when x722 macro is not defined
ot;)
Fixes: a0454b5d2e08 (?i40e: update device ids?)
Fixes: 647d1eaf758b (?i40evf: support AQ based RSS config?)
Fixes: 3058891a2b02 (?net/i40e: move PCI device ids to the driver?)
Fixes: d9efd0136ac1 (?i40e: add EEPROM and registers dumping?)
Signed-off-by: Jeff Guo
---
v2:
fix compile error when
As X722 extracts IPv4 header to Field Vector different with XL710/X710,
need to corresponding to modify the fields of IPv4 header in input set
to map different default Field Vector Table of different NICs.
Signed-off-by: Jeff Guo
---
v2:
fix compile error when x722 macro is not defined
ot;)
Fixes: a0454b5d2e08 (?i40e: update device ids?)
Fixes: 647d1eaf758b (?i40evf: support AQ based RSS config?)
Fixes: 3058891a2b02 (?net/i40e: move PCI device ids to the driver?)
Fixes: d9efd0136ac1 (?i40e: add EEPROM and registers dumping?)
Signed-off-by: Jeff Guo
---
v2:
fix compile error when
In device x722, before the FD filter is programmed, the PCTYPE in
the FD programming descriptor need to use GLQF_FD_PCTYPE
table to translate into Second PCTYPE, that will let new PCTYPE
compatible with original PCTYPE in FD filter.
Signed-off-by: Jeff Guo
---
drivers/net/i40e/i40e_ethdev.c
There are 6 new PCTYPEs enabled in the device x722.
The 6 new PCTYPEs As bellow:
NonF Unicast IPv4, UDP
NonF Multicast IPv4, UDP
NonF IPv4, TCP, SYN, no ACK
NonF Unicast IPv6, UDP
NonF Multicast IPv6, UDP
Signed-off-by: Jeff Guo
---
drivers/net/i40e/i40e_ethdev.c | 188
Before the filter is programmed, the PCTYPE in
the FD programming descriptor need to use
GLQF_FD_PCTYPE table to translate into Second PCTYPE.
Signed-off-by: Jeff Guo
---
drivers/net/i40e/i40e_ethdev.c | 11 +++
drivers/net/i40e/i40e_fdir.c | 17 +
2 files changed, 28
IPv6, UDP
Signed-off-by: Jeff Guo
---
drivers/net/i40e/i40e_ethdev.c | 188 +
drivers/net/i40e/i40e_ethdev.h | 45 ++
2 files changed, 233 insertions(+)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index d0aeb70
When use i40e linux kernel driver as host driver and DPDK handler the i40e
VF, the promiscuous mode doesn't work in i40e VF. It is not supported by
DPDK i40e VF driver right now.
Signed-off-by: Jeff Guo
---
v2->v3:
- Title underline align and refine some description
doc/guides/rel_no
When use i40e linux kernel driver as host driver and DPDK handler
the i40e VF, the promiscuous mode doesn't work in i40e VF. It is
not supported by DPDK i40e VF driver right now.
Signed-off-by: Jeff Guo
---
v1->v2:
- add singned-off and modify some format
doc/guides/rel_notes/known_issues.
Since an issue has broken out the problem that even the i40e linux kernel driver
do not support the promiscuous mode in i40e VF when use i40e linux kernel driver
as host driver, the testpmd app still show the mode configure status to be
enabled.
In order to reflect the real status of the i40e
When use i40e linux kernel driver as host driver and DPDK handler the i40e VF,
the promiscuous mode doesn't work in i40e VF. It is not supported by DPDK i40e
VF driver right now.
---
doc/guides/rel_notes/known_issues.rst | 22 ++
1 file changed, 22 insertions(+)
diff --git
17 matches
Mail list logo