[PATCH 1/2] net/bonding: add error hint for invald args

2022-02-14 Thread Wan Junjie
When invalid args exsit, application exits with no error hint. Adding a log message here will help users to know the reson. Signed-off-by: Wan Junjie --- drivers/net/bonding/rte_eth_bond_pmd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/net/bonding/rte_eth_bond

[PATCH 2/2] net/bonding: fix slaves initilizing on mtu setting

2022-02-14 Thread Wan Junjie
When initializing a bonding device with all slaves in vdev string, which means bonding device initilizes slaves, instead of initializing slaves before creating the bonding device, it will fail to call set_mtu api for the bonding device. Fixes:b26bee1 ("ethdev: forbid MTU set before device configur

[PATCH 0/4] net/mlx5: support send scheduling for ConnextX-7

2022-02-14 Thread Viacheslav Ovsiienko
Since the ConnectX-6DX the send scheduling capability is provided. An application can register the dynamic field and dynamic flags in mbuf for timestamp and specify the desired moment of time the packet should sent. The send scheduling feature over ConnectX-6DX uses the complicated infrastructure

[PATCH 1/4] common/mlx5: add send on time capability check

2022-02-14 Thread Viacheslav Ovsiienko
The patch provides check for send scheduling on time hardware capability. With this capability enabled hardware is able to handle Wait WQEs with directly specified timestamp values. No Clock Queue is needed anymore to handle send scheduling. Signed-off-by: Viacheslav Ovsiienko --- drivers/common

[PATCH 2/4] net/mlx5: configure Tx queue with send on time offload

2022-02-14 Thread Viacheslav Ovsiienko
The wait on time configuration flag is copied to the Tx queue structure due to performance considerations. Timestamp mask is preparted and stored in queue structure as well. Signed-off-by: Viacheslav Ovsiienko --- drivers/net/mlx5/linux/mlx5_verbs.c | 2 ++ drivers/net/mlx5/mlx5.h |

[PATCH 3/4] net/mlx5: add wait on time support in Tx datapath

2022-02-14 Thread Viacheslav Ovsiienko
The hardware since ConnectX-7 supports waiting on specified moment of time with new introduced wait descriptor. A timestamp can be directrly placed into descriptor and pushed to sending queue. Once hardware encounter the wait descriptor the queue operation is suspended till specified moment of time

[PATCH 4/4] doc: update send scheduling mlx5 feature description

2022-02-14 Thread Viacheslav Ovsiienko
Updated: - send scheduling feature description for mlx5 - release notes Signed-off-by: Viacheslav Ovsiienko --- doc/guides/nics/mlx5.rst | 5 + doc/guides/rel_notes/release_22_03.rst | 6 ++ 2 files changed, 11 insertions(+) diff --git a/doc/guides/nics/mlx5.rst b/doc/

[PATCH 1/2] net/mlx5: fix invalid entry in shared RXQs list

2022-02-14 Thread Michael Baum
The mlx5_rxq_new function creates control structure and if it from shared group, it is inserted into the shared RXQs list. After that, there are some validations which in case they fail, RxQ control object is released. In these cases, invalid pointer to the object still in the list, and access it

[PATCH 0/2] fix shared RxQ creation

2022-02-14 Thread Michael Baum
Fix error flow in RxQ creation and optimize it. Michael Baum (2): net/mlx5: fix invalid entry in shared RXQs list net/mlx5: optimize RxQ creation drivers/net/mlx5/mlx5_rx.h | 3 +-- drivers/net/mlx5/mlx5_rxq.c | 40 - 2 files changed, 18 insertions(+), 2

[PATCH 2/2] net/mlx5: optimize RxQ creation

2022-02-14 Thread Michael Baum
Recently shared RxQ has been introduced. All shared Rx queues with same group and queue ID share the same rxq_ctrl, but each one has mlx5_rxq_priv structure. The mlx5_rx_queue_setup generates a new rxq_priv structure, and looks for a rxq_ctrl structure to refer to. If there is already a compatible

[PATCH v8 2/2] net/cnxk: support priority flow control

2022-02-14 Thread skori
From: Sunil Kumar Kori Patch implements priority flow control support for CNXK platforms. Signed-off-by: Sunil Kumar Kori --- v1..v2: - fix application restart issue. v2..v3: - fix pause quanta configuration for cn10k. - fix review comments. v3..v4: - fix PFC configuration with other ty

[PATCH v8 1/2] common/cnxk: support priority flow ctrl config API

2022-02-14 Thread skori
From: Sunil Kumar Kori CNXK platforms support priority flow control(802.1qbb) to pause respective traffic per class on that link. Patch adds RoC interface to configure priority flow control on MAC block i.e. CGX on cn9k and RPM on cn10k. Signed-off-by: Sunil Kumar Kori --- v1..v2: - fix RoC A

out of tree driver builds broken with C++

2022-02-14 Thread Tyler Retzlaff
while the driver api is "internal" we agreed some time ago that drivers could be built external to the dpdk tree. by enabling the meson setup option -Denable_driver_sdk=true. it was agreed that the driver api was internal and would attract no binary compatibility support which was fine. this chan

Re: out of tree driver builds broken with C++

2022-02-14 Thread Thomas Monjalon
14/02/2022 10:13, Tyler Retzlaff: > while the driver api is "internal" we agreed some time ago that drivers > could be built external to the dpdk tree. by enabling the meson setup > option -Denable_driver_sdk=true. > > it was agreed that the driver api was internal and would attract no > binary co

Re: [PATCH v4 1/3] event/cnxk: store and reuse workslot status

2022-02-14 Thread Jerin Jacob
On Thu, Feb 10, 2022 at 6:51 PM wrote: > > From: Pavan Nikhilesh > > Store and reuse workslot status for TT, GRP and HEAD status > instead of reading from GWC as reading from GWC imposes > additional latency. > > Signed-off-by: Pavan Nikhilesh Series Acked-by: Jerin Jacob Series Applied to dpd

RE: [PATCH v4 1/7] eal: fix header build with C++

2022-02-14 Thread Joyce Kong
> Subject: [PATCH v4 1/7] eal: fix header build with C++ > > C++ files could not include some headers because: > > * "new" is a keyword in C++, so can't be a variable name > * there is no automatic casting to/from void * > > Fixes: 184104fc6121 ("ticketlock: introduce fair ticket based locking")

[PATCH v2 01/20] net/mlx5: fix wrong check sibling device config mismatch

2022-02-14 Thread Michael Baum
The MLX5 net driver supports "probe again". In probing again, it creates a new ethdev under an existing infiniband device context. Sibling devices sharing infiniband device context should have compatible configurations, so some of the devargs given in the probe again, the ones that are mainly rele

[PATCH v2 02/20] net/mlx5: fix ineffective metadata argument adjustment

2022-02-14 Thread Michael Baum
In "dv_xmeta_en" devarg there is an option of dv_xmeta_en=3 which engages tunnel offload mode. In E-Switch configuration, that mode implicitly activates dv_xmeta_en=1. The update according to E-switch support is done immediately after the first parsing of the devargs, but there is another adjustme

[PATCH v2 03/20] net/mlx5: fix wrong place of ASO CT object release

2022-02-14 Thread Michael Baum
The ASO connection tracking structure is initialized once for sharing device context. Its release takes place in the close function which is called for each ethdev individually. i.e. when there is more than one ethdev under the same sharing device context, it will be destroyed when one of them is

[PATCH v2 05/20] net/mlx5: remove declaration duplications

2022-02-14 Thread Michael Baum
In mlx5_ethdev.c file are implemented those 4 functions: - mlx5_dev_infos_get - mlx5_fw_version_get - mlx5_dev_set_mtu - mlx5_hairpin_cap_get In mlx5.h file they are declared twice. First time under mlx5.c file and second time under mlx5_ethdev.c file. This patch removes the redundant declara

[PATCH v2 06/20] net/mlx5: remove checking devargs duplication

2022-02-14 Thread Michael Baum
The device arguments are parsed and updated twice during spawning. First time before creating the share device context, and again later after updating a default value to one of the arguments. This patch consolidates them into one parsing and updates the default values before it. Signed-off-by: Mi

[PATCH v2 07/20] net/mlx5: remove HCA attr structure duplication

2022-02-14 Thread Michael Baum
The HCA attribute structure is field of net configure structure. It is also field of common configure structure. There is no need for this duplication, because there is a reference to the common structure from within the net structures. This patch removes it from net configure structure and uses

[PATCH v2 08/20] net/mlx5: remove DevX flag duplication

2022-02-14 Thread Michael Baum
The sharing device context structure has a field named "devx" which indicates if DevX is supported. The common configure stracture has also field named "devx" with the same meaning. There is no need for this duplication, because there is a reference to the common structure from within the sharing

[PATCH v2 09/20] net/mlx5: remove Verbs query device duplication

2022-02-14 Thread Michael Baum
The sharing device context structure has a field named "device_attr" which s filled by mlx5_os_get_dev_attr() function. The spawn function calls mlx5_os_get_dev_attr() again and save it to local variable identical to "device_attr" field. There is no need for this duplication, because there is a re

[PATCH v2 11/20] net/mlx5: share realtime timestamp configure

2022-02-14 Thread Michael Baum
The realtime timestamp configure work for Linux as same as Windows. This patch removes it to the function implemented in the folder shared between the operating systems, removing the duplication. Signed-off-by: Michael Baum Acked-by: Matan Azrad --- drivers/net/mlx5/linux/mlx5_os.c | 23 ++---

[PATCH v2 10/20] common/mlx5: share VF checking function

2022-02-14 Thread Michael Baum
The check if device is VF work for Linux as same as Windows. This patch removes it to the function implemented in the folder shared between the operating systems, removing the duplication. Signed-off-by: Michael Baum Acked-by: Matan Azrad --- drivers/common/mlx5/mlx5_common.h | 15 +

[PATCH v2 12/20] net/mlx5: share counter config function

2022-02-14 Thread Michael Baum
The mlx5_flow_counter_mode_config function exists for both Linux and Windows with the same name and content. This patch moves its implementation to the folder shared between the operating systems, removing the duplication. Signed-off-by: Michael Baum Acked-by: Matan Azrad --- drivers/net/mlx5/l

[PATCH v2 13/20] net/mlx5: add E-switch mode flag

2022-02-14 Thread Michael Baum
This patch adds in SH structure a flag which indicates whether is E-Switch mode. When configure "dv_esw_en" from devargs, it is enabled only when is E-switch mode. So, since dv_esw_en has been configure, it is enough to check if "dv_esw_en" is valid. This patch also removes E-Switch mode check when

[PATCH v2 14/20] net/mlx5: rearrange device attribute structure

2022-02-14 Thread Michael Baum
Rearrange the mlx5_os_get_dev_attr() function in such a way that it first executes the queries and only then updates the fields. In addition, it changed its name in preparation for expanding its operations to configure the capabilities inside it. Signed-off-by: Michael Baum Acked-by: Matan Azrad

[PATCH v2 17/20] net/mlx5: using function to detect operation by DevX

2022-02-14 Thread Michael Baum
Add inline function indicating whether HW objects operations can be created by DevX. It makes the code more readable. Signed-off-by: Michael Baum Acked-by: Matan Azrad --- drivers/net/mlx5/linux/mlx5_os.c | 6 ++ drivers/net/mlx5/mlx5.h | 24 drivers/net/m

[PATCH v2 16/20] net/mlx5: add share device context config structure

2022-02-14 Thread Michael Baum
Add configuration structure for shared device context. This structure contains all configurations coming from devargs which oriented to device. It is a field of shared device context (SH) structure, and is updated once in mlx5_alloc_shared_dev_ctx() function. This structure cannot be changed when p

[PATCH v2 00/20] mlx5: refactor devargs management

2022-02-14 Thread Michael Baum
v2: rebase + fix coverity issue. These patches rearrange the management of the devargs on two different levels. The first splits the net driver's devargs into two categories, device-dependent devargs and port-dependent devargs. Arguments that depend on the device are updated once in the creation

[PATCH v2 19/20] common/mlx5: add check for common devargs in probing again

2022-02-14 Thread Michael Baum
MLX5 common driver supports probing again in two scenarios: - Add new driver under existing device. common probe function gets it in devargs, then calls the requested driver's probe function (regardless of the driver's own support in probing again) with the existing device as parameter.

[PATCH v2 20/20] common/mlx5: refactor devargs management

2022-02-14 Thread Michael Baum
Improve the devargs handling in two aspects: - Parse the devargs string only once. - Return error and report for unknown keys. The common driver parses once the devargs string into a dictionary, then provides it to all the drivers' probe. Each driver updates within it which keys it has used, the

[PATCH v2 04/20] net/mlx5: fix inconsistency errno update in SH creation

2022-02-14 Thread Michael Baum
The mlx5_alloc_shared_dev_ctx() function has a local variable named "err" which contains the errno value in case of failure. When functions called by this function are failed, this variable is updated with their return value (that should be a positive errno value). However, some functions doesn't

[PATCH v2 15/20] net/mlx5: concentrate all device configurations

2022-02-14 Thread Michael Baum
Move all device configure to be performed by mlx5_os_cap_config() function instead of the spawn function. In addition move all relevant fields from mlx5_dev_config structure to mlx5_dev_cap. Signed-off-by: Michael Baum Acked-by: Matan Azrad --- drivers/net/mlx5/linux/mlx5_os.c | 497 ++

[PATCH v2 18/20] net/mlx5: separate per port configuration

2022-02-14 Thread Michael Baum
Add configuration structure for port (ethdev). This structure contains all configurations coming from devargs which oriented to port. It is a field of mlx5_priv structure, and is updated in spawn function for each port. Signed-off-by: Michael Baum Acked-by: Matan Azrad --- drivers/net/mlx5/linu

Re: [PATCH v8 1/2] common/cnxk: support priority flow ctrl config API

2022-02-14 Thread Ray Kinsella
sk...@marvell.com writes: > From: Sunil Kumar Kori > > CNXK platforms support priority flow control(802.1qbb) to pause > respective traffic per class on that link. > > Patch adds RoC interface to configure priority flow control on MAC > block i.e. CGX on cn9k and RPM on cn10k. > > Signed-off-by

Re: [dpdk-dev] [PATCH v2] drivers: enable keep flow rule device capability for cnxk

2022-02-14 Thread Ray Kinsella
psathe...@marvell.com writes: > From: Kiran Kumar K > > Adding changes to enable keep flow rule device capability. > With this change, flow rules will be kept across device restart. > > Signed-off-by: Kiran Kumar K > Reviewed-by: Satheesh Paul > --- > v2: > * Allow creating flow rule before d

[PATCH v9 2/2] net/cnxk: support priority flow control

2022-02-14 Thread skori
From: Sunil Kumar Kori Patch implements priority flow control support for CNXK platforms. Signed-off-by: Sunil Kumar Kori --- v1..v2: - fix application restart issue. v2..v3: - fix pause quanta configuration for cn10k. - fix review comments. v3..v4: - fix PFC configuration with other ty

[PATCH v9 1/2] common/cnxk: support priority flow ctrl config API

2022-02-14 Thread skori
From: Sunil Kumar Kori CNXK platforms support priority flow control(802.1qbb) to pause respective traffic per class on that link. Patch adds RoC interface to configure priority flow control on MAC block i.e. CGX on cn9k and RPM on cn10k. Signed-off-by: Sunil Kumar Kori --- v1..v2: - fix RoC A

Re: [dpdk-dev] [PATCH v7 1/4] ethdev: support device reset and recovery events

2022-02-14 Thread Ray Kinsella
Ray Kinsella writes: > Thomas Monjalon writes: > >> 02/02/2022 12:44, Ray Kinsella: >>> Ferruh Yigit writes: >>> > On 1/28/2022 12:48 PM, Kalesh A P wrote: >>> >> --- a/lib/ethdev/rte_ethdev.h >>> >> +++ b/lib/ethdev/rte_ethdev.h >>> >> @@ -3818,6 +3818,24 @@ enum rte_eth_event_type { >>> >>

RE: [PATCH] pipeline: add check against loops

2022-02-14 Thread Dumitrescu, Cristian
> -Original Message- > From: Thomas Monjalon > Sent: Sunday, February 13, 2022 7:49 PM > To: Suresh Narayane, Harshad ; > Dumitrescu, Cristian > Cc: dev@dpdk.org > Subject: Re: [PATCH] pipeline: add check against loops > > 01/12/2021 13:21, Cristian Dumitrescu: > > Detect when a jump

Re: out of tree driver builds broken with C++

2022-02-14 Thread Bruce Richardson
On Mon, Feb 14, 2022 at 10:22:08AM +0100, Thomas Monjalon wrote: > 14/02/2022 10:13, Tyler Retzlaff: > > while the driver api is "internal" we agreed some time ago that drivers > > could be built external to the dpdk tree. by enabling the meson setup > > option -Denable_driver_sdk=true. > > > > it

[PATCH v3] vdpa/sfc: make MCDI memzone name unique

2022-02-14 Thread abhimanyu.saini
From: Abhimanyu Saini Buffer for MCDI channel is allocated using rte_memzone_reserve_aligned with zone name 'mcdi'. Since multiple MCDI channels are needed to support multiple VF(s) and rte_memzone_reserve_aligned expects unique zone names, append PCI address to zone name to make it unique. Sign

RE: [PATCH v2 0/2] rte_dump_stack: improvements

2022-02-14 Thread Morten Brørup
> From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Saturday, 12 February 2022 19.45 > > This is update to earlier RFC. Add some more comments and changes > to have common code for Linux and FreeBSD > > Stephen Hemminger (2): > eal_debug: do not use malloc in rte_dump_stack >

Re: [dpdk-dev] [PATCH v7 1/4] ethdev: support device reset and recovery events

2022-02-14 Thread Thomas Monjalon
14/02/2022 11:16, Ray Kinsella: > Ray Kinsella writes: > > Thomas Monjalon writes: > >> 02/02/2022 12:44, Ray Kinsella: > >>> Ferruh Yigit writes: > >>> > On 1/28/2022 12:48 PM, Kalesh A P wrote: > >>> >> --- a/lib/ethdev/rte_ethdev.h > >>> >> +++ b/lib/ethdev/rte_ethdev.h > >>> >> @@ -3818,6 +3

Re: out of tree driver builds broken with C++

2022-02-14 Thread Thomas Monjalon
14/02/2022 11:45, Bruce Richardson: > On Mon, Feb 14, 2022 at 10:22:08AM +0100, Thomas Monjalon wrote: > > 14/02/2022 10:13, Tyler Retzlaff: > > > while the driver api is "internal" we agreed some time ago that drivers > > > could be built external to the dpdk tree. by enabling the meson setup > >

[PATCH 1/6] net/nfb: add missing libfdt dependency for build

2022-02-14 Thread spinler
From: Martin Spinler The driver uses some FDT manipulation functions from libfdt. Let the build system check for libfdt package. Signed-off-by: Martin Spinler --- drivers/net/nfb/meson.build | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/nfb/meson.build b/drivers/net/nfb

[PATCH 2/6] drivers/nfb: fix array indexes in deinit functions

2022-02-14 Thread spinler
From: Martin Spinler The indexes in the for cycle were wrongly used and the code accessed outside of the rxmac/txmac array. Signed-off-by: Martin Spinler --- drivers/net/nfb/nfb_ethdev.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/net/nfb/nfb_ethd

[PATCH 3/6] drivers/nfb: do not report zero-sized TX burst

2022-02-14 Thread spinler
From: Martin Spinler Zero-sized TX burst floods the log no more. Signed-off-by: Martin Spinler --- drivers/net/nfb/nfb_tx.h | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/net/nfb/nfb_tx.h b/drivers/net/nfb/nfb_tx.h index d3cbe3e6b3..910020e9e9 100644 --- a/driv

[PATCH 4/6] drivers/nfb: use RTE_ETH_RX_OFFLOAD_TIMESTAMP flag

2022-02-14 Thread spinler
From: Martin Spinler Rewrite the RX timestamp setup code to use standard offload flag. Signed-off-by: Martin Spinler --- drivers/net/nfb/nfb.h| 3 +- drivers/net/nfb/nfb_ethdev.c | 19 - drivers/net/nfb/nfb_rx.c | 53 drivers/net/nf

[PATCH 5/6] drivers/nfb: fix multicast/promiscuous mode switching

2022-02-14 Thread spinler
From: Martin Spinler In the firmware, the promisc mode overrides the multicast mode. So when the promisc mode is turned off, driver must check if the multicast mode was active before and conditionally reactivate it. Signed-off-by: Martin Spinler --- drivers/net/nfb/nfb.h| 4 driv

[PATCH 6/6] drivers/nfb: add support for more MAC addresses

2022-02-14 Thread spinler
From: Martin Spinler Extend the eth_dev_ops by add/remove MAC address functions. Signed-off-by: Martin Spinler --- drivers/net/nfb/nfb_ethdev.c | 69 ++-- 1 file changed, 58 insertions(+), 11 deletions(-) diff --git a/drivers/net/nfb/nfb_ethdev.c b/drivers/net/

[PATCH v7 00/50] introduce IWYU

2022-02-14 Thread Sean Morrissey
This patchset introduces the include-what-you-use script which removes unused header includes. IWYU GitHub: https://github.com/include-what-you-use/include-what-you-use Along with the script there are some patches which make a start on removing unneeded headers. V4: * Re-added removed headers th

[PATCH v7 01/50] devtools: script to remove unused headers includes

2022-02-14 Thread Sean Morrissey
This script can be used for removing headers flagged for removal by the include-what-you-use (IWYU) tool. The script has the ability to remove headers from specified sub-directories or dpdk as a whole and tests the build after each removal by calling meson compile. example usages: Remove headers

[PATCH v7 02/50] telemetry: remove unneeded header includes

2022-02-14 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey Acked-by: Ciara Power --- lib/telemetry/telemetry.c | 1 - lib/telemetry/telemetry_data.h | 1 - 2 files changed, 2 deletions(-) diff --git a/lib/telemetry/telemetry.c b/lib/telemetry/telem

[PATCH v7 03/50] ring: remove unneeded header includes

2022-02-14 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/ring/rte_ring.c | 9 - 1 file changed, 9 deletions(-) diff --git a/lib/ring/rte_ring.c b/lib/ring/rte_ring.c index f17bd966be..7945e5d9ed 100644 --- a/lib/ring/rte_ring.c +++ b/li

[PATCH v7 04/50] kvargs: remove unneeded header includes

2022-02-14 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/kvargs/rte_kvargs.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/kvargs/rte_kvargs.c b/lib/kvargs/rte_kvargs.c index 11f624ef14..c77bb82feb 100644 --- a/lib/kvargs/rte_kvargs.c +

[PATCH v7 05/50] eal: remove unneeded header includes

2022-02-14 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey Reviewed-by: Harry van Haaren Reviewed-by: Mattias Rönnblom Reviewed-by: David Christensen --- lib/eal/common/eal_common_dev.c| 5 - lib/eal/common/eal_common_devargs.c| 1 -

[PATCH v7 06/50] vhost: remove unneeded header includes

2022-02-14 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/vhost/fd_man.c | 6 -- lib/vhost/fd_man.h | 1 - lib/vhost/socket.c | 1 - lib/vhost/vdpa.c | 1 - lib/vhost/vhost.c | 4 lib/vhost/vhost.h | 2 -- lib

[PATCH v7 07/50] timer: remove unneeded header includes

2022-02-14 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey Acked-by: Erik Gabriel Carrillo --- lib/timer/rte_timer.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/lib/timer/rte_timer.c b/lib/timer/rte_timer.c index 6d19ce469b..c51a393e5c 10064

[PATCH v7 08/50] table: remove unneeded header includes

2022-02-14 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/table/rte_swx_table_em.c | 1 - lib/table/rte_swx_table_em.h | 1 - lib/table/rte_swx_table_learner.c | 1 - lib/table/rte_swx_table_learner.h | 1 - lib/table/rte_swx_table_

[PATCH v7 09/50] stack: remove unneeded header includes

2022-02-14 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/stack/rte_stack.c | 2 -- lib/stack/rte_stack.h | 1 - 2 files changed, 3 deletions(-) diff --git a/lib/stack/rte_stack.c b/lib/stack/rte_stack.c index 56bf2c8d6d..1fabec2bfe 100644 --- a

[PATCH v7 10/50] security: remove unneeded header includes

2022-02-14 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/security/rte_security.c | 2 -- lib/security/rte_security.h | 3 --- 2 files changed, 5 deletions(-) diff --git a/lib/security/rte_security.c b/lib/security/rte_security.c index 6e45a03fa

[PATCH v7 11/50] sched: remove unneeded header includes

2022-02-14 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/sched/rte_pie.c | 2 -- lib/sched/rte_red.h | 1 - lib/sched/rte_sched.c | 1 - lib/sched/rte_sched.h | 1 - 4 files changed, 5 deletions(-) diff --git a/lib/sched/rte_pie.c b/lib/sch

[PATCH v7 12/50] rib: remove unneeded header includes

2022-02-14 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/rib/rte_rib.c | 2 -- lib/rib/rte_rib.h | 1 - lib/rib/rte_rib6.c | 2 -- lib/rib/rte_rib6.h | 1 - 4 files changed, 6 deletions(-) diff --git a/lib/rib/rte_rib.c b/lib/rib/rte_rib.c in

[PATCH v7 13/50] reorder: remove unneeded header includes

2022-02-14 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/reorder/rte_reorder.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/reorder/rte_reorder.c b/lib/reorder/rte_reorder.c index 9445853b79..f40a48201f 100644 --- a/lib/reorder/rte_reo

[PATCH v7 14/50] regexdev: remove unneeded header includes

2022-02-14 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey Acked-by: Ori Kam --- lib/regexdev/rte_regexdev.c | 2 -- lib/regexdev/rte_regexdev.h | 3 --- 2 files changed, 5 deletions(-) diff --git a/lib/regexdev/rte_regexdev.c b/lib/regexdev/rte_regexde

[PATCH v7 15/50] rcu: remove unneeded header includes

2022-02-14 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/rcu/rte_rcu_qsbr.c | 4 lib/rcu/rte_rcu_qsbr.h | 4 2 files changed, 8 deletions(-) diff --git a/lib/rcu/rte_rcu_qsbr.c b/lib/rcu/rte_rcu_qsbr.c index 7510db2f81..17be93e830 100

[PATCH v7 16/50] rawdev: remove unneeded header includes

2022-02-14 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey Acked-by: Hemant Agrawal --- lib/rawdev/rte_rawdev.c | 14 -- 1 file changed, 14 deletions(-) diff --git a/lib/rawdev/rte_rawdev.c b/lib/rawdev/rte_rawdev.c index a6134e76ea..2f0a4f1

[PATCH v7 17/50] power: remove unneeded header includes

2022-02-14 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Also added rte_string_fns.h to example app vm_power_manager for users without libbsd. Signed-off-by: Sean Morrissey Acked-by: David Hunt --- examples/vm_power_manager/guest_cli/main.c | 1 + lib/power/guest_channel.c

[PATCH v7 18/50] port: remove unneeded header includes

2022-02-14 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/port/rte_port_fd.h | 1 - lib/port/rte_port_frag.c| 2 -- lib/port/rte_port_frag.h| 1 - lib/port/rte_port_kni.c | 1 - lib/port/rte_port_kni.h | 1

[PATCH v7 19/50] pipeline: remove unneeded header includes

2022-02-14 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/pipeline/rte_pipeline.c | 4 lib/pipeline/rte_port_in_action.c| 2 -- lib/pipeline/rte_swx_ctl.h | 2 -- lib/pipeline/rte_swx_pipeline.c | 1 - lib/pipelin

[PATCH v7 20/50] pdump: remove unneeded header includes

2022-02-14 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/pdump/rte_pdump.c | 1 - lib/pdump/rte_pdump.h | 2 -- 2 files changed, 3 deletions(-) diff --git a/lib/pdump/rte_pdump.c b/lib/pdump/rte_pdump.c index af450695ec..b3a62df591 100644 --- a

[PATCH v7 21/50] pci: remove unneeded header includes

2022-02-14 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/pci/rte_pci.c | 15 +-- lib/pci/rte_pci.h | 1 - 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/lib/pci/rte_pci.c b/lib/pci/rte_pci.c index c91be8b167..355772f

[PATCH v7 22/50] pcapng: remove unneeded header includes

2022-02-14 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey Acked-by: Stephen Hemminger --- lib/pcapng/rte_pcapng.c | 1 - lib/pcapng/rte_pcapng.h | 2 -- 2 files changed, 3 deletions(-) diff --git a/lib/pcapng/rte_pcapng.c b/lib/pcapng/rte_pcapng.c inde

[PATCH v7 23/50] node: remove unneeded header includes

2022-02-14 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/node/ethdev_ctrl.c | 2 -- lib/node/ethdev_rx.c | 1 - lib/node/ethdev_tx.c | 1 - lib/node/ip4_lookup.c | 5 - lib/node/ip4_rewrite.c | 4 lib/node/pkt_cls.c | 4 l

[PATCH v7 24/50] net: remove unneeded header includes

2022-02-14 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/net/net_crc_avx512.c | 3 --- lib/net/net_crc_sse.c| 1 - lib/net/rte_arp.c| 1 - lib/net/rte_ether.h | 1 - lib/net/rte_net.h| 1 - lib/net/rte_net_crc.c| 2 -

[PATCH v7 26/50] mempool: remove unneeded header includes

2022-02-14 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/mempool/rte_mempool.c | 7 --- lib/mempool/rte_mempool.h | 4 2 files changed, 11 deletions(-) diff --git a/lib/mempool/rte_mempool.c b/lib/mempool/rte_mempool.c index c5a699b1d6

[PATCH v7 25/50] metrics: remove unneeded header includes

2022-02-14 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/metrics/rte_metrics.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/metrics/rte_metrics.c b/lib/metrics/rte_metrics.c index e2a0fbeda8..0c7878e65f 100644 --- a/lib/metrics/rte_

[PATCH v7 27/50] member: remove unneeded header includes

2022-02-14 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/member/rte_member.c | 2 -- lib/member/rte_member.h | 1 - lib/member/rte_member_vbf.c | 1 - 3 files changed, 4 deletions(-) diff --git a/lib/member/rte_member.c b/lib/member/rte

[PATCH v7 28/50] mbuf: remove unneeded header includes

2022-02-14 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/mbuf/rte_mbuf.c | 11 --- lib/mbuf/rte_mbuf.h | 2 -- lib/mbuf/rte_mbuf_dyn.h | 2 -- lib/mbuf/rte_mbuf_pool_ops.c | 1 - lib/mbuf/rte_mbuf_pool_ops.h |

[PATCH v7 29/50] lpm: remove unneeded header includes

2022-02-14 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/lpm/rte_lpm.c | 7 --- lib/lpm/rte_lpm.h | 4 lib/lpm/rte_lpm6.c | 7 --- lib/lpm/rte_lpm6.h | 1 - 4 files changed, 19 deletions(-) diff --git a/lib/lpm/rte_lpm.c b/lib/lp

[PATCH v7 30/50] latencystats: remove unneeded header includes

2022-02-14 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/latencystats/rte_latencystats.c | 4 1 file changed, 4 deletions(-) diff --git a/lib/latencystats/rte_latencystats.c b/lib/latencystats/rte_latencystats.c index ab8db7a139..8985a377

[PATCH v7 31/50] kni: remove unneeded header includes

2022-02-14 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/kni/rte_kni.c | 2 -- lib/kni/rte_kni.h | 2 -- 2 files changed, 4 deletions(-) diff --git a/lib/kni/rte_kni.c b/lib/kni/rte_kni.c index fc8f0e7b5a..7971c56bb4 100644 --- a/lib/kni/rte_kn

[PATCH v7 32/50] jobstats: remove unneeded header includes

2022-02-14 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/jobstats/rte_jobstats.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/jobstats/rte_jobstats.c b/lib/jobstats/rte_jobstats.c index 9b8fde5d55..af565a14ea 100644 --- a/lib/jobsta

[PATCH v7 33/50] ipsec: remove unneeded header includes

2022-02-14 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/ipsec/esp_inb.c | 1 - lib/ipsec/esp_outb.c | 1 - lib/ipsec/ipsec_sad.c | 1 - lib/ipsec/sa.c| 3 --- lib/ipsec/sa.h| 1 - 5 files changed, 7 deletions(-) diff --git a

[PATCH v7 34/50] ip_frag: remove unneeded header includes

2022-02-14 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/ip_frag/rte_ip_frag_common.c | 1 - lib/ip_frag/rte_ipv4_fragmentation.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/lib/ip_frag/rte_ip_frag_common.c b/lib/ip_frag/rte_ip_fra

[PATCH v7 35/50] hash: remove unneeded header includes

2022-02-14 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/hash/rte_cuckoo_hash.c | 4 lib/hash/rte_fbk_hash.c| 6 -- lib/hash/rte_fbk_hash.h| 1 - lib/hash/rte_thash.c | 1 - lib/hash/rte_thash.h | 1 - 5 files change

[PATCH v7 36/50] gro: remove unneeded header includes

2022-02-14 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/gro/gro_tcp4.c | 1 - lib/gro/gro_tcp4.h | 2 -- lib/gro/gro_udp4.c | 1 - lib/gro/gro_udp4.h | 2 -- lib/gro/gro_vxlan_tcp4.c | 1 - lib/gro/gro_vxlan_udp4.c | 1 -

[PATCH v7 37/50] graph: remove unneeded header includes

2022-02-14 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/graph/graph_debug.c| 2 -- lib/graph/graph_ops.c | 1 - lib/graph/graph_populate.c | 2 -- lib/graph/node.c | 1 - 4 files changed, 6 deletions(-) diff --git a/lib/grap

[PATCH v7 38/50] gpudev: remove unneeded header includes

2022-02-14 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/gpudev/gpudev.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/gpudev/gpudev.c b/lib/gpudev/gpudev.c index 59e2169292..1083a3003e 100644 --- a/lib/gpudev/gpudev.c +++ b/lib/gpudev/

[PATCH v7 39/50] flow_classify: remove unneeded header includes

2022-02-14 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/flow_classify/rte_flow_classify.c | 3 --- lib/flow_classify/rte_flow_classify.h | 4 lib/flow_classify/rte_flow_classify_parse.c | 1 - lib/flow_classify/rte_flow_classif

[PATCH v7 40/50] fib: remove unneeded header includes

2022-02-14 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/fib/dir24_8.c | 4 lib/fib/rte_fib.c | 2 -- lib/fib/rte_fib.h | 1 - lib/fib/rte_fib6.c | 2 -- lib/fib/rte_fib6.h | 1 - lib/fib/trie.c | 5 - lib/fib/trie.h | 2 --

[PATCH v7 41/50] eventdev: remove unneeded header includes

2022-02-14 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/eventdev/rte_event_ring.c | 6 -- lib/eventdev/rte_event_ring.h | 2 -- lib/eventdev/rte_event_timer_adapter.c | 5 - lib/eventdev/rte_event_timer_adapter.h |

[PATCH v7 42/50] efd: remove unneeded header includes

2022-02-14 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/efd/rte_efd.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/efd/rte_efd.c b/lib/efd/rte_efd.c index 86ef46863c..560cd78961 100644 --- a/lib/efd/rte_efd.c +++ b/lib/efd/rte_efd.

[PATCH v7 43/50] dmadev: remove unneeded header includes

2022-02-14 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/dmadev/rte_dmadev.h | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/dmadev/rte_dmadev.h b/lib/dmadev/rte_dmadev.h index 4abe79c536..ad9e7a0975 100644 --- a/lib/dmadev/rte_dmadev.h +

[PATCH v7 44/50] distributor: remove unneeded header includes

2022-02-14 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey Acked-by: David Hunt --- lib/distributor/rte_distributor.c | 2 -- lib/distributor/rte_distributor_match_sse.c | 2 -- lib/distributor/rte_distributor_single.c| 2 -- 3 files change

[PATCH v7 45/50] compressdev: remove unneeded header includes

2022-02-14 Thread Sean Morrissey
These header includes have been flagged by the iwyu_tool and removed. Signed-off-by: Sean Morrissey --- lib/compressdev/rte_comp.c| 1 - lib/compressdev/rte_comp.h| 1 - lib/compressdev/rte_compressdev.c | 1 - lib/compressdev/rte_compressdev.h | 1 - lib/compress

  1   2   3   >