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
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
-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
@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
("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..
("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..
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 +++---
<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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
-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
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
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
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
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 +-
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
---
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(+),
/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
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
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
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
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(
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
/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
/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
/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
/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
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
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
-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
-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
<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
<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
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
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
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
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
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
64 matches
Mail list logo