[PATCH v3] net/ice: add devargs for disabling default mac

2023-01-12 Thread Ke Zhang
From: "ke1x.zhang" Add the feature that support to disable default mac which will be used by ice driver when setting dpdk_devargs config field. Default mac is not disabled in default, user can choose to disable the default mac by setting ``devargs`` parameter ``default-mac-disable``, for exampl

[PATCH v2] net/i40e: support enabling/disabling source pruning

2023-01-30 Thread Ke Zhang
VRRP advertisement packets are dropped on i40e PF devices because when a MAC address is added to a device, packets originating from that MAC address are dropped. This patch adds a PMD specific API to enable/disable source pruning to fix above issue. Bugzilla ID: 648 Signed-off-by: Ke Zhang

[PATCH v4] net/ice: add devargs for disabling default mac

2023-02-02 Thread Ke Zhang
-a 80:00.0,default-mac-disable=1 Signed-off-by: Ke Zhang --- v4: explain what's the typical usage with this feature in general v3: rename the feature name remove some unecessary codes. --- doc/guides/nics/ice.rst | 16 drivers/net/ice/ic

[PATCH v3] kni: fix warning about discarding const qualifier

2022-06-06 Thread Ke Zhang
@shredder/T/ Fixes: ea6b39b5b847 ("kni: remove ethtool support") Cc: sta...@dpdk.org Signed-off-by: Ke Zhang Signed-off-by: Andrew Rybchenko --- kernel/linux/kni/compat.h | 4 kernel/linux/kni/kni_misc.c | 6 +- kernel/linux/kni/kni_net.c | 5 - 3 files changed, 13 insert

[PATCH v2] app/testpmd: fix quit testpmd with vfs and pf

2022-06-21 Thread Ke Zhang
("app/testpmd: fix quit to stop all ports before close") Cc: sta...@dpdk.org Signed-off-by: Ke Zhang --- app/test-pmd/testpmd.c | 27 ++- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c index 04c39adc21..

[PATCH v2] app/testpmd: fix quit testpmd with vfs and pf

2022-06-21 Thread Ke Zhang
("app/testpmd: fix quit to stop all ports before close") Cc: sta...@dpdk.org Signed-off-by: Ke Zhang --- app/test-pmd/testpmd.c | 26 +- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c index 04c39adc21..

[DPDK 1/3] net/ice: display/reset VF stats on DCF representor

2022-01-27 Thread Ke Zhang
this feature need to update ice kernel driver (newer than v1.8.0_3) Signed-off-by: Ke Zhang --- drivers/net/ice/ice_dcf_vf_representor.c | 128 +++ 1 file changed, 128 insertions(+) diff --git a/drivers/net/ice/ice_dcf_vf_representor.c b/drivers/net/ice

[DPDK 2/3] net/ice: configure the VLAN filter for VFs on DCF representor

2022-01-27 Thread Ke Zhang
this feature need to update ice kernel driver (newer than v1.8.0_3) Signed-off-by: Ke Zhang --- drivers/net/ice/ice_dcf_vf_representor.c | 51 1 file changed, 51 insertions(+) diff --git a/drivers/net/ice/ice_dcf_vf_representor.c b/drivers/net/ice

[DPDK 3/3] net/ice: Add / Remove VF mac address on DCF representor

2022-01-27 Thread Ke Zhang
this feature need to update ice kernel driver (newer than v1.8.0_3) Signed-off-by: Ke Zhang --- drivers/net/ice/ice_dcf_ethdev.h | 1 + drivers/net/ice/ice_dcf_vf_representor.c | 81 +++- 2 files changed, 81 insertions(+), 1 deletion(-) diff --git a/drivers/net/ice

[PATCH] net/ice: Add / Remove VF mac address on DCF representor

2022-01-27 Thread Ke Zhang
this feature need to update ice kernel driver (newer than v1.8.0_3) Signed-off-by: Ke Zhang --- drivers/net/ice/ice_dcf_ethdev.h | 1 + drivers/net/ice/ice_dcf_vf_representor.c | 81 +++- 2 files changed, 81 insertions(+), 1 deletion(-) diff --git a/drivers/net/ice

[PATCH] net/ice: configure the VLAN filter for VFs on DCF representor

2022-01-27 Thread Ke Zhang
this feature need to update ice kernel driver (newer than v1.8.0_3) Signed-off-by: Ke Zhang --- drivers/net/ice/ice_dcf_vf_representor.c | 51 1 file changed, 51 insertions(+) diff --git a/drivers/net/ice/ice_dcf_vf_representor.c b/drivers/net/ice

[PATCH] net/ice: display/reset VF stats on DCF representor

2022-01-27 Thread Ke Zhang
this feature need to update ice kernel driver (newer than v1.8.0_3) Signed-off-by: Ke Zhang --- drivers/net/ice/ice_dcf_vf_representor.c | 128 +++ 1 file changed, 128 insertions(+) diff --git a/drivers/net/ice/ice_dcf_vf_representor.c b/drivers/net/ice

[PATCH v3] fix mbuf release function point corrupt in multi-process

2022-05-06 Thread Ke Zhang
In the multi process environment, the sub process operates on the shared memory and changes the function pointer of the main process, resulting in the failure to find the address of the function when main process releasing, resulting in crash. Signed-off-by: Ke Zhang --- drivers/net/iavf

[PATCH v3] fix mbuf release function point corrupt in multi-process

2022-05-08 Thread Ke Zhang
In the multi process environment, the sub process operates on the shared memory and changes the function pointer of the main process, resulting in the failure to find the address of the function when main process releasing, resulting in crash. Signed-off-by: Ke Zhang --- drivers/net/iavf

[PATCH v4] fix mbuf release function point corrupt in multi-process

2022-05-09 Thread Ke Zhang
In the multi process environment, the sub process operates on the shared memory and changes the function pointer of the main process, resulting in the failure to find the address of the function when main process releasing, resulting in crash. Signed-off-by: Ke Zhang --- drivers/net/iavf

[PATCH v5] fix mbuf release function point corrupt in multi-process

2022-05-11 Thread Ke Zhang
In the multiple process environment, the subprocess operates on the shared memory and changes the function pointer of the main process, resulting in the failure to find the address of the function when main process releasing, resulting in crash. Signed-off-by: Ke Zhang --- drivers/net/iavf

[PATCH v5] fix mbuf release function point corrupt in multi-process

2022-05-11 Thread Ke Zhang
In the multiple process environment, the subprocess operates on the shared memory and changes the function pointer of the main process, resulting in the failure to find the address of the function when main process releasing, resulting in crash. Signed-off-by: Ke Zhang --- drivers/net/iavf

[PATCH v5] fix mbuf release function point corrupt in multi-process

2022-05-12 Thread Ke Zhang
In the multiple process environment, the subprocess operates on the shared memory and changes the function pointer of the main process, resulting in the failure to find the address of the function when main process releasing, resulting in crash. Signed-off-by: Ke Zhang --- drivers/net/iavf

[PATCH v6] fix mbuf release function point corrupt in multi-process

2022-05-15 Thread Ke Zhang
In the multiple process environment, the subprocess operates on the shared memory and changes the function pointer of the main process, resulting in the failure to find the address of the function when main process releasing, resulting in crash. Signed-off-by: Ke Zhang --- drivers/net/iavf

[PATCH v6] fix mbuf release function point corrupt in multi-process

2022-05-16 Thread Ke Zhang
In the multiple process environment, the subprocess operates on the shared memory and changes the function pointer of the main process, resulting in the failure to find the address of the function when main process releasing, resulting in crash. Signed-off-by: Ke Zhang --- drivers/net/iavf

[PATCH v7] net/iavf: fix mbuf release function point corrupt in multi-process

2022-05-19 Thread Ke Zhang
Rx Tx") Cc: sta...@dpdk.org Signed-off-by: Ke Zhang --- drivers/net/iavf/iavf_rxtx.c| 36 - drivers/net/iavf/iavf_rxtx.h| 11 drivers/net/iavf/iavf_rxtx_vec_avx512.c | 8 ++ drivers/net/iavf/iavf_rxtx_vec_sse.c| 16 +++---

[PATCH] net/iavf: fix iavf crashed on dev_stop when running in multi-process mode

2022-05-19 Thread Ke Zhang
<20b631efe785819eb77aabbf500b3352e5731bdb> Signed-off-by: Ke Zhang --- drivers/net/iavf/iavf_rxtx.c| 27 ++--- drivers/net/iavf/iavf_rxtx.h| 6 +++--- drivers/net/iavf/iavf_rxtx_vec_avx512.c | 4 ++-- drivers/net/iavf/iavf_rxtx_vec_sse.c| 8 4 files chang

[PATCH v2] net/iavf: fix Rx queue interrupt setting

2022-05-19 Thread Ke Zhang
synchronizing with PF. Fixes: d6bde6b5eae9 ("net/avf: enable Rx interrupt") Cc: sta...@dpdk.org Signed-off-by: Ke Zhang --- drivers/net/iavf/iavf_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/iavf/iavf_ethdev.c b/drivers/net/iavf/iavf_ethdev.c index

[PATCH v2 0/1] fix Rx queue interrupt setting

2022-05-19 Thread Ke Zhang
v2: Add more explanation what's the issue and how we fix this issue in commit log. Ke Zhang (1): net/iavf: fix Rx queue interrupt setting drivers/net/iavf/iavf_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1

[PATCH v2 1/1] net/iavf: fix Rx queue interrupt setting

2022-05-19 Thread Ke Zhang
if only one descriptor is completed. Changing 1) to 2) to make sure VF send the packet to host even if there is only one rx packet is ready in hardware. Fixes: d6bde6b5eae9 ("net/avf: enable Rx interrupt") Cc: sta...@dpdk.org Signed-off-by: Ke Zhang --- drivers/net/iavf/iavf_ethdev.c

[PATCH v2] net/iavf: fix Rx queue interrupt setting

2022-05-19 Thread Ke Zhang
if only one descriptor is completed. Changing 1) to 2) to make sure VF send the packet to host even if there is only one rx packet is ready in hardware. Fixes: d6bde6b5eae9 ("net/avf: enable Rx interrupt") Cc: sta...@dpdk.org Signed-off-by: Ke Zhang --- v2: Add more explanation

[PATCH] examples/kni: clear warning about discarding const qualifier

2022-05-31 Thread Ke Zhang
The warning info: warning: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type Compulsory type conversion to clear compile warning. Signed-off-by: Ke Zhang --- kernel/linux/kni/kni_misc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a

[PATCH] examples/kni: clear warning about discarding const qualifier

2022-05-31 Thread Ke Zhang
The warning info: warning: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type Compulsory type conversion to clear compile warning. Signed-off-by: Ke Zhang --- kernel/linux/kni/kni_misc.c | 4 ++-- kernel/linux/kni/kni_net.c | 2 +- 2 files changed, 3 insertions

[PATCH v2] examples/kni: clear warning about discarding const qualifier

2022-05-31 Thread Ke Zhang
b5b847 ("kni: remove ethtool support") Cc: sta...@dpdk.org Signed-off-by: Ke Zhang --- kernel/linux/kni/kni_misc.c | 4 ++-- kernel/linux/kni/kni_net.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/linux/kni/kni_misc.c b/kernel/linux/kni/kni_misc.c index 78018

[PATCH v2] examples/kni: clear warning about discarding const qualifier

2022-05-31 Thread Ke Zhang
b5b847 ("kni: remove ethtool support") Cc: sta...@dpdk.org Signed-off-by: Ke Zhang --- kernel/linux/kni/kni_misc.c | 4 ++-- kernel/linux/kni/kni_net.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/linux/kni/kni_misc.c b/kernel/linux/kni/kni_misc.c index 78018

[PATCH] net/ice: fix ice dcf contrl thread crash

2023-02-08 Thread Ke Zhang
The control thread accesses the hardware resources after the resources were released, resulting in a segment error. This commit fixes the bug by exiting thread before resource released. Signed-off-by: Ke Zhang --- drivers/net/ice/ice_dcf.c | 4 1 file changed, 4 insertions(+) diff --git

[PATCH v2] net/ice: fix ice dcf contrl thread crash

2023-02-12 Thread Ke Zhang
The control thread accesses the hardware resources after the resources were released, resulting in a segment error. This commit fixes the bug by exiting thread before resource released. Signed-off-by: Ke Zhang --- v2: add pthread_exit() for windows --- drivers/net/ice/ice_dcf.c | 4

[PATCH v2] net/ice: fix ice dcf contrl thread crash

2023-02-12 Thread Ke Zhang
The control thread accesses the hardware resources after the resources were released, resulting in a segment error. This commit fixes the bug by exiting thread before resource released. Signed-off-by: Ke Zhang --- v2: add pthread_exit() for windows --- drivers/net/ice/ice_dcf.c | 4

[PATCH v2] net/ice: fix ice dcf control thread crash

2023-02-12 Thread Ke Zhang
The control thread accesses the hardware resources after the resources were released, resulting in a segment error. This commit fixes the bug by exiting thread before resource released. Signed-off-by: Ke Zhang --- v2: add pthread_exit() for windows --- drivers/net/ice/ice_dcf.c | 4

[PATCH] net/ice: add devargs for disabling mac filter

2022-11-24 Thread Ke Zhang
From: "ke1x.zhang" This patch adds support to disable mac filter which will be used by ice driver when setting dpdk_devargs config field in the TRex config file. Mac filter is not disabled in default. Signed-off-by: ke1x.zhang --- drivers/net/ice/ice_ethdev.c | 13 + drivers

[PATCH v2] net/ice: add devargs for disabling mac filter

2022-12-20 Thread Ke Zhang
From: "ke1x.zhang" This patch adds support to disable mac filter which will be used by ice driver when setting dpdk_devargs config field in the TRex config file. Mac filter is not disabled in default. Signed-off-by: ke1x.zhang --- doc/guides/nics/ice.rst| 11 +++ drivers/n

[PATCH] net/i40e: disable source pruning

2023-01-08 Thread Ke Zhang
-by: Ke Zhang --- app/test-pmd/cmdline.c | 77 ++ drivers/net/i40e/i40e_ethdev.c | 53 +++ lib/ethdev/ethdev_driver.h | 6 +++ lib/ethdev/rte_ethdev.c| 16 +++ lib/ethdev/rte_ethdev.h| 15 +++ 5 files changed

[PATCH v3] app/testpmd: fix quit testpmd with vfs and pf

2022-07-13 Thread Ke Zhang
ocess shared data") Cc: sta...@dpdk.org Signed-off-by: Ke Zhang --- v3: Change the design and fix code in driver v2: Change the testpmd code to fix this issue --- --- drivers/net/i40e/i40e_vf_representor.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/driver

[PATCH v4] net/i40e: fix the issue caused by PF and VF release order

2022-07-15 Thread Ke Zhang
hared data") Cc: sta...@dpdk.org Signed-off-by: Ke Zhang --- v4: Update the commit log v3: Change the design and fix code in driver v2: Change the testpmd code to fix this issue --- --- drivers/net/i40e/i40e_vf_representor.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) di

[PATCH] net/iavf: fix Tx path

2022-08-04 Thread Ke Zhang
Fix the Tx path and Tx descriptor usage in order to make the Tx offload flags and Tx data descriptor consistent. Fixes: 1e728b01120c ("net/iavf: rework Tx path") Cc: sta...@dpdk.org Signed-off-by: Ke Zhang --- drivers/net/iavf/iavf_rxtx.c | 8 +--- 1 file changed, 5 insert

[PATCH v5] net/i40e: fix the issue caused by PF and VF release order

2022-08-04 Thread Ke Zhang
ocess shared data") Cc: sta...@dpdk.org Signed-off-by: Ke Zhang Acked-by: Yuying Zhang --- v5: Update the commit log v4: Update the commit log v3: Change the design and fix code in driver v2: Change the testpmd code to fix this issue --- --- drivers/net/i40e/i40e_vf_representor.c | 4 +-

[PATCH v2] net/iavf: fix Tx L3 checksum offload flag

2022-08-10 Thread Ke Zhang
path") Cc: sta...@dpdk.org Signed-off-by: Ke Zhang --- v2: Update the commit log --- --- drivers/net/iavf/iavf_rxtx.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/net/iavf/iavf_rxtx.c b/drivers/net/iavf/iavf_rxtx.c index 109ba756f8..dfd021889e 100644 ---

[PATCH] app/test: fix LACP handshake overtime

2022-08-17 Thread Ke Zhang
Increase the loop count so that there is a longer threshold time for the LACP handshake process. Fixes: 5e41ab250dfa ("app/test: unit tests for bonding mode 4") Cc: sta...@dpdk.org Signed-off-by: Ke Zhang --- app/test/test_link_bonding_mode4.c | 2 +- 1 file changed, 1 insertion(+),

[PATCH] app/testpmd: fix issue with memory leaks when quit testpmd

2022-02-28 Thread Ke Zhang
/libasan.so.5+0x10dffe) 1 0x565361eb340f in mcast_addr_pool_extend ../app/test-pmd/config.c:5162 2 0x565361eb3556 in mcast_addr_pool_append ../app/test-pmd/config.c:5180 3 0x565361eb3aae in mcast_addr_add ../app/test-pmd/config.c:5243 Signed-off-by: Ke Zhang --- app/test-pmd

[PATCH v6 0/4] ice repr functions by DCF

2022-03-01 Thread Ke Zhang
This feature add some functions associated with representor: 1. DCF is able to configure the VLAN filter for VFs. 2. DCF is able to configure promiscuous mode for VFs 3. Add / Remove VF mac address 4. display VF stats; 5. reset VF stats Ke Zhang (3): net/ice: add support for display/reset stats

[PATCH v6 1/4] net/ice: add support for setting promisc by DCF

2022-03-01 Thread Ke Zhang
From: Yiding Zhou allow to enable/disable VFs promisc mode over VF0. this feature need to update ice kernel driver (newer than v1.8.0) Signed-off-by: Yiding Zhou Signed-off-by: Ke Zhang --- drivers/net/ice/ice_dcf_vf_representor.c | 56 +--- 1 file changed, 39 insertions

[PATCH v6 2/4] net/ice: add support for display/reset stats by DCF

2022-03-01 Thread Ke Zhang
allow to display/reset VFs stats over VF0. this feature need to update ice kernel driver (newer than v1.8.0) Signed-off-by: Ke Zhang --- drivers/net/ice/ice_dcf_vf_representor.c | 129 +++ 1 file changed, 129 insertions(+) diff --git a/drivers/net/ice

[PATCH v6 3/4] net/ice: add support for add/remove mac addr by DCF

2022-03-01 Thread Ke Zhang
allow to add/remove VF's mac addr over VF0. this feature need to update ice kernel driver (newer than v1.8.0) Signed-off-by: Ke Zhang --- drivers/net/ice/ice_dcf_ethdev.h | 1 + drivers/net/ice/ice_dcf_vf_representor.c | 81 +++- 2 files changed, 81 insertions(

[PATCH v6 4/4] net/ice: add support to configure the VLAN filter by DCF

2022-03-01 Thread Ke Zhang
allow to configure the VLAN filter over VF0. this feature need to update ice kernel driver (newer than v1.8.0) Signed-off-by: Ke Zhang --- drivers/net/ice/ice_dcf_vf_representor.c | 51 1 file changed, 51 insertions(+) diff --git a/drivers/net/ice

[PATCH v2] app/testpmd: fix issue with memory leaks when quit testpmd

2022-03-13 Thread Ke Zhang
/libasan.so.5+0x10dffe) 1 0x565361eb340f in mcast_addr_pool_extend ../app/test-pmd/config.c:5162 2 0x565361eb3556 in mcast_addr_pool_append ../app/test-pmd/config.c:5180 3 0x565361eb3aae in mcast_addr_add ../app/test-pmd/config.c:5243 Signed-off-by: Ke Zhang --- app/test-pmd

[PATCH v2] app/testpmd: fix issue with memory leaks when quit testpmd

2022-03-13 Thread Ke Zhang
/libasan.so.5+0x10dffe) 1 0x565361eb340f in mcast_addr_pool_extend ../app/test-pmd/config.c:5162 2 0x565361eb3556 in mcast_addr_pool_append ../app/test-pmd/config.c:5180 3 0x565361eb3aae in mcast_addr_add ../app/test-pmd/config.c:5243 Signed-off-by: Ke Zhang --- app/test-pmd

[PATCH v2] app/testpmd: fix issue with memory leaks when quit testpmd

2022-03-13 Thread Ke Zhang
/libasan.so.5+0x10dffe) 1 0x565361eb340f in mcast_addr_pool_extend ../app/test-pmd/config.c:5162 2 0x565361eb3556 in mcast_addr_pool_append ../app/test-pmd/config.c:5180 3 0x565361eb3aae in mcast_addr_add ../app/test-pmd/config.c:5243 Signed-off-by: Ke Zhang --- app/test-pmd

[PATCH v2] app/testpmd: fix issue with memory leaks when quit testpmd

2022-03-13 Thread Ke Zhang
/libasan.so.5+0x10dffe) 1 0x565361eb340f in mcast_addr_pool_extend ../app/test-pmd/config.c:5162 2 0x565361eb3556 in mcast_addr_pool_append ../app/test-pmd/config.c:5180 3 0x565361eb3aae in mcast_addr_add ../app/test-pmd/config.c:5243 Signed-off-by: Ke Zhang --- app/test-pmd

[PATCH] app/testpmd: fix quit testpmd with vfs and pf

2022-03-22 Thread Ke Zhang
When testpmd startups with pf and vfs,this error occurs when quitting, results in pf is released before vfs ,so the vf would access an freed heap memory. The solution is two steps: 1. Fetch the valid port value from RTE_ETH_FOREACH_DEV. 2. free the port in reverse order. Signed-off-by: Ke Zhang

[PATCH] app/testpmd: fix quit testpmd with vfs and pf

2022-03-22 Thread Ke Zhang
When testpmd startups with pf and vfs,this error occurs when quitting, results in pf is released before vfs ,so the vf would access an freed heap memory. The solution is two steps: 1. Fetch the valid port value from RTE_ETH_FOREACH_DEV. 2. free the port in reverse order. Signed-off-by: Ke Zhang

[PATCH v3] app/testpmd: fix issue with memory leaks when quit testpmd

2022-03-25 Thread Ke Zhang
-pmd/config.c:5180 3 0x565361eb3aae in mcast_addr_add ../app/test-pmd/config.c:5243 Signed-off-by: Ke Zhang --- app/test-pmd/config.c | 19 +++ app/test-pmd/testpmd.c | 1 + app/test-pmd/testpmd.h | 1 + 3 files changed, 21 insertions(+) diff --git a/app/test-pmd

[PATCH v3] app/testpmd: fix issue with memory leaks when quit testpmd

2022-03-25 Thread Ke Zhang
-pmd/config.c:5180 3 0x565361eb3aae in mcast_addr_add ../app/test-pmd/config.c:5243 Signed-off-by: Ke Zhang --- app/test-pmd/config.c | 19 +++ app/test-pmd/testpmd.c | 1 + app/test-pmd/testpmd.h | 1 + 3 files changed, 21 insertions(+) diff --git a/app/test-pmd

[PATCH] net/iavf: fix iavf crashed on dev_stop when running in multi-process mode

2022-04-02 Thread Ke Zhang
<20b631efe785819eb77aabbf500b3352e5731bdb> Signed-off-by: Ke Zhang --- drivers/net/iavf/iavf_rxtx.c| 27 ++--- drivers/net/iavf/iavf_rxtx.h| 6 +++--- drivers/net/iavf/iavf_rxtx_vec_avx512.c | 4 ++-- drivers/net/iavf/iavf_rxtx_vec_sse.c| 8 4 files chang

[PATCH] net/iavf: fix iavf crashed on dev_stop when running in multi-process mode

2022-04-02 Thread Ke Zhang
<20b631efe785819eb77aabbf500b3352e5731bdb> Signed-off-by: Ke Zhang --- drivers/net/iavf/iavf_rxtx.c| 27 ++--- drivers/net/iavf/iavf_rxtx.h| 6 +++--- drivers/net/iavf/iavf_rxtx_vec_avx512.c | 4 ++-- drivers/net/iavf/iavf_rxtx_vec_sse.c| 8 4 files chang

[PATCH] net/bonding: fix rss key configuration when the key length is 52

2022-04-07 Thread Ke Zhang
used. Signed-off-by: Ke Zhang --- drivers/net/bonding/rte_eth_bond_pmd.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c b/drivers/net/bonding/rte_eth_bond_pmd.c index b305b6a35b..4214b33f40 100644 --- a/drivers/net/bo

[PATCH v2 1/1] net/bonding: fix rss key configuration when the key length is 52

2022-04-10 Thread Ke Zhang
used. Signed-off-by: Ke Zhang --- drivers/net/bonding/rte_eth_bond_pmd.c | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c b/drivers/net/bonding/rte_eth_bond_pmd.c index b305b6a35b..027339b0d9 100644 --- a/drivers/net/bo

[PATCH v3 1/1] net/bonding: fix rss key configuration when the key length is 52

2022-04-10 Thread Ke Zhang
y for bonding device if the default key could not be used. Signed-off-by: Ke Zhang --- drivers/net/bonding/rte_eth_bond_pmd.c | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c b/drivers/net/bonding/rte_eth_bond_pmd.c

[PATCH v2] net/iavf: fix iavf crashed on dev_stop when running in multi-process mode

2022-04-14 Thread Ke Zhang
In the multi process environment, the sub process operates on the shared memory and changes the function pointer of the main process, resulting in the failure to find the address of the function when main process releasing, resulting in crash. Signed-off-by: Ke Zhang --- drivers/net/iavf

[PATCH] net/iavf: when E810 VF interrupt disable, only receive 4 packets once, fix 4 to 1.

2022-04-25 Thread Ke Zhang
synchronizing with PF. Signed-off-by: Ke Zhang --- drivers/net/iavf/iavf_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/iavf/iavf_ethdev.c b/drivers/net/iavf/iavf_ethdev.c index d6190ac24a..17c7720600 100644 --- a/drivers/net/iavf/iavf_ethdev.c +++ b/drivers/net