"vlan set strip (on|off) (port_id)\n"
" Set the VLAN strip on a port.\n\n"
+ "vlan set stripq (on|off) (port_id,queue_id)\n"
+ " Set the VLAN strip for a queue on a port.\n\n"
+
"vlan set filter (on|off) (port_id)\n"
" Set the VLAN filter on a port.\n\n"
" to pool 0.\n\n"
"set port (port_id) mirror-rule (rule_id)"
- "(uplink-mirror|downlink-mirror) dst-pool"
- "(pool_id) (on|off)\n"
+ " (uplink-mirror|downlink-mirror) dst-pool"
+ " (pool_id) (on|off)\n"
" Set uplink or downlink type mirror rule on a port.\n"
" e.g., 'set port 0 mirror-rule 0 uplink-mirror dst-pool"
" 0 on' enable mirror income traffic to pool 0.\n\n"
},
};
-/* *** SHOW PORT INFO *** */
+/* *** SHOW PORT RETA INFO *** */
struct cmd_showport_reta {
cmdline_fixed_string_t show;
cmdline_fixed_string_t port;
uint16_t queue_id = 0;
/* No queue_id, return */
- if(i + 1 >= len)
+ if(i + 1 >= len) {
+ printf("must specify (port,queue_id)\n");
return;
+ }
tmp = strtoul(str + i + 1, NULL, 0);
/* If queue_id greater that what 16-bits can represent, return */
if(tmp > 0xffff)
"specify the socket on which the TX/RX rings for "
"the port will be allocated "
"(flag: 1 for RX; 2 for TX; 3 for RX and TX).\n");
- printf(" --socket-num=N: set socket from which all memory is allocated "
+ printf(" --socket-num=N: set socket from which all memory is allocated "
"in NUMA mode.\n");
printf(" --mbuf-size=N: set the data size of mbuf to N bytes.\n");
printf(" --total-num-mbufs=N: set the number of mbufs to be allocated "
printf(" --rx-queue-stats-mapping=(port,queue,mapping)[,(port,queue,mapping]: "
"rx queues statistics counters mapping "
"(0 <= mapping <= %d).\n", RTE_ETHDEV_QUEUE_STAT_CNTRS - 1);
- printf(" --no-flush-rx: avoids flushing all rx streams before"
- " starts forwarding\n");
+ printf(" --no-flush-rx: Don't flush RX streams before forwarding."
+ " Used mainly with PCAP drivers.\n");
}
static int