numam-dpdk/app/test-pmd
Kalesh AP 2382a60759 app/testpmd: check MAC address query
This patch checks return value for rte_eth_dev_info_get() in show_macs().

Coverity issue: 353629
Fixes: e1d44d0ad6 ("app/testpmd: show MAC addresses added to a port")
Cc: stable@dpdk.org

Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Acked-by: Xiaoyun Li <xiaoyun.li@intel.com>
Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
2021-03-16 11:17:09 +01:00
..
5tswap.c net: add function to calculate IPv4 header length 2020-10-16 19:48:17 +02:00
bpf_cmd.c cmdline: avoid name clash with Windows system types 2020-11-05 17:49:00 +01:00
bpf_cmd.h build: replace use of old build macros 2020-10-19 22:15:44 +02:00
cmdline_flow.c app/testpmd: add PF and VF targets to sample flow action 2021-02-03 00:48:11 +01:00
cmdline_mtr.c app/testpmd: fix help of metering commands 2021-02-10 22:27:03 +01:00
cmdline_mtr.h
cmdline_tm.c cmdline: avoid name clash with Windows system types 2020-11-05 17:49:00 +01:00
cmdline_tm.h app/testpmd: add TM command for non-leaf and packet mode 2020-09-18 18:55:10 +02:00
cmdline.c app/testpmd: remove unnecessary UDP tunnel check 2021-02-25 17:53:40 +01:00
config.c app/testpmd: check MAC address query 2021-03-16 11:17:09 +01:00
csumonly.c mbuf: rename outer IP checksum macro 2021-03-02 10:57:28 +01:00
flowgen.c app/testpmd: support sending cloned packets in flowgen 2021-01-29 18:16:12 +01:00
icmpecho.c app/testpmd: add record-burst-stats runtime config 2020-09-18 18:55:08 +02:00
ieee1588fwd.c
iofwd.c app/testpmd: add record-burst-stats runtime config 2020-09-18 18:55:08 +02:00
macfwd.c app/testpmd: add record-burst-stats runtime config 2020-09-18 18:55:08 +02:00
macswap_common.h
macswap_neon.h
macswap_sse.h
macswap.c build: remove deprecated cpuflag macros 2020-09-25 11:13:57 +02:00
macswap.h
meson.build build: replace use of old build macros 2020-10-19 22:15:44 +02:00
noisy_vnf.c app/testpmd: enable burst stats for noisy VNF mode 2020-09-18 18:55:08 +02:00
parameters.c app/testpmd: support forced ethernet speed 2021-03-08 12:44:01 +01:00
rxonly.c app/testpmd: add record-burst-stats runtime config 2020-09-18 18:55:08 +02:00
testpmd.c app/testpmd: log reason of port start failure 2021-03-12 15:14:56 +01:00
testpmd.h app/testpmd: support forced ethernet speed 2021-03-08 12:44:01 +01:00
txonly.c app/testpmd: fix packet header in txonly mode 2020-09-30 19:19:13 +02:00
util.c app/testpmd: fix packets dump overlapping 2021-01-29 18:16:07 +01:00