History log of /dpdk/app/graph/module_api.h (Results 1 – 13 of 13)
Revision Date Author Comments
# 0f32dac4 07-Mar-2024 Sunil Kumar Kori <skori@marvell.com>

app/graph: generate cmdline boilerplate

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 Kum

app/graph: generate cmdline boilerplate

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 <skori@marvell.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Nithin Dabilpuram <ndabilpuram@marvell.com>

show more ...


# 2c7debd9 02-Jan-2024 Rakesh Kudurumalla <rkudurumalla@marvell.com>

app/graph: add port forward use case

Added portforward usecase. In this usecase,
packets received Rx port is forwarded to
respective Tx port.

Signed-off-by: Rakesh Kudurumalla <rkudurumalla@marvell

app/graph: add port forward use case

Added portforward usecase. In this usecase,
packets received Rx port is forwarded to
respective Tx port.

Signed-off-by: Rakesh Kudurumalla <rkudurumalla@marvell.com>
Acked-by: Sunil Kumar Kori <skori@marvell.com>

show more ...


# 34c0c38a 19-Oct-2023 Rakesh Kudurumalla <rkudurumalla@marvell.com>

app/graph: add l3fwd use case

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.

app/graph: add l3fwd use case

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_cls -> ip6_lookup
- pkt_cls -> pkt_drop

- ip4_lookup -> ip4_rewrite
- ip4_lookup -> pkt_drop

- ip6_lookup -> ip6_rewrite
- ip6_lookup -> pkt_drop

- ip4_rewrite -> ethdev_tx
- ip4_rewrite -> pkt_drop

- ip6_rewrite -> ethdev_tx
- ip6_rewrite -> pkt_drop

- ethdev_tx -> pkt_drop

Signed-off-by: Sunil Kumar Kori <skori@marvell.com>
Signed-off-by: Rakesh Kudurumalla <rkudurumalla@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>

show more ...


# 6f1407a1 19-Oct-2023 Sunil Kumar Kori <skori@marvell.com>

app/graph: add option to enable stats

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 consol

app/graph: add option to enable stats

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 <skori@marvell.com>
Signed-off-by: Rakesh Kudurumalla <rkudurumalla@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
Acked-by: Nithin Dabilpuram <ndabilpuram@marvell.com>

show more ...


# 5c59002a 19-Oct-2023 Rakesh Kudurumalla <rkudurumalla@marvell.com>

app/graph: add graph commands

Adds graph module to create a graph for a given use case like
l3fwd.

Following commands are exposed:
- graph <usecases> [bsz <size>] [tmo <ns>] [coremask <bitmask>] \

app/graph: add graph commands

Adds graph module to create a graph for a given use case like
l3fwd.

Following commands are exposed:
- graph <usecases> [bsz <size>] [tmo <ns>] [coremask <bitmask>] \
model <rtc | mcd | default> pcap_enable <0 | 1> num_pcap_pkts <num> \
pcap_file <output_capture_file>
- graph start
- graph stats show
- help graph

Signed-off-by: Sunil Kumar Kori <skori@marvell.com>
Signed-off-by: Rakesh Kudurumalla <rkudurumalla@marvell.com>
Acked-by: Nithin Dabilpuram <ndabilpuram@marvell.com>

show more ...


# 0eadf8f8 19-Oct-2023 Rakesh Kudurumalla <rkudurumalla@marvell.com>

app/graph: add ethdev Rx command

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/

app/graph: add ethdev Rx command

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 <ethdev_name> queue <q_num> core <core_id>
- help ethdev_rx

Signed-off-by: Sunil Kumar Kori <skori@marvell.com>
Signed-off-by: Rakesh Kudurumalla <rkudurumalla@marvell.com>
Acked-by: Nithin Dabilpuram <ndabilpuram@marvell.com>

show more ...


# 9a3a41eb 19-Oct-2023 Sunil Kumar Kori <skori@marvell.com>

app/graph: add neigh commands

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

app/graph: add neigh commands

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 <ip> <mac>
- neigh add ipv6 <ip> <mac>
- help neigh

Signed-off-by: Sunil Kumar Kori <skori@marvell.com>
Signed-off-by: Rakesh Kudurumalla <rkudurumalla@marvell.com>
Acked-by: Nithin Dabilpuram <ndabilpuram@marvell.com>

show more ...


# aff63b6d 19-Oct-2023 Sunil Kumar Kori <skori@marvell.com>

app/graph: add IPv4 lookup command

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 a

app/graph: add IPv4 lookup command

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 <ip> netmask <mask> via <ip>
- help ipv4_lookup

Signed-off-by: Sunil Kumar Kori <skori@marvell.com>
Signed-off-by: Rakesh Kudurumalla <rkudurumalla@marvell.com>
Acked-by: Nithin Dabilpuram <ndabilpuram@marvell.com>

show more ...


# 3850cb06 19-Oct-2023 Sunil Kumar Kori <skori@marvell.com>

app/graph: add ethdev commands

Adds ethdev module to configure ethernet devices.

Following commands are exposed:
- ethdev <ethdev_name> rxq <n_queues> txq <n_queues> <mempool_name>
- ethdev <ethd

app/graph: add ethdev commands

Adds ethdev module to configure ethernet devices.

Following commands are exposed:
- ethdev <ethdev_name> rxq <n_queues> txq <n_queues> <mempool_name>
- ethdev <ethdev_name> mtu <mtu_sz>
- ethdev <ethdev_name> promiscuous <on/off>
- ethdev <ethdev_name> show
- ethdev <ethdev_name> stats
- ethdev <ethdev_name> ip4 addr add <ip> netmask <mask>
- ethdev <ethdev_name> ip6 addr add <ip> netmask <mask>
- help ethdev

Signed-off-by: Sunil Kumar Kori <skori@marvell.com>
Signed-off-by: Rakesh Kudurumalla <rkudurumalla@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
Acked-by: Nithin Dabilpuram <ndabilpuram@marvell.com>

show more ...


# 2d7b3ccc 19-Oct-2023 Rakesh Kudurumalla <rkudurumalla@marvell.com>

app/graph: add mempool command

Adds mempool module which will be creating mempools.

Following commands are exposed:
- mempool <mempool_name> size <mbuf_size> buffers <number_of_buffers> \
cache <

app/graph: add mempool command

Adds mempool module which will be creating mempools.

Following commands are exposed:
- mempool <mempool_name> size <mbuf_size> buffers <number_of_buffers> \
cache <cache_size> numa <numa_id>
- help mempool

User will add this command in .cli file according to its need.

Signed-off-by: Sunil Kumar Kori <skori@marvell.com>
Signed-off-by: Rakesh Kudurumalla <rkudurumalla@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
Acked-by: Nithin Dabilpuram <ndabilpuram@marvell.com>

show more ...


# 984a315a 19-Oct-2023 Sunil Kumar Kori <skori@marvell.com>

app/graph: add parser utility

Adds some helper functions to parse IPv4, IPv6 and MAC addresses
string into respective datatype.

Signed-off-by: Sunil Kumar Kori <skori@marvell.com>
Signed-off-by: Ra

app/graph: add parser utility

Adds some helper functions to parse IPv4, IPv6 and MAC addresses
string into respective datatype.

Signed-off-by: Sunil Kumar Kori <skori@marvell.com>
Signed-off-by: Rakesh Kudurumalla <rkudurumalla@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
Acked-by: Nithin Dabilpuram <ndabilpuram@marvell.com>

show more ...


# 3f90eda5 19-Oct-2023 Sunil Kumar Kori <skori@marvell.com>

app/graph: add telnet connectivity

Adds framework to initiate a telnet session with application.

Some configurations and debug commands are exposed as runtime APIs.
Those commands can be invoked us

app/graph: add telnet connectivity

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 default.

To make it configurable, "-h" and "-p" options are provided.
Using them user can pass host address and port number on which
application will start telnet server.

Using same host address and port number, telnet client can connect
to application.

Syntax to connect with application:
# telnet <host> <port>

Once session is connected, "graph> " prompt will be available.
Example:
# telnet 10.28.35.207 50000
Trying 10.28.35.207...
Connected to 10.28.35.207.
Escape character is '^]'.

Welcome!

graph>

Signed-off-by: Sunil Kumar Kori <skori@marvell.com>
Signed-off-by: Rakesh Kudurumalla <rkudurumalla@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
Acked-by: Nithin Dabilpuram <ndabilpuram@marvell.com>

show more ...


# 5b21ffb2 19-Oct-2023 Sunil Kumar Kori <skori@marvell.com>

app/graph: add CLI framework

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 wi

app/graph: add CLI framework

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 parsing is backed by
commandline library.

Each module needs to expose its supported commands & corresponding
callback functions to commandline library to get them parsed.

Signed-off-by: Sunil Kumar Kori <skori@marvell.com>
Signed-off-by: Rakesh Kudurumalla <rkudurumalla@marvell.com>
Acked-by: Nithin Dabilpuram <ndabilpuram@marvell.com>

show more ...