xref: /dpdk/app/graph/commands.list (revision 0f32dac4bbf74761972249090523f4581ca13126)
1# SPDX-License-Identifier: BSD-3-Clause
2# Copyright(c) 2023 Marvell.
3#
4graph <STRING>usecase coremask <UINT64>mask bsz <UINT16>size tmo <UINT64>ns model <(rtc,mcd,default)>model_name <(pcap_enable)>capt_ena <UINT8>pcap_ena <(num_pcap_pkts)>capt_pkts_count <UINT64>num_pcap_pkts <(pcap_file)>capt_file <STRING>pcap_file # Command to create graph for given usecase
5graph start         # Comanmd to start a graph
6graph stats show    # Command to dump graph stats
7help graph          # Print help on graph commands
8
9mempool <STRING>name size <UINT16>buf_sz buffers <UINT16>nb_bufs cache <UINT16>cache_size numa <UINT16>node # Create mempool
10help mempool        # Print help on mempool commands
11
12ethdev <STRING>dev rxq <UINT16>nb_rxq txq <UINT16>nb_txq <STRING>mempool  # Create Ethernet device
13ethdev <STRING>__dev mtu <UINT16>size                    # Set MTU on Ethernet device
14ethdev <STRING>__dev promiscuous <(on,off)>enable        # Set promiscuous mode on Ethernet device
15ethdev <STRING>__dev show                                # Command to dump Ethernet device info
16ethdev <STRING>__dev stats                               # Command to dump Ethernet device stats
17ethdev forward <STRING>tx_dev <STRING>rx_dev             # Command to create Rx/Tx device map
18ethdev <STRING>__dev ip4 addr add <IPv4>ip netmask <IPv4>mask # Set IPv4 address on Ethernet device
19ethdev <STRING>__dev ip6 addr add <IPv6>ip netmask <IPv6>mask # Set IPv6 address on Ethernet device
20help ethdev                                              # Print help on ethdev commands
21
22ethdev_rx map port <STRING>dev queue <UINT32>qid core <UINT32>core_id # Port-Queue-Core mapping
23help ethdev_rx                                           # Print help on ethdev_rx commands
24
25ipv4_lookup route add ipv4 <IPv4>ip netmask <IPv4>mask via <IPv4>via_ip # Add IPv4 route to LPM table
26help ipv4_lookup                                         # Print help on ipv4_lookup commands
27
28ipv6_lookup route add ipv6 <IPv6>ip netmask <IPv6>mask via <IPv6>via_ip # Add IPv6 route to LPM6 table
29help ipv6_lookup                                         # Print help on ipv6_lookup commands
30
31neigh add ipv4 <IPv4>ip <STRING>mac                      # Add static neighbour for IPv4
32neigh add ipv6 <IPv6>ip <STRING>mac                      # Add static neighbour for IPv6
33help neigh                                               # Print help on neigh commands
34