[PATCH v7 04/12] app/graph: add mempool command line interfaces

2023-09-27 Thread skori
From: Rakesh Kudurumalla It adds mempool module which will be creating mempools. Following commands are exposed: - mempool size buffers \ cache numa - help mempool User will add this command in .cli file according to its need. Signed-off-by: Sunil Kumar Kori Signed-off-by: Rake

[PATCH v7 05/12] app/graph: add ethdev command line interfaces

2023-09-27 Thread skori
From: Sunil Kumar Kori It adds ethdev module to configure ethernet devices. Following commands are exposed: - ethdev rxq txq - ethdev mtu - ethdev promiscuous - ethdev show - ethdev stats - ethdev ip4 addr add netmask - ethdev ip6 addr add netmask - help ethdev Signed-of

[PATCH v7 06/12] app/graph: add ipv4_lookup command line interfaces

2023-09-27 Thread skori
From: Sunil Kumar Kori It adds ipv4_lookup module to configure LPM table. This LPM table will be used for IPv4 lookup and forwarding. Following commands are exposed: - ipv4_lookup route add ipv4 netmask via - help ipv4_lookup Signed-off-by: Sunil Kumar Kori Signed-off-by: Rakesh Kudurumal

[PATCH v7 07/12] app/graph: add ipv6_lookup command line interfaces

2023-09-27 Thread skori
From: Rakesh Kudurumalla It adds ipv6_lookup module to configure LPM6 table. This LPM6 table will be used for IPv6 lookup and forwarding. Following commands are exposed: - ipv6_lookup route add ipv6 netmask via - help ipv6_lookup Signed-off-by: Sunil Kumar Kori Signed-off-by: Rakesh Kudur

[PATCH v7 08/12] app/graph: add neigh command line interfaces

2023-09-27 Thread skori
From: Sunil Kumar Kori It adds neigh module to configure arp/neigh. This module uses ipv4_rewrite and ipv6_rewrite node to write neigh information. Following commands are exposed: - neigh add ipv4 - neigh add ipv6 - help neigh Signed-off-by: Sunil Kumar Kori Signed-off-by: Rakesh Kuduru

[PATCH v7 09/12] app/graph: add ethdev_rx command line interfaces

2023-09-27 Thread skori
From: Rakesh Kudurumalla It adds ethdev_rx module to create port-queue-core mapping. Mapping will be used to launch graph worker thread and dequeue packets on mentioned core from desired port/queue. Following commands are exposed: - ethdev_rx map port queue core - help ethdev_rx Signed-of

[PATCH v7 10/12] app/graph: add graph command line interfaces

2023-09-27 Thread skori
From: Rakesh Kudurumalla It adds graph module to create a graph for a given use case like l3fwd. Following commands are exposed: - graph [bsz ] [tmo ] [coremask ] \ model pcap_enable <0 | 1> num_pcap_pkts \ pcap_file - graph start - graph stats show - help graph Signed-o

[PATCH v7 11/12] app/graph: add CLI option to enable graph stats

2023-09-27 Thread skori
From: Sunil Kumar Kori It adds application's command line parameter "--enable-graph-stats" to enable dumping graph stats on console. By default, no graph stats will be printed on console but same can be dumped via telnet session using "graph stats show" command. Signed-off-by: Sunil Kumar Kori

[PATCH v7 12/12] app/graph: add l3fwd use case

2023-09-27 Thread skori
From: Rakesh Kudurumalla It adds an use case l3fwd. It contains a dedicated l3fwd.cli file mentioning commands to configure the required resources. Once application successfully parses the l3fwd.cli then a graph is created having below nodes: - ethdev_rx -> pkt_cls - pkt_cls -> ip4_lookup -

[PATCH v4 1/1] app/testpmd: support different input color method

2022-06-14 Thread skori
From: Sunil Kumar Kori To enable input coloring, based on VLAN or DSCP, patch adds command line interface to configure the following: - configuring input coloring using VLAN or DSCP while creating meter i.e. during rte_mtr_create() - Update VLAN input coloring table at runtime. - configu

[PATCH v2 1/2] common/cnxk: update precolor table setup for VLAN

2022-06-16 Thread skori
From: Sunil Kumar Kori As per new spec in DPDK, VLAN priority is supported for precoloring of input packet. Depends-on: patch-23516 ("app/testpmd: support different input color method") Signed-off-by: Sunil Kumar Kori --- v1..v2: - Aligned with latest input color spec. drivers/common/cnxk/r

[PATCH v2 2/2] net/cnxk: support ops to update precolor VLAN table

2022-06-16 Thread skori
From: Sunil Kumar Kori Implement API to update VLAN table for pre-coloring for incoming packet per nixlf for CN10K platform. Depends-on: patch-23516 ("app/testpmd: support different input color method") Signed-off-by: Sunil Kumar Kori --- v1..v2: - Aligned with latest input color spec. driv

[PATCH v3 1/2] common/cnxk: update precolor table setup for VLAN

2022-06-16 Thread skori
From: Sunil Kumar Kori As per new spec in DPDK, VLAN priority is supported for precoloring of input packet. Depends-on: patch-23516 ("app/testpmd: support different input color method") Signed-off-by: Sunil Kumar Kori --- v2..v3: - No changes. v1..v2: - Aligned with latest input color spec.

[PATCH v3 2/2] net/cnxk: support ops to update precolor VLAN table

2022-06-16 Thread skori
From: Sunil Kumar Kori Implement API to update VLAN table for pre-coloring for incoming packet per nixlf for CN10K platform. Depends-on: patch-23516 ("app/testpmd: support different input color method") Signed-off-by: Sunil Kumar Kori --- v2..v3: - Fix dscp table runtime update error. v1..v2

[PATCH v4 1/2] common/cnxk: update precolor table setup for VLAN

2022-06-21 Thread skori
From: Sunil Kumar Kori As per new spec in DPDK, VLAN priority is supported for precoloring of input packet. Signed-off-by: Sunil Kumar Kori --- v3..v4: - Remove Depends On tag from commit message. v2..v3: - No changes. v1..v2: - Aligned with latest input color spec. drivers/common/cnxk/ro

[PATCH v4 2/2] net/cnxk: support ops to update precolor VLAN table

2022-06-21 Thread skori
From: Sunil Kumar Kori Implement API to update VLAN table for pre-coloring for incoming packet per nixlf for CN10K platform. Signed-off-by: Sunil Kumar Kori --- v3..v4: - Remove Depends On tag from commit log. - Rebase on top of dpdk-next-net/main. - Fix clang build failures. v2..v3: - Fix

[PATCH v5 1/1] app/testpmd: support different input color method

2022-06-23 Thread skori
From: Sunil Kumar Kori To enable input coloring, based on VLAN or DSCP, patch adds command line interface to configure the following: - configuring input coloring using VLAN or DSCP while creating meter i.e. during rte_mtr_create() - Update VLAN input coloring table at runtime. - configu

[PATCH 2/2] bus/pci: support region based device mapping

2022-06-28 Thread skori
From: Sunil Kumar Kori This commit allows driver to define a list of sparse memory regions to map for a given device instead mapping the whole BAR. To do that, a driver must register itself with following information: * rte_pci_driver::drv_flags - RTE_PCI_DRV_NEED_REGION_MAPPING must be set.

[PATCH 1/2] doc: announce region based device mapping support

2022-06-28 Thread skori
From: Sunil Kumar Kori Adding region based device mapping support, which enables pci device to map only required memory region instead of mapping full BAR. Signed-off-by: Sunil Kumar Kori --- doc/guides/rel_notes/deprecation.rst | 13 + 1 file changed, 13 insertions(+) diff --git

[PATCH] ethdev: add protocol param to color table update

2022-07-06 Thread skori
From: Sunil Kumar Kori Using rte_mtr_color_in_protocol_set(), user can configure combination of protocol headers, like outer_vlan and outer_ip, can be enabled on given meter object. But rte_mtr_meter_vlan_table_update() and rte_mtr_meter_dscp_table_update() do not have information that which tab

[PATCH v1 2/2] app/testpmd: add queue based pfc CLI options

2022-01-09 Thread skori
From: Sunil Kumar Kori Patch adds command line options to configure queue based priority flow control. - Syntax command is given as below: set pfc_queue_ctrl rx\ tx - Example command to configure queue based priority flow control on rx and tx side for port 0, Rx queue 0, Tx

[PATCH v1 1/2] ethdev: support queue-based priority flow control

2022-01-09 Thread skori
From: Sunil Kumar Kori Based on device support and use-case need, there are two different ways to enable PFC. The first case is the port level PFC configuration, in this case, rte_eth_dev_priority_flow_ctrl_set() API shall be used to configure the PFC, and PFC frames will be generated using based

[PATCH v1 2/2] app/testpmd: add queue based pfc CLI options

2022-01-09 Thread skori
From: Sunil Kumar Kori Patch adds command line options to configure queue based priority flow control. - Syntax command is given as below: set pfc_queue_ctrl rx\ tx - Example command to configure queue based priority flow control on rx and tx side for port 0, Rx queue 0, Tx

[PATCH v1 1/2] ethdev: support queue-based priority flow control

2022-01-09 Thread skori
From: Sunil Kumar Kori Based on device support and use-case need, there are two different ways to enable PFC. The first case is the port level PFC configuration, in this case, rte_eth_dev_priority_flow_ctrl_set() API shall be used to configure the PFC, and PFC frames will be generated using based

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

2022-01-09 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 --- drivers/common/cnxk

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

2022-01-09 Thread skori
From: Sunil Kumar Kori Patch implements priority flow control support for CNXK platforms. Signed-off-by: Sunil Kumar Kori --- drivers/net/cnxk/cnxk_ethdev.c | 19 drivers/net/cnxk/cnxk_ethdev.h | 16 +++ drivers/net/cnxk/cnxk_ethdev_ops.c | 177 +++-- 3 f

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

2022-01-11 Thread skori
From: Sunil Kumar Kori Patch implements priority flow control support for CNXK platforms. Signed-off-by: Sunil Kumar Kori --- v2: - fix application restart issue. drivers/net/cnxk/cnxk_ethdev.c | 27 + drivers/net/cnxk/cnxk_ethdev.h | 16 +++ drivers/net/cnxk/cnxk_ethdev_ops.c

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

2022-01-11 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 --- v2: - fix RoC API n

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

2022-01-18 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. drivers/net/cnxk/cnxk_ethdev.c | 27 +

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

2022-01-18 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

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

2022-01-20 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 v4 1/2] common/cnxk: support priority flow ctrl config API

2022-01-20 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

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

2022-01-25 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

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

2022-01-25 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 v6 2/2] net/cnxk: support priority flow control

2022-01-28 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 v6 1/2] common/cnxk: support priority flow ctrl config API

2022-01-28 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

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

2022-02-07 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 v7 1/2] common/cnxk: support priority flow ctrl config API

2022-02-07 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

[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

[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

[dpdk-dev] [PATCH v4 00/28] Support ingress policer

2021-10-11 Thread skori
From: Sunil Kumar Kori Series adds support for ingress meter for CN10K platform. Series is divided in following two logical implementation: - common/cnxk: It implements RoC APIs over MBOX interfaces which are by network drivers. common/cnxk: update policer MBOX APIs and HW definitions

[dpdk-dev] [PATCH v4 01/28] common/cnxk: update policer MBOX APIs and HW definitions

2021-10-11 Thread skori
From: Sunil Kumar Kori To support ingress policer on CN10K, MBOX interfaces and HW definitions are synced. Signed-off-by: Sunil Kumar Kori Acked-by: Ray Kinsella --- v4: - Rebase support on dpdk-next-net-mrvl branch - Handled meter action during flow destroy - Handled meter cleanup during p

[dpdk-dev] [PATCH v4 02/28] common/cnxk: support RoC API to get level to index

2021-10-11 Thread skori
From: Sunil Kumar Kori CN10K platform supports policer up to 3 level of hierarchy. Implement RoC API to get corresponding index for given level. Signed-off-by: Sunil Kumar Kori --- v4: - Rebase support on dpdk-next-net-mrvl branch - Handled meter action during flow destroy - Handled meter cl

[dpdk-dev] [PATCH v4 03/28] common/cnxk: support RoC API to get profile count

2021-10-11 Thread skori
From: Sunil Kumar Kori Implement interface to get available profile count for given nixlf. Signed-off-by: Sunil Kumar Kori --- v4: - Rebase support on dpdk-next-net-mrvl branch - Handled meter action during flow destroy - Handled meter cleanup during port shutdown v3: - Rebase support on

[dpdk-dev] [PATCH v4 04/28] common/cnxk: support RoC API to alloc bandwidth profiles

2021-10-11 Thread skori
From: Sunil Kumar Kori Implement RoC API to allocate HW resources i.e. bandwidth profiles for policer processing on CN10K platform. Signed-off-by: Sunil Kumar Kori --- v4: - Rebase support on dpdk-next-net-mrvl branch - Handled meter action during flow destroy - Handled meter cleanup during

[dpdk-dev] [PATCH v4 05/28] common/cnxk: support RoC API to free bandwidth profiles

2021-10-11 Thread skori
From: Sunil Kumar Kori Implement RoC interface to free HW bandwidth profiles on CN10K platform. Signed-off-by: Sunil Kumar Kori --- v4: - Rebase support on dpdk-next-net-mrvl branch - Handled meter action during flow destroy - Handled meter cleanup during port shutdown v3: - Rebase suppor

[dpdk-dev] [PATCH v4 06/28] common/cnxk: support RoC API to configure bandwidth profile

2021-10-11 Thread skori
From: Sunil Kumar Kori Implement RoC API to configure HW bandwidth profile for CN10K platform. Signed-off-by: Sunil Kumar Kori --- v4: - Rebase support on dpdk-next-net-mrvl branch - Handled meter action during flow destroy - Handled meter cleanup during port shutdown v3: - Rebase support

[dpdk-dev] [PATCH v4 07/28] common/cnxk: support RoC API to toggle profile state

2021-10-11 Thread skori
From: Sunil Kumar Kori Implement RoC API to enable or disable HW bandwidth profiles on CN10K platform. Signed-off-by: Sunil Kumar Kori --- v4: - Rebase support on dpdk-next-net-mrvl branch - Handled meter action during flow destroy - Handled meter cleanup during port shutdown v3: - Rebase

[dpdk-dev] [PATCH v4 08/28] common/cnxk: support RoC API to dump bandwidth profile

2021-10-11 Thread skori
From: Sunil Kumar Kori Implement RoC API to dump bandwidth profile on CN10K platform. Signed-off-by: Sunil Kumar Kori --- v4: - Rebase support on dpdk-next-net-mrvl branch - Handled meter action during flow destroy - Handled meter cleanup during port shutdown v3: - Rebase support on lates

[dpdk-dev] [PATCH v4 09/28] common/cnxk: support RoC API to setup precolor table

2021-10-11 Thread skori
From: Sunil Kumar Kori For initial coloring of input packet, CN10K platform maintains precolor table for VLAN, DSCP and Generic. Implement RoC interface to setup pre color table. Signed-off-by: Sunil Kumar Kori --- v4: - Rebase support on dpdk-next-net-mrvl branch - Handled meter action durin

[dpdk-dev] [PATCH v4 10/28] common/cnxk: support RoC API to connect bandwidth profiles

2021-10-11 Thread skori
From: Sunil Kumar Kori To maintain chain of bandwidth profiles, they needs to be connected. Implement RoC API to connect two bandwidth profiles at different levels. Signed-off-by: Sunil Kumar Kori --- v4: - Rebase support on dpdk-next-net-mrvl branch - Handled meter action during flow destroy

[dpdk-dev] [PATCH v4 11/28] common/cnxk: support RoC API to get stats to index

2021-10-11 Thread skori
From: Sunil Kumar Kori CN10K platform supports different stats for HW bandwidth profiles. Implement RoC API to get index for given stats type. Signed-off-by: Sunil Kumar Kori --- v4: - Rebase support on dpdk-next-net-mrvl branch - Handled meter action during flow destroy - Handled meter clea

[dpdk-dev] [PATCH v4 12/28] common/cnxk: support RoC API to read profile statistics

2021-10-11 Thread skori
From: Sunil Kumar Kori CN10K platform provides statistics per bandwidth profile and per nixlf. Implement RoC API to read stats for given bandwidth profile. Signed-off-by: Sunil Kumar Kori --- v4: - Rebase support on dpdk-next-net-mrvl branch - Handled meter action during flow destroy - Handl

[dpdk-dev] [PATCH v4 13/28] common/cnxk: support RoC API to reset profile stats

2021-10-11 Thread skori
From: Sunil Kumar Kori Implement RoC API to reset stats per bandwidth profile or per nixlf. Signed-off-by: Sunil Kumar Kori --- v4: - Rebase support on dpdk-next-net-mrvl branch - Handled meter action during flow destroy - Handled meter cleanup during port shutdown v3: - Rebase support on

[dpdk-dev] [PATCH v4 14/28] common/cnxk: support meter in action list

2021-10-11 Thread skori
From: Sunil Kumar Kori Meter action is added in supported action list. Signed-off-by: Sunil Kumar Kori --- v4: - Rebase support on dpdk-next-net-mrvl branch - Handled meter action during flow destroy - Handled meter cleanup during port shutdown v3: - Rebase support on latest DPDK - Handl

[dpdk-dev] [PATCH v4 15/28] net/cnxk: support meter ops get API

2021-10-11 Thread skori
From: Sunil Kumar Kori To enable support for ingress meter, supported operations are exposed for CNXK platform. Signed-off-by: Sunil Kumar Kori Signed-off-by: Rakesh Kudurumalla --- v4: - Rebase support on dpdk-next-net-mrvl branch - Handled meter action during flow destroy - Handled meter

[dpdk-dev] [PATCH v4 16/28] net/cnxk: support ops to get meter capabilities

2021-10-11 Thread skori
From: Sunil Kumar Kori Implement ethdev operation to get meter capabilities for CNXK platform. Signed-off-by: Sunil Kumar Kori Signed-off-by: Rakesh Kudurumalla --- v4: - Rebase support on dpdk-next-net-mrvl branch - Handled meter action during flow destroy - Handled meter cleanup during po

[dpdk-dev] [PATCH v4 17/28] net/cnxk: support ops to create meter profile

2021-10-11 Thread skori
From: Sunil Kumar Kori Implement API to add meter profile for CNXK platform. Signed-off-by: Sunil Kumar Kori Signed-off-by: Rakesh Kudurumalla --- v4: - Rebase support on dpdk-next-net-mrvl branch - Handled meter action during flow destroy - Handled meter cleanup during port shutdown v3:

[dpdk-dev] [PATCH v4 18/28] net/cnxk: support ops to delete meter profile

2021-10-11 Thread skori
From: Sunil Kumar Kori Implement API to delete meter profile for CNXK platform. Signed-off-by: Sunil Kumar Kori Signed-off-by: Rakesh Kudurumalla --- v4: - Rebase support on dpdk-next-net-mrvl branch - Handled meter action during flow destroy - Handled meter cleanup during port shutdown v

[dpdk-dev] [PATCH v4 19/28] net/cnxk: support ops to validate meter policy

2021-10-11 Thread skori
From: Sunil Kumar Kori Implement API to validate meter policy for CNXK platform. Signed-off-by: Sunil Kumar Kori Signed-off-by: Rakesh Kudurumalla --- v4: - Rebase support on dpdk-next-net-mrvl branch - Handled meter action during flow destroy - Handled meter cleanup during port shutdown

[dpdk-dev] [PATCH v4 20/28] net/cnxk: support ops to create meter policy

2021-10-11 Thread skori
From: Sunil Kumar Kori Implement API to add meter policy for CNXK platform. Signed-off-by: Sunil Kumar Kori Signed-off-by: Rakesh Kudurumalla --- v4: - Rebase support on dpdk-next-net-mrvl branch - Handled meter action during flow destroy - Handled meter cleanup during port shutdown v3:

[dpdk-dev] [PATCH v4 21/28] net/cnxk: support ops to delete meter policy

2021-10-11 Thread skori
From: Sunil Kumar Kori Implement API to delete meter policy for CNXK platform. Signed-off-by: Sunil Kumar Kori Signed-off-by: Rakesh Kudurumalla --- v4: - Rebase support on dpdk-next-net-mrvl branch - Handled meter action during flow destroy - Handled meter cleanup during port shutdown v3

[dpdk-dev] [PATCH v4 22/28] net/cnxk: support ops to create meter

2021-10-11 Thread skori
From: Sunil Kumar Kori Implement API to create meter instance for CNXK platform. Signed-off-by: Sunil Kumar Kori Signed-off-by: Rakesh Kudurumalla --- v4: - Rebase support on dpdk-next-net-mrvl branch - Handled meter action during flow destroy - Handled meter cleanup during port shutdown

[dpdk-dev] [PATCH v4 23/28] net/cnxk: support ops to delete meter

2021-10-11 Thread skori
From: Sunil Kumar Kori Implement API to delete meter instance for CNXK platform. Signed-off-by: Sunil Kumar Kori Signed-off-by: Rakesh Kudurumalla --- v4: - Rebase support on dpdk-next-net-mrvl branch - Handled meter action during flow destroy - Handled meter cleanup during port shutdown

[dpdk-dev] [PATCH v4 24/28] net/cnxk: support ops to enable/disable meter

2021-10-11 Thread skori
From: Sunil Kumar Kori Implement API to enable or disable meter instance for CNXK platform. Signed-off-by: Sunil Kumar Kori Signed-off-by: Rakesh Kudurumalla --- v4: - Rebase support on dpdk-next-net-mrvl branch - Handled meter action during flow destroy - Handled meter cleanup during port

[dpdk-dev] [PATCH v4 25/28] net/cnxk: support ops to update precolor DSCP table

2021-10-11 Thread skori
From: Sunil Kumar Kori Implement API to update DSCP table for pre-coloring for incoming packet per nixlf for CNXK platform. Signed-off-by: Sunil Kumar Kori Signed-off-by: Rakesh Kudurumalla --- v4: - Rebase support on dpdk-next-net-mrvl branch - Handled meter action during flow destroy - Ha

[dpdk-dev] [PATCH v4 26/28] net/cnxk: support ops to read/update meter stats

2021-10-11 Thread skori
From: Sunil Kumar Kori Implement API to read and update stats corresponding to given meter instance for CNXK platform. Signed-off-by: Sunil Kumar Kori Signed-off-by: Rakesh Kudurumalla --- v4: - Rebase support on dpdk-next-net-mrvl branch - Handled meter action during flow destroy - Handled

[dpdk-dev] [PATCH v4 27/28] net/cnxk: support meter action to flow create

2021-10-11 Thread skori
From: Sunil Kumar Kori Meters are configured per flow using rte_flow_create API. Implement support for meter action applied on the flow. Signed-off-by: Sunil Kumar Kori Signed-off-by: Rakesh Kudurumalla --- v4: - Rebase support on dpdk-next-net-mrvl branch - Handled meter action during flow

[dpdk-dev] [PATCH v4 28/28] net/cnxk: support meter action to flow destroy

2021-10-11 Thread skori
From: Sunil Kumar Kori Meters are configured per flow using rte_flow_create API. Patch adds support for destroy operation for meter action applied on the flow. Signed-off-by: Sunil Kumar Kori Signed-off-by: Rakesh Kudurumalla --- v4: - Rebase support on dpdk-next-net-mrvl branch - Handled me

[dpdk-dev] [PATCH v5 00/28] Support ingress policer

2021-10-12 Thread skori
From: Sunil Kumar Kori Series adds support for ingress meter for CN10K platform. Series is divided in following two logical implementation: - common/cnxk: It implements RoC APIs over MBOX interfaces which are by network drivers. common/cnxk: update policer MBOX APIs and HW definitions

[dpdk-dev] [PATCH v5 01/28] common/cnxk: update policer MBOX APIs and HW definitions

2021-10-12 Thread skori
From: Sunil Kumar Kori To support ingress policer on CN10K, MBOX interfaces and HW definitions are synced. Signed-off-by: Sunil Kumar Kori Acked-by: Ray Kinsella --- v5: - Fix checkpatch errors - Fix patch apply errors v4: - Rebase support on dpdk-next-net-mrvl branch - Handled meter acti

[dpdk-dev] [PATCH v5 02/28] common/cnxk: support RoC API to get level to index

2021-10-12 Thread skori
From: Sunil Kumar Kori CN10K platform supports policer up to 3 level of hierarchy. Implement RoC API to get corresponding index for given level. Signed-off-by: Sunil Kumar Kori --- v5: - Fix checkpatch errors - Fix patch apply errors v4: - Rebase support on dpdk-next-net-mrvl branch - Hand

[dpdk-dev] [PATCH v5 03/28] common/cnxk: support RoC API to get profile count

2021-10-12 Thread skori
From: Sunil Kumar Kori Implement interface to get available profile count for given nixlf. Signed-off-by: Sunil Kumar Kori --- v5: - Fix checkpatch errors - Fix patch apply errors v4: - Rebase support on dpdk-next-net-mrvl branch - Handled meter action during flow destroy - Handled meter

[dpdk-dev] [PATCH v5 04/28] common/cnxk: support RoC API to alloc bandwidth profiles

2021-10-12 Thread skori
From: Sunil Kumar Kori Implement RoC API to allocate HW resources i.e. bandwidth profiles for policer processing on CN10K platform. Signed-off-by: Sunil Kumar Kori --- v5: - Fix checkpatch errors - Fix patch apply errors v4: - Rebase support on dpdk-next-net-mrvl branch - Handled meter act

[dpdk-dev] [PATCH v5 05/28] common/cnxk: support RoC API to free bandwidth profiles

2021-10-12 Thread skori
From: Sunil Kumar Kori Implement RoC interface to free HW bandwidth profiles on CN10K platform. Signed-off-by: Sunil Kumar Kori --- v5: - Fix checkpatch errors - Fix patch apply errors v4: - Rebase support on dpdk-next-net-mrvl branch - Handled meter action during flow destroy - Handled m

[dpdk-dev] [PATCH v5 06/28] common/cnxk: support RoC API to configure bandwidth profile

2021-10-12 Thread skori
From: Sunil Kumar Kori Implement RoC API to configure HW bandwidth profile for CN10K platform. Signed-off-by: Sunil Kumar Kori --- v5: - Fix checkpatch errors - Fix patch apply errors v4: - Rebase support on dpdk-next-net-mrvl branch - Handled meter action during flow destroy - Handled me

[dpdk-dev] [PATCH v5 07/28] common/cnxk: support RoC API to toggle profile state

2021-10-12 Thread skori
From: Sunil Kumar Kori Implement RoC API to enable or disable HW bandwidth profiles on CN10K platform. Signed-off-by: Sunil Kumar Kori --- v5: - Fix checkpatch errors - Fix patch apply errors v4: - Rebase support on dpdk-next-net-mrvl branch - Handled meter action during flow destroy - Ha

[dpdk-dev] [PATCH v5 08/28] common/cnxk: support RoC API to dump bandwidth profile

2021-10-12 Thread skori
From: Sunil Kumar Kori Implement RoC API to dump bandwidth profile on CN10K platform. Signed-off-by: Sunil Kumar Kori --- v5: - Fix checkpatch errors - Fix patch apply errors v4: - Rebase support on dpdk-next-net-mrvl branch - Handled meter action during flow destroy - Handled meter clean

[dpdk-dev] [PATCH v5 09/28] common/cnxk: support RoC API to setup precolor table

2021-10-12 Thread skori
From: Sunil Kumar Kori For initial coloring of input packet, CN10K platform maintains precolor table for VLAN, DSCP and Generic. Implement RoC interface to setup pre color table. Signed-off-by: Sunil Kumar Kori --- v5: - Fix checkpatch errors - Fix patch apply errors v4: - Rebase support on

[dpdk-dev] [PATCH v5 10/28] common/cnxk: support RoC API to connect bandwidth profiles

2021-10-12 Thread skori
From: Sunil Kumar Kori To maintain chain of bandwidth profiles, they needs to be connected. Implement RoC API to connect two bandwidth profiles at different levels. Signed-off-by: Sunil Kumar Kori --- v5: - Fix checkpatch errors - Fix patch apply errors v4: - Rebase support on dpdk-next-net

[dpdk-dev] [PATCH v5 11/28] common/cnxk: support RoC API to get stats to index

2021-10-12 Thread skori
From: Sunil Kumar Kori CN10K platform supports different stats for HW bandwidth profiles. Implement RoC API to get index for given stats type. Signed-off-by: Sunil Kumar Kori --- v5: - Fix checkpatch errors - Fix patch apply errors v4: - Rebase support on dpdk-next-net-mrvl branch - Handle

[dpdk-dev] [PATCH v5 12/28] common/cnxk: support RoC API to read profile statistics

2021-10-12 Thread skori
From: Sunil Kumar Kori CN10K platform provides statistics per bandwidth profile and per nixlf. Implement RoC API to read stats for given bandwidth profile. Signed-off-by: Sunil Kumar Kori --- v5: - Fix checkpatch errors - Fix patch apply errors v4: - Rebase support on dpdk-next-net-mrvl bra

[dpdk-dev] [PATCH v5 13/28] common/cnxk: support RoC API to reset profile stats

2021-10-12 Thread skori
From: Sunil Kumar Kori Implement RoC API to reset stats per bandwidth profile or per nixlf. Signed-off-by: Sunil Kumar Kori --- v5: - Fix checkpatch errors - Fix patch apply errors v4: - Rebase support on dpdk-next-net-mrvl branch - Handled meter action during flow destroy - Handled meter

[dpdk-dev] [PATCH v5 14/28] common/cnxk: support meter in action list

2021-10-12 Thread skori
From: Sunil Kumar Kori Meter action is added in supported action list. Signed-off-by: Sunil Kumar Kori --- v5: - Fix checkpatch errors - Fix patch apply errors v4: - Rebase support on dpdk-next-net-mrvl branch - Handled meter action during flow destroy - Handled meter cleanup during port

[dpdk-dev] [PATCH v5 15/28] net/cnxk: support meter ops get API

2021-10-12 Thread skori
From: Sunil Kumar Kori To enable support for ingress meter, supported operations are exposed for CNXK platform. Signed-off-by: Sunil Kumar Kori Signed-off-by: Rakesh Kudurumalla --- v5: - Fix checkpatch errors - Fix patch apply errors v4: - Rebase support on dpdk-next-net-mrvl branch - Ha

[dpdk-dev] [PATCH v5 16/28] net/cnxk: support ops to get meter capabilities

2021-10-12 Thread skori
From: Sunil Kumar Kori Implement ethdev operation to get meter capabilities for CNXK platform. Signed-off-by: Sunil Kumar Kori Signed-off-by: Rakesh Kudurumalla --- v5: - Fix checkpatch errors - Fix patch apply errors v4: - Rebase support on dpdk-next-net-mrvl branch - Handled meter actio

[dpdk-dev] [PATCH v5 17/28] net/cnxk: support ops to create meter profile

2021-10-12 Thread skori
From: Sunil Kumar Kori Implement API to add meter profile for CNXK platform. Signed-off-by: Sunil Kumar Kori Signed-off-by: Rakesh Kudurumalla --- v5: - Fix checkpatch errors - Fix patch apply errors v4: - Rebase support on dpdk-next-net-mrvl branch - Handled meter action during flow dest

[dpdk-dev] [PATCH v5 18/28] net/cnxk: support ops to delete meter profile

2021-10-12 Thread skori
From: Sunil Kumar Kori Implement API to delete meter profile for CNXK platform. Signed-off-by: Sunil Kumar Kori Signed-off-by: Rakesh Kudurumalla --- v5: - Fix checkpatch errors - Fix patch apply errors v4: - Rebase support on dpdk-next-net-mrvl branch - Handled meter action during flow d

[dpdk-dev] [PATCH v5 19/28] net/cnxk: support ops to validate meter policy

2021-10-12 Thread skori
From: Sunil Kumar Kori Implement API to validate meter policy for CNXK platform. Signed-off-by: Sunil Kumar Kori Signed-off-by: Rakesh Kudurumalla --- v5: - Fix checkpatch errors - Fix patch apply errors v4: - Rebase support on dpdk-next-net-mrvl branch - Handled meter action during flow

[dpdk-dev] [PATCH v5 20/28] net/cnxk: support ops to create meter policy

2021-10-12 Thread skori
From: Sunil Kumar Kori Implement API to add meter policy for CNXK platform. Signed-off-by: Sunil Kumar Kori Signed-off-by: Rakesh Kudurumalla --- v5: - Fix checkpatch errors - Fix patch apply errors v4: - Rebase support on dpdk-next-net-mrvl branch - Handled meter action during flow destr

[dpdk-dev] [PATCH v5 21/28] net/cnxk: support ops to delete meter policy

2021-10-12 Thread skori
From: Sunil Kumar Kori Implement API to delete meter policy for CNXK platform. Signed-off-by: Sunil Kumar Kori Signed-off-by: Rakesh Kudurumalla --- v5: - Fix checkpatch errors - Fix patch apply errors v4: - Rebase support on dpdk-next-net-mrvl branch - Handled meter action during flow de

[dpdk-dev] [PATCH v5 22/28] net/cnxk: support ops to create meter

2021-10-12 Thread skori
From: Sunil Kumar Kori Implement API to create meter instance for CNXK platform. Signed-off-by: Sunil Kumar Kori Signed-off-by: Rakesh Kudurumalla --- v5: - Fix checkpatch errors - Fix patch apply errors v4: - Rebase support on dpdk-next-net-mrvl branch - Handled meter action during flow

[dpdk-dev] [PATCH v5 23/28] net/cnxk: support ops to delete meter

2021-10-12 Thread skori
From: Sunil Kumar Kori Implement API to delete meter instance for CNXK platform. Signed-off-by: Sunil Kumar Kori Signed-off-by: Rakesh Kudurumalla --- v5: - Fix checkpatch errors - Fix patch apply errors v4: - Rebase support on dpdk-next-net-mrvl branch - Handled meter action during flow

[dpdk-dev] [PATCH v5 24/28] net/cnxk: support ops to enable/disable meter

2021-10-12 Thread skori
From: Sunil Kumar Kori Implement API to enable or disable meter instance for CNXK platform. Signed-off-by: Sunil Kumar Kori Signed-off-by: Rakesh Kudurumalla --- v5: - Fix checkpatch errors - Fix patch apply errors v4: - Rebase support on dpdk-next-net-mrvl branch - Handled meter action d

[dpdk-dev] [PATCH v5 25/28] net/cnxk: support ops to update precolor DSCP table

2021-10-12 Thread skori
From: Sunil Kumar Kori Implement API to update DSCP table for pre-coloring for incoming packet per nixlf for CNXK platform. Signed-off-by: Sunil Kumar Kori Signed-off-by: Rakesh Kudurumalla --- v5: - Fix checkpatch errors - Fix patch apply errors v4: - Rebase support on dpdk-next-net-mrvl

[dpdk-dev] [PATCH v5 26/28] net/cnxk: support ops to read/update meter stats

2021-10-12 Thread skori
From: Sunil Kumar Kori Implement API to read and update stats corresponding to given meter instance for CNXK platform. Signed-off-by: Sunil Kumar Kori Signed-off-by: Rakesh Kudurumalla --- v5: - Fix checkpatch errors - Fix patch apply errors v4: - Rebase support on dpdk-next-net-mrvl branc

[dpdk-dev] [PATCH v5 27/28] net/cnxk: support meter action to flow create

2021-10-12 Thread skori
From: Sunil Kumar Kori Meters are configured per flow using rte_flow_create API. Implement support for meter action applied on the flow. Signed-off-by: Sunil Kumar Kori Signed-off-by: Rakesh Kudurumalla --- v5: - Fix checkpatch errors - Fix patch apply errors v4: - Rebase support on dpdk-n

[dpdk-dev] [PATCH v5 28/28] net/cnxk: support meter action to flow destroy

2021-10-12 Thread skori
From: Sunil Kumar Kori Meters are configured per flow using rte_flow_create API. Patch adds support for destroy operation for meter action applied on the flow. Signed-off-by: Sunil Kumar Kori Signed-off-by: Rakesh Kudurumalla --- v5: - Fix checkpatch errors - Fix patch apply errors v4: - R

<    1   2   3   4   >