From: Sunil Kumar Kori
Adding link type parameter to provide the type
of port like twisted pair, fibre etc.
Also added an API to convert the RTE_ETH_LINK_TYPE_XXX
to a readable string.
Signed-off-by: Nithin Dabilpuram
Signed-off-by: Sunil Kumar Kori
---
v1..v2:
- Updated the commit message.
From: Sunil Kumar Kori
Reports link mode whether fixed or autonegotiation
Depends-on: patch-35378 ("ethdev: add support to provide link type")
Signed-off-by: Nithin Dabilpuram
Signed-off-by: Sunil Kumar Kori
---
drivers/net/cnxk/cnxk_link.c | 4 ++--
1 file changed, 2 insertions(+), 2 deleti
From: Sunil Kumar Kori
Retrieves type of port i.e. twisted pair, fibre etc
from firmware and reports the same to user.
Signed-off-by: Nithin Dabilpuram
Signed-off-by: Sunil Kumar Kori
---
drivers/net/cnxk/cnxk_ethdev.c | 19 +++
drivers/net/cnxk/cnxk_ethdev.h | 1 +
drivers/n
From: Sunil Kumar Kori
Currently speed capability is hardcoded to support defined
modes and speeds but MAC can support others modes and speed
too. This information is populated by firmware.
Hence fetching firmware data to provide actual supported
modes and speeds by the port.
Signed-off-by: Nit
From: Sunil Kumar Kori
As a port can be configured to operate on specific
mode and speed via struct rte_eth_conf::link_speeds
in rte_eth_dev_configure() API.
Implement mentioned configuration passed by user.
Signed-off-by: Sunil Kumar Kori
Signed-off-by: Nithin Dabilpuram
---
drivers/net/cnx
From: Sunil Kumar Kori
CGX MAC can be configured into different modes and speeds
as mentioned below:
- fixed/autoneg
- half/full duplex
- 10M/100M/1G/10G etc speeds.
Sync mailbox and implement that to configure above mentioned
settings.
Signed-off-by: Sunil Kumar Kori
Signed-off-by: Nithin
From: Sunil Kumar Kori
Retrieves type of port from firmware data.
Signed-off-by: Nithin Dabilpuram
Signed-off-by: Sunil Kumar Kori
---
drivers/common/cnxk/hw/nix.h | 12
drivers/common/cnxk/roc_mbox.h| 13 +++--
drivers/common/cnxk/roc_nix.h | 1 +
drivers/c
From: Sunil Kumar Kori
As a port can be configured at one of the supported speed
which can be part of specific link mode.
Port type helps to translate speed into the respective mode.
Hence add support to provide link type as part of link
status if available from ethdev driver.
Signed-off-by: N
From: Sunil Kumar Kori
Currently speed capability is hardcoded to support defined
modes and speeds but MAC can support others modes and speed
too. This information is populated by firmware.
Hence fetching firmware data to provide actual supported
modes and speeds by the port.
Signed-off-by: Nit
From: Sunil Kumar Kori
As a port can be configured to operate on specific
mode and speed via struct rte_eth_conf::link_speeds
in rte_eth_dev_configure() API.
Implement mentioned configuration passed by user.
Signed-off-by: Sunil Kumar Kori
Signed-off-by: Nithin Dabilpuram
---
drivers/net/cnx
From: Sunil Kumar Kori
Reports link mode whether fixed or autonegotiation
Signed-off-by: Nithin Dabilpuram
Signed-off-by: Sunil Kumar Kori
---
drivers/net/cnxk/cnxk_link.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/cnxk/cnxk_link.c b/drivers/net/cnxk/c
From: Sunil Kumar Kori
Retrieves type of port i.e. twisted pair, fibre etc
from firmware and reports the same to user.
Signed-off-by: Nithin Dabilpuram
Signed-off-by: Sunil Kumar Kori
---
drivers/net/cnxk/cnxk_ethdev.c | 19 +++
drivers/net/cnxk/cnxk_ethdev.h | 1 +
drivers/n
From: Sunil Kumar Kori
Retrieves type of port from firmware data.
Signed-off-by: Nithin Dabilpuram
Signed-off-by: Sunil Kumar Kori
---
drivers/common/cnxk/hw/nix.h | 12
drivers/common/cnxk/roc_mbox.h| 13 +++--
drivers/common/cnxk/roc_nix.h | 1 +
drivers/c
From: Sunil Kumar Kori
Add support to provide link type as part of link status
if available from ethdev driver.
Signed-off-by: Nithin Dabilpuram
Signed-off-by: Sunil Kumar Kori
---
lib/ethdev/ethdev_trace.h| 7 +
lib/ethdev/ethdev_trace_points.c | 3 +++
lib/ethdev/rte_ethdev.c
From: Sunil Kumar Kori
CGX MAC can be configured into different modes and speeds
as mentioned below:
- fixed/autoneg
- half/full duplex
- 10M/100M/1G/10G etc speeds.
Sync mailbox and implement that to configure above mentioned
settings.
Signed-off-by: Sunil Kumar Kori
Signed-off-by: Nithin
From: Sunil Kumar Kori
When user requests to configure a device which is already in
configured state then first device gets resets to default and
then reconfigured with latest parameters.
While resetting the device, MAC address table is left stale which
causes entry update in later state.
Hence
From: Sunil Kumar Kori
While parsing packet headers, offset must be added to get next
header but for geneve header parsing offset is overwritten.
Also inner_l2_len is not set in case of geneve packets.
Fixes: 64ed7f854cf4 ("net: add tunnel packet type parsing")
Signed-off-by: Sunil Kumar Kori
From: Sunil Kumar Kori
hdr_lens is used to maintain header lengths after parsing packets.
When port receives different type of packets (say first is VXLAN
packet and second is GRE packet).
For first packet, L2/L3/L4 lengths are set for inner and outer header
alongwith tunnel_len.
Now for second
From: Sunil Kumar Kori
hdr_lens is used to maintain header lengths after parsing packets.
When port receives different type of packets (say first is VXLAN
packet and second is GRE packet).
For first packet, L2/L3/L4 lengths are set for inner and outer header
alongwith tunnel_len.
Now for second
From: Sunil Kumar Kori
While parsing packet headers, offset must be added to get next
header but for geneve header parsing offset is overwritten.
Also inner_l2_len is not set in case of geneve packets.
Fixes: 64ed7f854cf4 ("net: add tunnel packet type parsing")
Signed-off-by: Sunil Kumar Kori
From: Sunil Kumar Kori
As rte_eth_rx_queue_count() returns signed value to represent
the error cases but internally invoked callback is returning
unsigned value. Hence unnecessary type conversion is done.
To avoid this typecasting from signed to unsigned, fixed
return type of callback functions.
From: Sunil Kumar Kori
rte_eth_fp_ops contains ops for fast path APIs. Each API
validates availability of callback and then invoke it.
These checks impact data path performace.
Hence removing these NULL checks instead using dummy
callbacks.
Signed-off-by: Sunil Kumar Kori
---
lib/ethdev/ethde
From: Sunil Kumar Kori
rte_eth_fp_ops contains ops for fast path APIs. Each API
validates availability of callback and then invoke it.
Removing these NULL checks instead using dummy callbacks.
Signed-off-by: Sunil Kumar Kori
---
lib/ethdev/ethdev_driver.c | 47 ++
lib/ethd
From: Sunil Kumar Kori
When user requests to configure a device which is already in
configured state then first device gets resets to default and
then reconfigured with latest parameters.
While resetting the device, MAC address table is left stale which
causes entry update in later state.
Hence
From: Sunil Kumar Kori
Bugzilla ID: 1513
Fixes: 03b152389fb1 ("net/cnxk: add option to enable custom inbound SA")
Fixes: 7df4ead35436 ("net/cnxk: support parsing custom SA action")
Fixes: 47cca253d605 ("net/cnxk: support Rx inject")
Cc: sta...@dpdk.org
Signed-off-by: Sunil Kumar Kori
---
drive
From: Sunil Kumar Kori
Bugzilla ID: 1513
Fixes: 72c00ae9dba7 ("regex/cn9k: use cnxk infrastructure")
Cc: sta...@dpdk.org
Signed-off-by: Sunil Kumar Kori
---
drivers/regex/cn9k/cn9k_regexdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/regex/cn9k/cn9k_regexdev.c
From: Sunil Kumar Kori
Bugzilla ID: 1513
Fixes: 39ac394aa7a8 ("common/cnxk: fix device MSI-X greater than default value")
Cc: sta...@dpdk.org
Signed-off-by: Sunil Kumar Kori
---
drivers/common/cnxk/roc_irq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/common/cnx
From: Sunil Kumar Kori
Currently user passed RSS configuration is ignored via
rte_eth_dev_configure() API. Instead default RSS setup is done by
driver.
Adding handling for user passed RSS configuration too via
rte_eth_dev_configure().
Fixes: b75e0aca84b0 ("net/cnxk: add device configuration ope
From: Sunil Kumar Kori
Currently user passed RSS configuration is ignored via
rte_eth_dev_configure() API. Instead default RSS setup is done by
driver.
Adding handling for user passed RSS configuration too via
rte_eth_dev_configure().
Signed-off-by: Sunil Kumar Kori
---
drivers/net/cnxk/cnxk_
From: Sunil Kumar Kori
Set of CLI commands are classified into following types;
- Commands which must be used in script only.
- Commands which must be used via telnet session only.
- Commands which can be used either in script or via telnet session.
Rename "Dynamic" column to "Scope" to provide
From: Sunil Kumar Kori
Use the dpdk-cmdline-gen script to autogenerate all the boilerplate
structs and defines for the commandline part of the application.
Signed-off-by: Sunil Kumar Kori
Acked-by: Bruce Richardson
Acked-by: Nithin Dabilpuram
---
v2..v3:
- Rebase on top of the tree.
v1..v2:
From: Sunil Kumar Kori
Set of CLI commands are classified into following types;
- Commands which must be used in script only.
- Commands which must be used via telnet session only.
- Commands which can be used either in script or via telnet session.
Rename "Dynamic" column to "Scope" to provide
From: Sunil Kumar Kori
Use the dpdk-cmdline-gen script to autogenerate all the boilerplate
structs and defines for the commandline part of the application.
Signed-off-by: Sunil Kumar Kori
Acked-by: Bruce Richardson
---
v1..v2:
- Rebase and remove Depends-On: tag as dependent series is applied
From: Sunil Kumar Kori
Use the dpdk-cmdline-gen script to autogenerate all the boilerplate
structs and defines for the commandline part of the application.
Depends-on: series-30459 ("enhancements for dpdk-cmdline-gen script")
Signed-off-by: Sunil Kumar Kori
---
app/graph/cli.c
From: Rakesh Kudurumalla
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
- pkt
From: Sunil Kumar Kori
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
Si
From: Rakesh Kudurumalla
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-off-
From: Rakesh Kudurumalla
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-off-b
From: Sunil Kumar Kori
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 Kudurumal
From: Rakesh Kudurumalla
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 Kuduruma
From: Sunil Kumar Kori
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 Kudurumalla
From: Sunil Kumar Kori
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-off-b
From: Rakesh Kudurumalla
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: Rakesh
From: Sunil Kumar Kori
Adds some helper functions to parse IPv4, IPv6 and MAC addresses
string into respective datatype.
Signed-off-by: Sunil Kumar Kori
Signed-off-by: Rakesh Kudurumalla
Acked-by: Jerin Jacob
---
app/graph/meson.build | 1 +
app/graph/module_api.h | 1 +
app/graph/utils
From: Sunil Kumar Kori
Adds framework to initiate a telnet session with application.
Some configurations and debug commands are exposed as runtime APIs.
Those commands can be invoked using telnet session.
Application initiates a telnet server with host address 0.0.0.0
and port number 8086 by de
From: Sunil Kumar Kori
Adds base framework to read a given .cli file as a command line
parameter "-s".
Example:
# ./dpdk-graph -c 0xff -- -s ./app/graph/examples/dummy.cli
Each .cli file will contain commands to configure different module like
mempool, ethdev, lookup tables, graph etc. Command
From: Sunil Kumar Kori
In the continuation of following feedback
https://patches.dpdk.org/project/dpdk/patch/20230425131516.3308612-5-vattun...@marvell.com/
this patch series adds dpdk-graph application to exercise various
usecases using graph.
1. Each use case is defined in terms of .cli file w
From: Rakesh Kudurumalla
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
- pkt
From: Sunil Kumar Kori
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
Si
From: Rakesh Kudurumalla
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-off-
From: Rakesh Kudurumalla
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-off-b
From: Sunil Kumar Kori
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 Kudurumal
From: Rakesh Kudurumalla
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 Kuduruma
From: Sunil Kumar Kori
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 Kudurumalla
From: Sunil Kumar Kori
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-off-b
From: Rakesh Kudurumalla
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: Rakesh
From: Sunil Kumar Kori
Adds some helper functions to parse IPv4, IPv6 and MAC addresses
string into respective datatype.
Signed-off-by: Sunil Kumar Kori
Signed-off-by: Rakesh Kudurumalla
Acked-by: Jerin Jacob
---
app/graph/meson.build | 1 +
app/graph/module_api.h | 1 +
app/graph/utils
From: Sunil Kumar Kori
Adds framework to initiate a telnet session with application.
Some configurations and debug commands are exposed as runtime APIs.
Those commands can be invoked using telnet session.
Application initiates a telnet server with host address 0.0.0.0
and port number 8086 by de
From: Sunil Kumar Kori
Adds base framework to read a given .cli file as a command line
parameter "-s".
Example:
# ./dpdk-graph -c 0xff -- -s ./app/graph/examples/dummy.cli
Each .cli file will contain commands to configure different module like
mempool, ethdev, lookup tables, graph etc. Command
From: Sunil Kumar Kori
In the continuation of following feedback
https://patches.dpdk.org/project/dpdk/patch/20230425131516.3308612-5-vattun...@marvell.com/
this patch series adds dpdk-graph application to exercise various
usecases using graph.
1. Each use case is defined in terms of .cli file w
From: Sunil Kumar Kori
This patch adds RSS key for CNXK platforms. CNXK platform uses
48 bytes long key for hash calculations.
For the same patch also updates help mesaages to provide range
information for supporting NICs/platforms.
Also CNXK uses reta size as 64 so to get correct offset to ret
From: Rakesh Kudurumalla
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
- pkt
From: Sunil Kumar Kori
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
Si
From: Rakesh Kudurumalla
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-off-
From: Rakesh Kudurumalla
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-off-b
From: Sunil Kumar Kori
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 Kudurumal
From: Rakesh Kudurumalla
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 Kuduruma
From: Sunil Kumar Kori
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 Kudurumalla
From: Sunil Kumar Kori
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-off-b
From: Rakesh Kudurumalla
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: Rakesh
From: Sunil Kumar Kori
Adds some helper functions to parse IPv4, IPv6 and MAC addresses
string into respective datatype.
Signed-off-by: Sunil Kumar Kori
Signed-off-by: Rakesh Kudurumalla
Acked-by: Jerin Jacob
---
app/graph/meson.build | 1 +
app/graph/module_api.h | 1 +
app/graph/utils
From: Sunil Kumar Kori
Adds framework to initiate a telnet session with application.
Some configurations and debug commands are exposed as runtime APIs.
Those commands can be invoked using telnet session.
Application initiates a telnet server with host address 0.0.0.0
and port number 8086 by de
From: Sunil Kumar Kori
Adds base framework to read a given .cli file as a command line
parameter "-s".
Example:
# ./dpdk-graph -c 0xff -- -s ./app/graph/examples/dummy.cli
Each .cli file will contain commands to configure different module like
mempool, ethdev, lookup tables, graph etc. Command
From: Sunil Kumar Kori
In the continuation of following feedback
https://patches.dpdk.org/project/dpdk/patch/20230425131516.3308612-5-vattun...@marvell.com/
this patch series adds dpdk-graph application to exercise various
usecases using graph.
1. Each use case is defined in terms of .cli file w
From: Sunil Kumar Kori
This patch adds RSS key for CNXK platforms. CNXK platform uses
48 bytes long key for hash calculations.
For the same patch also updates help mesaages to provide range
information for supporting NICs/platforms.
Also CNXK uses reta size as 64 so to get correct offset to ret
From: Sunil Kumar Kori
This patch adds RSS key for CNXK platforms. CNXK platform uses
48 bytes long key for hash calculations.
For the same patch also updates help mesaages to provide range
information for supporting NICs/platforms.
Also CNXK uses reta size as 64 so to get correct offset to ret
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
-
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
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
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
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
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
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
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
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
From: Sunil Kumar Kori
It adds some helper functions to parse IPv4, IPv6 and MAC addresses
string into respective datatype.
Signed-off-by: Sunil Kumar Kori
Signed-off-by: Rakesh Kudurumalla
---
app/graph/meson.build | 1 +
app/graph/module_api.h | 1 +
app/graph/utils.c | 156 ++
From: Sunil Kumar Kori
It adds framework to initiate a telnet session with application.
Some configurations and debug commands are exposed as runtime APIs.
Those commands can be invoked using telnet session.
Application initiates a telnet server with host address 0.0.0.0
and port number 8086 by
From: Sunil Kumar Kori
It adds base framework to read a given .cli file as a command line
parameter "-s".
Example:
# ./dpdk-graph -c 0xff -- -s ./app/graph/examples/dummy.cli
Each .cli file will contain commands to configure different module like
mempool, ethdev, lookup tables, graph etc. Comm
From: Sunil Kumar Kori
In the continuation of following feedback
https://patches.dpdk.org/project/dpdk/patch/20230425131516.3308612-5-vattun...@marvell.com/
this patch series adds dpdk-graph application to exercise various
usecases using graph.
1. Each use case is defined in terms of .cli file w
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
-
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
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
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
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
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
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
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
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
From: Sunil Kumar Kori
It adds some helper functions to parse IPv4, IPv6 and MAC addresses
string into respective datatype.
Signed-off-by: Sunil Kumar Kori
Signed-off-by: Rakesh Kudurumalla
---
app/graph/meson.build | 1 +
app/graph/module_api.h | 1 +
app/graph/utils.c | 156 ++
From: Sunil Kumar Kori
It adds framework to initiate a telnet session with application.
Some configurations and debug commands are exposed as runtime APIs.
Those commands can be invoked using telnet session.
Application initiates a telnet server with host address 0.0.0.0
and port number 8086 by
1 - 100 of 387 matches
Mail list logo