display usage */
| 155 | |
| 156 | /* display usage */ |
| 157 | static void |
| 158 | proc_info_usage(const char *prgname) |
| 159 | { |
| 160 | printf("%s [EAL options] -- -p PORTMASK\n" |
| 161 | " -m to display DPDK memory zones, segments and TAILQ information\n" |
| 162 | " -p PORTMASK: hexadecimal bitmask of ports to retrieve stats for\n" |
| 163 | " --stats: to display port statistics, enabled by default\n" |
| 164 | " --xstats: to display extended port statistics, disabled by " |
| 165 | "default\n" |
| 166 | #ifdef RTE_LIB_METRICS |
| 167 | " --metrics: to display derived metrics of the ports, disabled by " |
| 168 | "default\n" |
| 169 | #endif |
| 170 | " --xstats-name NAME: to display single xstat id by NAME\n" |
| 171 | " --xstats-ids IDLIST: to display xstat values by id. " |
| 172 | "The argument is comma-separated list of xstat ids to print out.\n" |
| 173 | " --stats-reset: to reset port statistics\n" |
| 174 | " --xstats-reset: to reset port extended statistics\n" |
| 175 | " --collectd-format: to print statistics to STDOUT in expected by collectd format\n" |
| 176 | " --host-id STRING: host id used to identify the system process is running on\n" |
| 177 | " --show-port: to display ports information\n" |
| 178 | " --show-port-private: to display ports private information\n" |
| 179 | " --show-tm: to display traffic manager information for ports\n" |
| 180 | " --show-crypto: to display crypto information\n" |
| 181 | " --show-ring[=name]: to display ring information\n" |
| 182 | " --show-mempool[=name]: to display mempool information\n" |
| 183 | " --version: to display DPDK version\n" |
| 184 | " --firmware-version: to display ethdev firmware version\n" |
| 185 | " --show-rss-reta: to display ports redirection table\n" |
| 186 | " --show-module-eeprom: to display ports module eeprom information\n" |
| 187 | " --show-rx-descriptor queue_id:offset:num to display ports Rx descriptor information. " |
| 188 | "queue_id: A Rx queue identifier on this port. " |
| 189 | "offset: The offset of the descriptor starting from tail. " |
| 190 | "num: The number of the descriptors to dump.\n" |
| 191 | " --show-tx-descriptor queue_id:offset:num to display ports Tx descriptor information. " |
| 192 | "queue_id: A Tx queue identifier on this port. " |
| 193 | "offset: The offset of the descriptor starting from tail. " |
| 194 | "num: The number of the descriptors to dump.\n" |
| 195 | " --iter-mempool=name: iterate mempool elements to display content\n" |
| 196 | " --dump-regs=file-prefix: dump registers to file with the file-prefix\n" |
| 197 | " --show-edev-queue-xstats=queue_num:evdev_id or *:evdev_id to get queue xstats for specified queue or all queues;\n" |
| 198 | " --show-edev-port-xstats=port_num:evdev_id or *:evdev_id to get queue xstats for specified port or all ports;\n" |
| 199 | " --edev-dump-xstats=evdev_id to dump all event_dev xstats for specified eventdev device;\n" |
| 200 | " --edev-reset-xstats=evdev_id to reset event_dev xstats after reading;\n" |
| 201 | " --show-edev-device-xstats=evdev_id to get event_dev device xstats for specified eventdev device;\n", |
| 202 | prgname); |
| 203 | } |
| 204 | |
| 205 | /* |
| 206 | * Parse the portmask provided at run time. |
no test coverage detected