Re: [PATCH] ethdev: fix Tx queue mask endianness

2023-06-30 Thread David Marchand
On Thu, Jun 29, 2023 at 6:14 PM Ferruh Yigit wrote: > > On 6/29/2023 4:42 PM, Thomas Monjalon wrote: > > 29/06/2023 17:40, David Marchand: > >> On Thu, Jun 29, 2023 at 5:31 PM Thomas Monjalon > >> wrote: > >>> 29/06/2023 15:58, David Marchand: > - .tx_queue = RTE_BE16(0x), > +

Re: [PATCH] ethdev: fix Tx queue mask endianness

2023-06-30 Thread David Marchand
On Fri, Jun 30, 2023 at 9:00 AM David Marchand wrote: > > On Thu, Jun 29, 2023 at 6:14 PM Ferruh Yigit wrote: > > > > On 6/29/2023 4:42 PM, Thomas Monjalon wrote: > > > 29/06/2023 17:40, David Marchand: > > >> On Thu, Jun 29, 2023 at 5:31 PM Thomas Monjalon > > >> wrote: > > >>> 29/06/2023 15:5

[PATCH] Updated to dpdk20.11

2023-06-30 Thread David Young
--- doc/guides/freebsd_gsg/install_from_ports.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/guides/freebsd_gsg/install_from_ports.rst b/doc/guides/freebsd_gsg/install_from_ports.rst index d946f3f3b2..ae866cd879 100644 --- a/doc/guides/freebsd_gsg/install_from_po

[PATCH] vhost: add notify reply ops to avoid message deadlock

2023-06-30 Thread Rma Ma
Since backend and frontend message are synchronous in the same thread, there will be a probability of message deadlock. Consider each driver to determine whether to wait for response. Signed-off-by: Rma Ma --- lib/vhost/vdpa_driver.h | 3 +++ lib/vhost/vhost_user.c | 23 ++-

[PATCH] vhost: add notify reply ops to avoid message deadlock

2023-06-30 Thread Rma Ma
Since backend and frontend message are synchronous in the same thread, there will be a probability of message deadlock. Consider each driver to determine whether to wait for response. Signed-off-by: Rma Ma --- lib/vhost/vdpa_driver.h | 3 +++ lib/vhost/vhost_user.c | 23 ++-

[PATCH] net/mlx5: support symmetric RSS hash function

2023-06-30 Thread Xueming Li
This patch supports symmetric hash function that creating same hash result for bi-direction traffic which having reverse source and destination IP and L4 port. Since the hash algorithom is different than spec(XOR), leave a warning in validation. Signed-off-by: Xueming Li --- drivers/net/mlx5/ml

[PATCH 0/3] doc: fix some errors in hns3 guide

2023-06-30 Thread Dongdong Liu
This patchset is to fix some errors in hns3 guide doc. Dongdong Liu (3): doc: fix invalid link in hns3 guide doc: fix wrong syntax in hns3 guide doc: fix wrong number of spaces in hns3 guide doc/guides/nics/hns3.rst | 33 +++-- 1 file changed, 19 insertions(+),

[PATCH 1/3] doc: fix invalid link in hns3 guide

2023-06-30 Thread Dongdong Liu
The LSC support of Vf driver depends on a patch link in kernel pf driver. But current the link is invalid, so fixes it. Add a blank line after the link. Fixes: 80006b598730 ("doc: add link status event requirements in hns3 guide") Cc: sta...@dpdk.org Signed-off-by: Dongdong Liu --- doc/guides/

[PATCH 2/3] doc: fix wrong syntax in hns3 guide

2023-06-30 Thread Dongdong Liu
'::' doesn't provide pre-formatted text without an empty line after it, so fixes it. Fixes: cdf6a5fbc540 ("doc: add runtime option examples to hns3 guide") Cc: sta...@dpdk.org Signed-off-by: Dongdong Liu --- doc/guides/nics/hns3.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/gui

[PATCH 3/3] doc: fix wrong number of spaces in hns3 guide

2023-06-30 Thread Dongdong Liu
The current description of 'mbx_time_limit_ms' has three spaces at the beginning. Use two spaces to keep the same style with other places and add a blank line after '::'. Fixes: 2fc3e696a7f1 ("net/hns3: add runtime config for mailbox limit time") Cc: sta...@dpdk.org Signed-off-by: Dongdong Liu -

[PATCH v1] net/mlx5: support symmetric RSS hash function

2023-06-30 Thread Xueming Li
This patch supports symmetric hash function that creating same hash result for bi-direction traffic which having reverse source and destination IP and L4 port. Since the hash algorithom is different than spec(XOR), leave a warning in validation. Signed-off-by: Xueming Li --- drivers/net/mlx5/ml

RE: [PATCH v2] net/iavf: fix duplicate reset done check with large VF

2023-06-30 Thread Zhang, Qi Z
> -Original Message- > From: Zeng, ZhichaoX > Sent: Friday, June 30, 2023 2:06 PM > To: dev@dpdk.org > Cc: Zhang, Qi Z ; Jiale, SongX ; > Zeng, ZhichaoX ; Wu, Jingjing > ; Xing, Beilei > Subject: [PATCH v2] net/iavf: fix duplicate reset done check with large VF > > When starting with

RE: [PATCH] net/idpf: refine idpf_dev_vport_init() function

2023-06-30 Thread Zhang, Qi Z
> -Original Message- > From: Mingxia Liu > Sent: Monday, June 26, 2023 10:06 PM > To: dev@dpdk.org > Cc: Wu, Jingjing ; Xing, Beilei > ; > Liu, Mingxia > Subject: [PATCH] net/idpf: refine idpf_dev_vport_init() function > > This patch adds 'cur_vports' and 'cur_vport_nb' updation in e

RE: [PATCH] net/idpf: refine idpf_dev_vport_init() function

2023-06-30 Thread Zhang, Qi Z
> -Original Message- > From: Zhang, Qi Z > Sent: Friday, June 30, 2023 4:13 PM > To: Mingxia Liu ; dev@dpdk.org > Cc: Wu, Jingjing ; Xing, Beilei > ; > Liu, Mingxia > Subject: RE: [PATCH] net/idpf: refine idpf_dev_vport_init() function > > > > > -Original Message- > > From:

RE: [PATCH] net/idpf: refine dev_link_update function

2023-06-30 Thread Zhang, Qi Z
> -Original Message- > From: Mingxia Liu > Sent: Monday, June 26, 2023 7:15 PM > To: dev@dpdk.org > Cc: Wu, Jingjing ; Xing, Beilei > ; > Liu, Mingxia > Subject: [PATCH] net/idpf: refine dev_link_update function > > This patch refines idpf_dev_link_update callback function according

RE: [PATCH] net/idpf: optimize the code of IDPF PMD

2023-06-30 Thread Zhang, Qi Z
> -Original Message- > From: Mingxia Liu > Sent: Monday, June 26, 2023 10:06 PM > To: dev@dpdk.org > Cc: Wu, Jingjing ; Xing, Beilei > ; > Liu, Mingxia > Subject: [PATCH] net/idpf: optimize the code of IDPF PMD net/idpf: reorder code. > > This patch moves 'struct eth_dev_ops idpf_e

[PATCH] drivers/ipsec_mb: fix aesni_mb set session ID

2023-06-30 Thread Ciara Power
In the case of multiprocess, when the same session is being used for both primary and secondary processes, the session ID will be the same. However the pointers are not available to the secondary process, so in this case when the session was created by a different process ID, then copy the template

RE: [PATCH] net/idpf: refine RTE_PMD_REGISTER_PARAM_STRING of IDPF PMD

2023-06-30 Thread Zhang, Qi Z
> -Original Message- > From: Mingxia Liu > Sent: Monday, June 26, 2023 10:06 PM > To: dev@dpdk.org > Cc: Wu, Jingjing ; Xing, Beilei > ; > Liu, Mingxia > Subject: [PATCH] net/idpf: refine RTE_PMD_REGISTER_PARAM_STRING of IDPF > PMD No need to mention the PMD in the title as its dupli

[PATCH v2] net/mlx5: fix the error set in Tx representor tagging

2023-06-30 Thread Bing Zhao
In the previous implementation, the error information was not set when there was a failure during the initialization. The pointer from the user should be passed to the called functions to be set properly before returning. Fixes: 483181f7b6dd ("net/mlx5: support device control of representor match

[PATCH v2] net/txgbe: fix blocking system events

2023-06-30 Thread Jiawen Wu
Refer to commit 819d0d1d57f1 ("net/ixgbe: fix blocking system events"). Fix the same issue as ixgbe. TXGBE link status task uses rte alarm thread in old implementation. Sometime txgbe link status task takes up to 9 seconds. This will severely affect the rte-alarm-thread dependent tasks in the syst

[PATCH v2] net/mlx5: fix the return value of vport action

2023-06-30 Thread Bing Zhao
The "rte_flow_error" should be set in case a invalid pointer access to the message member. Fixes: 1939eb6f660c ("net/mlx5: support flow port action with HWS") Cc: dsosnow...@nvidia.com Cc: sta...@dpdk.org Signed-off-by: Bing Zhao Acked-by: Ori Kam --- v2: add CC stable --- drivers/net/mlx5/mlx

[PATCH v2] net/mlx5: fix the error set in control tables create

2023-06-30 Thread Bing Zhao
When some failure occurrs in the flow_hw_create_ctrl_tables(), the "rte_flow_error" should be set properly with all needed information. Then the rte_errno and the "message" will reflect the actual failure. This will also solve the crash when trying to access the "message". Fixes: 1939eb6f660c ("n

Re: [PATCH 0/3] doc: fix some errors in hns3 guide

2023-06-30 Thread Ferruh Yigit
On 6/30/2023 8:37 AM, Dongdong Liu wrote: > This patchset is to fix some errors in hns3 guide doc. > > Dongdong Liu (3): > doc: fix invalid link in hns3 guide > doc: fix wrong syntax in hns3 guide > doc: fix wrong number of spaces in hns3 guide > Thanks for the fix. Series applied to dpdk-

[PATCH v3] net/mlx5: fix the error set in control tables create

2023-06-30 Thread Bing Zhao
When some failure occurs in the flow_hw_create_ctrl_tables(), the "rte_flow_error" should be set properly with all needed information. Then the rte_errno and the "message" will reflect the actual failure. This will also solve the crash when trying to access the "message". Fixes: 1939eb6f660c ("ne

Re: [PATCH v2] net/txgbe: fix blocking system events

2023-06-30 Thread Ferruh Yigit
On 6/30/2023 10:35 AM, Jiawen Wu wrote: > Refer to commit 819d0d1d57f1 ("net/ixgbe: fix blocking system events"). > Fix the same issue as ixgbe. > > TXGBE link status task uses rte alarm thread in old implementation. > Sometime txgbe link status task takes up to 9 seconds. This will > severely aff

Re: [PATCH V2 2/2] app/testpmd: assign custom ID to flow rules

2023-06-30 Thread Ferruh Yigit
On 6/2/2023 9:19 PM, Ferruh Yigit wrote: > On 3/16/2023 2:19 PM, Gregory Etelson wrote: >> From: Eli Britstein >> >> Upon creation of a flow, testpmd assigns it a flow ID. Later, the >> flow ID is used for flow operations (query, destroy, dump). >> >> The testpmd application allows to manage flow

[PATCH v2] net/mlx5: fix the error set for age pool initialization

2023-06-30 Thread Bing Zhao
The rte_flow_error needs to be set when the age pool initialization has a failure. Or else the application will crash due to the access of the invalid "message" field. Fixes: 04a4de756e14 ("net/mlx5: support flow age action with HWS") Cc: michae...@nvidia.com Cc: sta...@dpdk.org Signed-off-by: Bi

[PATCH v2] net/idpf: refine vport parameter string

2023-06-30 Thread Mingxia Liu
This patch refines 'IDPF_VPORT' param string in 'RTE_PMD_REGISTER_PARAM_STRING'. Signed-off-by: Mingxia Liu --- drivers/net/idpf/idpf_ethdev.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/idpf/idpf_ethdev.c b/drivers/net/idpf/idpf_ethdev.c index 6d9a53c94

[PATCH v2] net/idpf: fix error path processing

2023-06-30 Thread Mingxia Liu
This patch moves vport info updating lines to the last, in order to fix reverting missing in the error handle. Fixes: 5e0f60527e5b ("net/idpf: remove vport req and recv info from adapter") Signed-off-by: Mingxia Liu --- drivers/net/idpf/idpf_ethdev.c | 8 1 file changed, 4 insertions(+

[PATCH v2] net/idpf: refine dev_link_update function

2023-06-30 Thread Mingxia Liu
This patch refines idpf_dev_link_update callback function according to CPFL PMD basic code. Signed-off-by: Mingxia Liu --- drivers/net/idpf/idpf_ethdev.c | 63 +++--- 1 file changed, 28 insertions(+), 35 deletions(-) diff --git a/drivers/net/idpf/idpf_ethdev.c b/driv

RE: [PATCH] net/idpf: refine idpf_dev_vport_init() function

2023-06-30 Thread Liu, Mingxia
> -Original Message- > From: Zhang, Qi Z > Sent: Friday, June 30, 2023 4:14 PM > To: Liu, Mingxia ; dev@dpdk.org > Cc: Wu, Jingjing ; Xing, Beilei > ; > Liu, Mingxia > Subject: RE: [PATCH] net/idpf: refine idpf_dev_vport_init() function > > > > > -Original Message- > > From

RE: [PATCH] net/idpf: refine dev_link_update function

2023-06-30 Thread Liu, Mingxia
> -Original Message- > From: Zhang, Qi Z > Sent: Friday, June 30, 2023 4:27 PM > To: Liu, Mingxia ; dev@dpdk.org > Cc: Wu, Jingjing ; Xing, Beilei > ; > Liu, Mingxia > Subject: RE: [PATCH] net/idpf: refine dev_link_update function > > > > > -Original Message- > > From: Ming

RE: [PATCH] net/idpf: refine RTE_PMD_REGISTER_PARAM_STRING of IDPF PMD

2023-06-30 Thread Liu, Mingxia
> -Original Message- > From: Zhang, Qi Z > Sent: Friday, June 30, 2023 5:08 PM > To: Liu, Mingxia ; dev@dpdk.org > Cc: Wu, Jingjing ; Xing, Beilei > ; > Liu, Mingxia > Subject: RE: [PATCH] net/idpf: refine RTE_PMD_REGISTER_PARAM_STRING of > IDPF PMD > > > > > -Original Message-

[PATCH v2] net/mlx5: fix the error in VLAN actions creation

2023-06-30 Thread Bing Zhao
When a failure occurs during the VLAN actions creating, the value of "rte_errno" is already set by the mlx5dr_action_create*. The value can be returned directly to reflect the actual reason. In the meanwhile, the "rte_flow_error" structure should also be set with explict message. Fixes: 773ca0e91

[PATCH v3] net/mlx5: fix the error in VLAN actions creation

2023-06-30 Thread Bing Zhao
When a failure occurs during the VLAN actions creating, the value of "rte_errno" is already set by the mlx5dr_action_create*. The value can be returned directly to reflect the actual reason. In the meanwhile, the "rte_flow_error" structure should also be set with clear message explicitly. Fixes:

[PATCH v1] crypto/qat: fix struct alignment

2023-06-30 Thread Brian Dooley
The qat_sym_session struct variable alignment was causing a segfault. AES expansion keys require 16-byte alignment. Added __rte_aligned to the expansion keys. Fixes: ca0ba0e48129 ("crypto/qat: default to IPsec MB for computations") Signed-off-by: Brian Dooley --- drivers/crypto/qat/qat_sym_sess

Re: [PATCH v5] gro : fix reordering of packets in GRO library

2023-06-30 Thread kumaraparameshwaran rathinavel
On Tue, Jun 20, 2023 at 1:06 PM Hu, Jiayu wrote: > Hi Kumara, > > Please see replies inline. > > Thanks, > Jiayu > > > -Original Message- > > From: Kumara Parameshwaran > > Sent: Tuesday, November 1, 2022 3:06 PM > > To: Hu, Jiayu > > Cc: dev@dpdk.org; Kumara Parameshwaran > > ; Kumara

Re: [PATCH v3 04/11] net/bnxt: update Truflow core

2023-06-30 Thread Ajit Khaparde
On Wed, Jun 28, 2023 at 9:30 PM Ajit Khaparde wrote: > > On Wed, Jun 28, 2023 at 12:07 PM Thomas Monjalon wrote: > > > > 28/06/2023 18:35, Ajit Khaparde: > > > On Sat, Jun 10, 2023 at 11:33 AM Thomas Monjalon > > > wrote: > > > > More important, you are doing huge update of many different thing

[PATCH] common/mlx5: fix obtaining IB device in LAG mode

2023-06-30 Thread Bing Zhao
In hardware LAG mode, both PFs are in the same E-Switch domain but the VFs are in the other domains. Moreover, VF has its own dedicated IB device. When probing a VF created on the 1st PF, usually its PCIe address is the same as the PF's except the function part. Then there would be some wrong VF B

[PATCH] net/mlx5: fix the profile check of meter mark

2023-06-30 Thread Bing Zhao
When creating a meter_mark action, the profile should be specified. Or else there would be a crash if the pointer to the profile was not set properly: 1. creating an action template with only action mask set and using this template to create a table 2. creating a flow rule without setting

[PATCH] net/mlx5: reduce the counter pool name length

2023-06-30 Thread Bing Zhao
The name size of a rte_ring is RTE_MEMZONE_NAMESIZE with the value 32 by default. When creating a HWS counter pool cache, the final string format was "RG_MLX5_HWS_CNT_POOL_%u_cache/%u" and it could support less than 1000 variants. For example, if the first %u representing port id is 100 and it will

[PATCH] app/testpmd: fix the rule number parsing

2023-06-30 Thread Bing Zhao
When creating a template table, the object pointer of the command line "struct context" was set with an offset from the original out buffer if there is a template ID. If the "rules_number" is specified after the template IDs, it couldn't be set and passed to the API correctly. With this commit, th

RE: [PATCH v1] examples/fips_validation: fix digest length in AES GCM

2023-06-30 Thread Dooley, Brian
Hey Samina, > -Original Message- > From: Arshad, Samina > Sent: Wednesday, June 28, 2023 3:39 PM > To: Dooley, Brian ; Gowrishankar Muthukrishnan > > Cc: dev@dpdk.org; sta...@dpdk.org; Arshad, Samina > ; Kovacevic, Marko > Subject: [PATCH v1] examples/fips_validation: fix digest length

Re: [dpdk-dev] [PATCH v1] eal: update all buses default scan mode

2023-06-30 Thread Stephen Hemminger
On Sun, 28 Mar 2021 21:12:22 +0800 Xueming Li wrote: > When parsing EAL allowed or blocked device arguments, only device bus > being parsed got default scan mode updated. If the devargs was vdev, PCI > bus default scan mode not touched, all PCI bus devices will got probed > even none appear in al

Re: [dpdk-dev] [PATCH v2 01/11] eal: explain argv behaviour during init

2023-06-30 Thread Stephen Hemminger
On Wed, 10 Mar 2021 14:28:15 +0100 Thomas Monjalon wrote: > After argument parsing done by rte_eal_init(), > the remaining arguments are to be parsed by the application > by progressing in the argv array. > In this context, the first string represented by argv[0] is still > the same program name

[PATCH v2] docs: freebsd: Update to 20.11

2023-06-30 Thread David Young
This patch updates the installation instructions for DPDK on FreeBSD. It specifies the explicit version of DPDK (20.11) to be installed. This change is important as the 'dpdk' package is an alias and doesn't always point to the latest version. By specifying the explicit version, we make it clear wh

[PATCH v2 1/2] hash: fix reading unaligned bits implementation

2023-06-30 Thread Vladimir Medvedkin
Fixes: 28ebff11c2dc ("hash: add predictable RSS") Cc: sta...@dpdk.org Acked-by: Konstantin Ananyev Tested-by: Konstantin Ananyev Signed-off-by: Vladimir Medvedkin --- lib/hash/rte_thash.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/lib/hash/rte_thash.c b/li

[PATCH v2 2/2] test: add additional tests for thash library

2023-06-30 Thread Vladimir Medvedkin
Adds tests comparing the results of applying the output of rte_thash_get_complement() to the tuple with the result of calling rte_thash_adjust_tuple(). Suggested-by: Konstantin Ananyev Signed-off-by: Konstantin Ananyev Signed-off-by: Vladimir Medvedkin --- app/test/test_thash.c | 132 +

[PATCH] fib: fix adding a default route

2023-06-30 Thread Vladimir Medvedkin
Fixed an issue that occurs when adding a default route as the first route. Bugzilla ID: 1160 Fixes: 7dc7868b200d ("fib: add DIR24-8 dataplane algorithm") Cc: sta...@dpdk.org Signed-off-by: Vladimir Medvedkin --- lib/fib/dir24_8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] fib: fix adding a default route

2023-06-30 Thread Stephen Hemminger
On Fri, 30 Jun 2023 17:10:35 + Vladimir Medvedkin wrote: > redge = ip + (uint32_t)(1ULL << (32 - depth)); > - if (ledge == redge) > + if ((ledge == redge) && (ledge != 0)) Extra parenthesis are not necessary here.

Re: [dpdk-dev] [PATCH 10/10] net/bonding: fix configuration assignment overflow

2023-06-30 Thread Stephen Hemminger
On Mon, 19 Apr 2021 21:34:49 +0800 "Min Hu (Connor)" wrote: > From: Chengchang Tang > > The expression may cause an overflow. > > This patch fix the codeDEX static check warning "INTEGER_OVERFLOW". > > Fixes: 46fb43683679 ("bond: add mode 4") > Cc: sta...@dpdk.org > > Signed-off-by: Chengcha

Re: [dpdk-dev] [PATCH 06/10] lib/librte_pipeline: fix the use of unsafe strcpy

2023-06-30 Thread Stephen Hemminger
On Mon, 19 Apr 2021 21:34:45 +0800 "Min Hu (Connor)" wrote: > From: HongBo Zheng > > 'strcpy' is called in rte_swx_ctl_table_info_get, this function > is unsafe, use 'strncpy' instead. > > Fixes: 393b96e2aa2a ("pipeline: add SWX pipeline query API") > Cc: sta...@dpdk.org > > Signed-off-by: Ho

Re: [dpdk-dev] [PATCH 08/10] crypto/virtio: fix return values check error

2023-06-30 Thread Stephen Hemminger
On Mon, 19 Apr 2021 21:34:47 +0800 "Min Hu (Connor)" wrote: > From: HongBo Zheng > > In virtio_crypto_pkt_tx_burst, we check the return values of > virtqueue_crypto_enqueue_xmit, which may returns -ENOSPC/-EMSGSIZE, > but we only check ENOSPC/EMSGSIZE, and cause the result of checks > is always

Re: [dpdk-dev] [PATCH 07/10] examples/l3fwd: add function return value check

2023-06-30 Thread Stephen Hemminger
On Mon, 19 Apr 2021 21:34:46 +0800 "Min Hu (Connor)" wrote: > From: HongBo Zheng > > Return value of a function 'rte_eth_macaddr_get' called at > l3fwd_eth_dev_port_setup is not checked, but it is usually > checked for this function. > > This patch fix this problem. > > Fixes: a65bf3d724df ("

RE: [PATCH v1] crypto/qat: fix struct alignment

2023-06-30 Thread Power, Ciara
> -Original Message- > From: Brian Dooley > Sent: Friday 30 June 2023 12:31 > To: Ji, Kai > Cc: dev@dpdk.org; gak...@marvell.com; Dooley, Brian > > Subject: [PATCH v1] crypto/qat: fix struct alignment > > The qat_sym_session struct variable alignment was causing a segfault. > AES exp

Re: [PATCH] mempool: fix rte primary program coredump

2023-06-30 Thread Stephen Hemminger
On Thu, 27 Jan 2022 11:06:56 +0100 Olivier Matz wrote: > > > > this array in primary program is different with secondary program. > > so when secondary program call rte_pktmbuf_pool_create_by_ops() with > > mempool name “ring_mp_mc”, but the primary program use "bucket" type > > to alloc rte

Re: [dpdk-dev] [PATCH v4] examples/l3fwd: ipv4 and udp/tcp cksum verification through software

2023-06-30 Thread Stephen Hemminger
On Thu, 4 Nov 2021 11:11:02 + "Walsh, Conor" wrote: > > checks if ipv4 and udptcp cksum offload capability available > > If not available, cksum is verified through software > > If cksum is corrupt, packet is dropped, rest of the packets > > are forwarded back. > > > > Bugzilla ID:545 > > Si

Re: [dpdk-dev] [PATCH] flow_classify: remove eperimental tag from the API

2023-06-30 Thread Stephen Hemminger
On Wed, 15 Sep 2021 16:16:35 +0100 Bernard Iremonger wrote: > This API was introduced in 17.11, removing experimental tag > to promote to stable state. > > Signed-off-by: Bernard Iremonger The API is unmaintained and because of that likely to be deprecated in future. Marking it as stable at th

[PATCH] app/testpmd: add IPv4 length field matching

2023-06-30 Thread Bing Zhao
In the command line, the total length field translation support is added to pass the value to the rte_flow API. Signed-off-by: Bing Zhao --- app/test-pmd/cmdline_flow.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c index

[PATCH v2] app/pdump: exit if no device specified

2023-06-30 Thread Stephen Hemminger
Simpler version of earlier patch which had a good idea, was just implemented with more code than necessary. If no device is specified don't start the capture loop. Reported-by: usman.tanveer Signed-off-by: Stephen Hemminger --- app/pdump/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --g