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