[PATCH v3] app/testpmd: fix incorrect queues state of secondary process

2022-09-06 Thread Peng Zhang
ry. Fixes: 3c4426db54fc ("app/testpmd: do not poll stopped queues") Cc: sta...@dpdk.org Signed-off-by: Peng Zhang --- v3: - Modify the parameter of rx or tx queue state array v2: - Change the way of getting secondary process queues states --- app/test-pmd/testpmd.c | 22 ++

[PATCH v2] net/iavf: enable inner and outer Tx checksum offload

2022-09-01 Thread Peng Zhang
Enable inner and outer Tx checksum offload for tunnel packet by configure ol_flags. Signed-off-by: Peng Zhang --- v2: add outer udp cksum flag and remove unrelated code --- drivers/net/iavf/iavf_ethdev.c | 1 + drivers/net/iavf/iavf_rxtx.c | 48 -- drivers

[PATCH v2] net/nfp: initialize the flbufsz

2022-06-15 Thread Peng Zhang
@dpdk.org Signed-off-by: Peng Zhang Signed-off-by: Chaoyong He --- drivers/net/nfp/nfp_ethdev.c| 1 + drivers/net/nfp/nfp_ethdev_vf.c | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/net/nfp/nfp_ethdev.c b/drivers/net/nfp/nfp_ethdev.c index 9166f65da3..1a9f7581a7 100644

[PATCH] net/nfp: initialize the flbufsz

2022-06-14 Thread Peng Zhang
@dpdk.org Signed-off-by: Peng Zhang Signed-off-by: Chaoyong He Signed-off-by: Niklas Söderlund --- drivers/net/nfp/nfp_ethdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/nfp/nfp_ethdev.c b/drivers/net/nfp/nfp_ethdev.c index 9166f65da3..1a9f7581a7 100644 --- a/drivers/net/n

[PATCH v2] net/nfp: fix bug of disable VLAN strip

2022-05-26 Thread Peng Zhang
then change the requested state if VLAN stripping according the requested offload status. So this change can fix this bug. Fixes: d4a27a3b092a ("nfp: add basic features") Cc: sta...@dpdk.org Signed-off-by: Peng Zhang Signed-off-by: Yong Xu Signed-off-by: Chaoyong He Signed

[PATCH v4] net/nfp: make sure MTU is never larger than mbufsize

2022-05-10 Thread Peng Zhang
. Fixes: d4a27a3 ("nfp: add basic features") Cc: sta...@dpdk.org Signed-off-by: Peng Zhang Signed-off-by: Chaoyong He Signed-off-by: Louis Peens Signed-off-by: Niklas Söderlund Reviewed-by: Walter Heymans -- Depends-on: patch-109914 ("net/nfp: update how MAX MTU is read&quo

[PATCH] net/nfp: fix the issue about set the vlan strip offload off

2022-04-19 Thread Peng Zhang
When set the vlan_strip_offload off, it doesn't work. Because we can't update the msg in the nic. This patch will fix this error. Fixes: d4a27a3b092a ("nfp: add basic features") Cc: sta...@dpdk.org Signed-off-by: Peng Zhang Signed-off-by: Yong Xu Signed-off-by: Chaoyong

[PATCH v3] net/nfp: fix mtu settings

2022-03-29 Thread Peng Zhang
27a3b092a ("nfp: add basic features") Cc: sta...@dpdk.org Signed-off-by: Peng Zhang Signed-off-by: Chaoyong He Signed-off-by: Louis Peens --- v3: * git summary v2: * add the min_mtu and max_mtu in the nfp_net_infos_get() --- drivers/net/nfp/nfp_common.c | 9 + 1 file chang

[PATCH] net/nfp: add the restrict of setting the mtu

2022-03-22 Thread Peng Zhang
1.When the setting mtu is higher than flbufsz, the mtu doesn't work. But it doesn't have any notice about this restrict. 2.when the setting mtu isn't in the range, it doesn't have any notice. This patch will add the notice about these restrict. Signed-off-by: Peng Zhang Sig

[PATCH v2] net/nfp: fix mtu settings

2022-03-18 Thread Peng Zhang
27a3 ("nfp: add basic features") Cc: sta...@dpdk.org Signed-off-by: Peng Zhang Signed-off-by: Chaoyong He Signed-off-by: Louis Peens --- v2: * add the min_mtu and max_mtu in the nfp_net_infos_get() --- drivers/net/nfp/nfp_common.c | 9 + 1 file changed, 9 insertions(+) dif

[PATCH v2] net/nfp: fix mtu settings

2022-03-18 Thread Peng Zhang
27a3 ("nfp: add basic features") Cc: sta...@dpdk.org Signed-off-by: Peng Zhang Signed-off-by: Chaoyong He Signed-off-by: Louis Peens --- v2: * add the min_mtu and max_mtu in the nfp_net_infos_get() --- drivers/net/nfp/nfp_common.c | 9 + 1 file changed, 9 insertions(+) dif

[PATCH] net/nfp: add the restrict of setting the mtu

2022-03-17 Thread Peng Zhang
1.When the setting mtu is higher than flbufsz, the mtu doesn't work. But it doesn't have any notice about this restrict. 2.when the setting mtu isn't in the range, it doesn't have any notice. This patch will add the notice about these restrict. Signed-off-by: Peng Zhang Sig