[dpdk-dev] [PATCH v7] net/i40e: enable MAC address as FDIR input set

2020-04-02 Thread Lunyuan Cui
t set with MAC address. Signed-off-by: Lunyuan Cui --- v7: - Change commit message and error info v6: - Change commit message v5: - Change error info v4: - Enable MAC address as FDIR's input set for ipv4-udp and ipv4-tcp v3: - Enable MAC address as FDIR's input set v2: - Enable src

[dpdk-dev] [PATCH v6] net/i40e: enable MAC address as FDIR input set

2020-04-01 Thread Lunyuan Cui
input set with MAC address. Signed-off-by: Lunyuan Cui --- v6: - Change commit message v5: - Change error info v4: - Enable MAC address as FDIR's input set for ipv4-udp and ipv4-tcp v3: - Enable MAC address as FDIR's input set v2: - Enable src MAC address as FDIR's input

[dpdk-dev] [PATCH v5] net/i40e: enable MAC address as FDIR input set

2020-04-01 Thread Lunyuan Cui
h MAC address. Signed-off-by: Lunyuan Cui --- v5: - Change error info v4: - Enable MAC address as FDIR's input set for ipv4-udp and ipv4-tcp v3: - Enable MAC address as FDIR's input set v2: - Enable src MAC address as FDIR's input set --- doc/guides/rel_notes/release_20_05.r

[dpdk-dev] [PATCH v4] net/i40e: enable MAC address as FDIR input set

2020-04-01 Thread Lunyuan Cui
h MAC address. Signed-off-by: Lunyuan Cui --- v4: - Enable MAC address as FDIR's input set for ipv4-udp and ipv4-tcp v3: - Enable MAC address as FDIR's input set v2: - Enable src MAC address as FDIR's input set --- doc/guides/rel_notes/release_20_05.rst | 6 ++ drivers/ne

[dpdk-dev] [PATCH v2] net/iavf: enable port reset

2020-04-01 Thread Lunyuan Cui
This patch is intended to add iavf_dev_reset ops, enable iavf to support "port reset all". Signed-off-by: Lunyuan Cui Acked-by: Jingjing Wu --- drivers/net/iavf/iavf_ethdev.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/net/iavf/iavf_ethdev.c b/d

[dpdk-dev] [PATCH v3] net/i40e: enable MAC address as FDIR input set

2020-03-30 Thread Lunyuan Cui
ff-by: Lunyuan Cui --- v3: - Enable MAC address as FDIR's input set v2: - Enable src MAC address as FDIR's input set --- doc/guides/rel_notes/release_20_05.rst | 6 +++ drivers/net/i40e/i40e_ethdev.c | 1 + drivers/net/i40e/i40e_ethdev.h | 9 +++- drivers/net/i

[dpdk-dev] [PATCH] net/iavf: enable port reset

2020-03-24 Thread Lunyuan Cui
This patch is intended to add iavf_dev_reset ops, enable iavf to support "port reset all". Signed-off-by: Lunyuan Cui --- drivers/net/iavf/iavf_ethdev.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/drivers/net/iavf/iavf_ethdev.c b/drivers/net/iavf/iavf_ethd

[dpdk-dev] [PATCH v2] net/i40e: enable MAC address as FDIR input set

2020-03-17 Thread Lunyuan Cui
ed up. And FVL FDIR supports to change input set as both two ways. Signed-off-by: Lunyuan Cui --- v2: - Enable src MAC address as FDIR's input set --- doc/guides/rel_notes/release_20_05.rst | 7 +++ drivers/net/i40e/i40e_ethdev.c | 1 + drivers/net/i40e/i40e_ethdev.h | 18 ++

[dpdk-dev] [PATCH] net/i40e: enable dst MAC address as FDIR input set

2020-03-15 Thread Lunyuan Cui
FVL enable Destination MAC address as FDIR's input set for ipv4-other. When OVS-DPDK is working as a pure L2 switch, destination MAC match offload with Mark+RSS action would help the performance speed up. And FVL FDir supports to change input set to be destination MAC. Signed-off-by: Lunyua

[dpdk-dev] [PATCH] net/i40e: enable dst MAC address as FDIR input set

2020-02-27 Thread Lunyuan Cui
PCTYPE_NONF_IPV6_OTHER PCTYPE_FRAG_IPV6 PCTYPE_L2_PAYLOAD Signed-off-by: Lunyuan Cui --- drivers/net/i40e/i40e_ethdev.c | 92 +++--- drivers/net/i40e/i40e_ethdev.h | 10 +- drivers/net/i40e/i40e_fdir.c | 8 +- drivers/net/i40e/i40e_flow.c | 213 + 4 files changed

[dpdk-dev] [PATCH v4] net/i40e: fix multi-queue Rx interrupt for VF

2020-01-17 Thread Lunyuan Cui
interrupt for VF) Signed-off-by: Lunyuan Cui --- v4: - Change commit message v3: - Change commit message v2: - Change commit message --- drivers/net/i40e/i40e_ethdev_vf.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/net/i40e/i40e_ethdev_vf.c b/drivers/net/i40e

[dpdk-dev] [PATCH v3] net/i40e: fix multi-queue Rx interrupt for VF

2020-01-13 Thread Lunyuan Cui
It can effectively prevent vector id out of range. Fixes: 5b8d2d89dd99 (net/i40e: enable multi-queue Rx interrupt for VF) Signed-off-by: Lunyuan Cui --- v3: - Change commit message v2: - Change commit message --- drivers/net/i40e/i40e_ethdev_vf.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-)

[dpdk-dev] [PATCH v2] net/i40e: fixed multi-queue Rx interrupt for VF

2020-01-13 Thread Lunyuan Cui
_efd when we keep vector value less than vector number. This patch fixed this issue. Signed-off-by: Lunyuan Cui --- v2: - Change commit message --- drivers/net/i40e/i40e_ethdev_vf.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/net/i40e/i40e_ethdev_vf.c b/driv

[dpdk-dev] [PATCH] net/i40e: fixed multi-queue Rx interrupt for VF

2020-01-10 Thread Lunyuan Cui
The value of vectors bound to each queue could not large than the max usable vector. It will let devices start failed. This patch fixed this issue. Fixes: 5b8d2d89dd99 (net/i40e: enable multi-queue Rx interrupt for VF) Signed-off-by: Lunyuan Cui --- drivers/net/i40e/i40e_ethdev_vf.c | 6

[dpdk-dev] [PATCH] net/i40e: add warning log for VF multi-queue Rx interrupt

2020-01-08 Thread Lunyuan Cui
Count of queues per port is over the max usable vector, it will cause missing packets. This patch is in order to add suggestive logs. Signed-off-by: Lunyuan Cui --- drivers/net/i40e/i40e_ethdev_vf.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/net/i40e

[dpdk-dev] [PATCH] net/ixgbe: fix ixgbevf link status

2019-12-16 Thread Lunyuan Cui
The link status for ixgbevf is not correct when PF link up. IXGBE_ESDP register is only used when media type is fiber. Fixes: 1ca05831b9be ("net/ixgbe: fix link status") Cc: sta...@dpdk.org Signed-off-by: Lunyuan Cui --- drivers/net/ixgbe/ixgbe_ethdev.c | 8 +--- 1 file

[dpdk-dev] [PATCH v3] net/ixgbe: fix port can not link up in FreeBSD

2019-12-15 Thread Lunyuan Cui
tests, 5s should be enough. Fixes: b9bd0f09fa15 ("ethdev: fix link status query") Cc: sta...@dpdk.org Signed-off-by: Lunyuan Cui --- v3 changes: * Hide ifdef inside the function v2 changes: * Put waiting into a separate function to keep start() code clean. --- drivers/net/ixgbe/ixgb

[dpdk-dev] [PATCH v2] net/ixgbe: fixed port can not link up in FreeBSD

2019-12-12 Thread Lunyuan Cui
tests, 5s should be enough. Fixes: b9bd0f09fa15 ("ethdev: fix link status query") Cc: sta...@dpdk.org Signed-off-by: Lunyuan Cui --- v2 changes: * Put waiting into a separate function to keep start() code clean. --- drivers/net/ixgbe/ixgbe_ethdev.c | 32 +++

[dpdk-dev] [PATCH] net/ixgbe: fixed port can not link up in FreeBSD

2019-12-11 Thread Lunyuan Cui
tests, 5s should be enough. Fixes: b9bd0f09fa15 ("ethdev: fix link status query") Cc: sta...@dpdk.org Signed-off-by: Lunyuan Cui --- drivers/net/ixgbe/ixgbe_ethdev.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers

[dpdk-dev] [PATCH] net/ixgbe: fixed port can not link up in FreeBSD

2019-12-10 Thread Lunyuan Cui
tests, 5s should be enough. Fixes: b9bd0f09fa15 ("ethdev: fix link status query") Cc: sta...@dpdk.org Signed-off-by: Lunyuan Cui --- drivers/net/ixgbe/ixgbe_ethdev.c | 24 1 file changed, 24 insertions(+) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers

[dpdk-dev] [PATCH] net/i40e: enable multi-queue Rx interrupt for VF

2019-12-02 Thread Lunyuan Cui
set up a loop of interrupt vectors map. Signed-off-by: Lunyuan Cui --- drivers/net/i40e/i40e_ethdev_vf.c | 27 +-- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/drivers/net/i40e/i40e_ethdev_vf.c b/drivers/net/i40e/i40e_ethdev_vf.c index 5dba0928b

[dpdk-dev] [PATCH v4] net/e1000: fix link status update

2019-11-19 Thread Lunyuan Cui
;) Cc: sta...@dpdk.org Signed-off-by: Lunyuan Cui --- v4: * modifier commit log v3: * Change the variable from link_check to link_up. v2 * Delete incorrect judgment --- drivers/net/e1000/em_ethdev.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers

[dpdk-dev] [PATCH v4] net/ixgbe: fix link status

2019-11-17 Thread Lunyuan Cui
before port starts, set hw->mac.autotry_restart false when port init. Fixes: 0408f47ba4d6 ("net/ixgbe: fix busy polling while fiber link update") Cc: sta...@dpdk.org Signed-off-by: Lunyuan Cui --- v4: * modifier commit log Describe the problem in more detail. v3:

[dpdk-dev] [PATCH v3] net/e1000: fix link status update

2019-11-17 Thread Lunyuan Cui
rg Signed-off-by: Lunyuan Cui --- v3: * Change the variable from link_check to link_up. v2 * Delete incorrect judgment --- drivers/net/e1000/em_ethdev.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/net/e1000/em_ethdev.c b/drivers/net/e1000/em_ethd

[dpdk-dev] [PATCH v3] net/ixgbe: fix link status

2019-11-17 Thread Lunyuan Cui
. Fixes: 0408f47ba4d6 ("net/ixgbe: fix busy polling while fiber link update") Cc: sta...@dpdk.org Signed-off-by: Lunyuan Cui --- v3: * Correct countermeasure Don't delete ixgbe_dev_setup_link_alarm_handler(). v2: * Change commit log Add a l

[dpdk-dev] [PATCH v2] net/e1000: fix link status update

2019-11-14 Thread Lunyuan Cui
Unassigned variable should not be used as judgment, and there is no need to update link status according to old link status. This patch fix the issue. Fixes: 80ba61115e77 ("net/e1000: use link status helper functions") Cc: sta...@dpdk.org Signed-off-by: Lunyuan Cui --- drivers