History log of /dpdk/app/graph/cli.c (Results 1 – 10 of 10)
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 ...


# 0eb39f1d 02-Jan-2024 Rakesh Kudurumalla <rkudurumalla@marvell.com>

app/graph: add ethdev forward command

Adds a txport to forward packet for every rxport

Mapping will be used to forward packets to txport
received on rxport

Following commands are exposed:
- ethde

app/graph: add ethdev forward command

Adds a txport to forward packet for every rxport

Mapping will be used to forward packets to txport
received on rxport

Following commands are exposed:
- ethdev forward <tx_dev_name> <rx_dev_name>"

Signed-off-by: Rakesh Kudurumalla <rkudurumalla@marvell.com>
Acked-by: Sunil Kumar Kori <skori@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 ...


# 83b8e58e 19-Oct-2023 Rakesh Kudurumalla <rkudurumalla@marvell.com>

app/graph: add IPv6 lookup command

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

app/graph: add IPv6 lookup command

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


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


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