[dpdk-dev] [PATCH v4] net/i40e: fix hash filter invalid issue in X722

2016-10-24 Thread 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

[dpdk-dev] [PATCH v4] net/i40e: fix the hash filter invalid calculation in X722

2016-10-24 Thread 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

[dpdk-dev] [PATCH v2] net/i40e: fix fdir configure failed issue in X710

2016-10-24 Thread 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

[dpdk-dev] [PATCH] net/i40e: fix the hash filter invalid calculation in X722

2016-10-19 Thread Jeff Guo
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

[dpdk-dev] [PATCH] net/i40e: fix fdir configure failed issue in X710

2016-10-19 Thread Jeff Guo
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

[dpdk-dev] [PATCH v2 2/2] drivers/i40e: fix the hash filter invalid calculation in X722

2016-10-15 Thread Jeff Guo
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

[dpdk-dev] [PATCH v2 1/2] drivers/i40e: fix X722 macro absence result in compile

2016-10-15 Thread Jeff Guo
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

[dpdk-dev] [PATCH v2 2/2] drivers/i40e: fix the hash filter invalid calculation in X722

2016-10-15 Thread Jeff Guo
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

[dpdk-dev] [PATCH v2 1/2] drivers/i40e: fix X722 macro absence result in compile

2016-10-15 Thread Jeff Guo
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

[dpdk-dev] [PATCH v2 2/2] drivers/i40e: Add FD PCTYPE translation for device x722

2016-09-07 Thread Jeff Guo
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

[dpdk-dev] [PATCH v2 1/2] drivers/i40e: Add new PCTYPEs for device x722

2016-09-07 Thread Jeff Guo
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

[dpdk-dev] [PATCH] drivers/i40e: Add FD PCTYPE translation for x722

2016-08-26 Thread Jeff Guo
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

[dpdk-dev] [PATCH] drivers/i40e: Add new PCTYPE for x722 hardware driver

2016-08-26 Thread Jeff Guo
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

[dpdk-dev] [PATCH v3] doc: add known issue about promiscuous mode for I40e VF

2016-07-26 Thread Jeff Guo
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

[dpdk-dev] [PATCH v2] doc: add known issue about promiscuous mode for I40e VF

2016-07-25 Thread Jeff Guo
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.

[dpdk-dev] [PATCH] doc: add a deprecation about the modification of the return type of promiscuous configure ops in i40e eth_dev_ops

2016-07-25 Thread Jeff Guo
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

[dpdk-dev] [PATCH] doc: add known issue about promiscuous mode for I40e VF

2016-07-25 Thread Jeff Guo
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