examples: check status of getting MAC address
authorIgor Romanov <igor.romanov@oktetlabs.ru>
Tue, 10 Sep 2019 08:52:20 +0000 (09:52 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 7 Oct 2019 13:00:55 +0000 (15:00 +0200)
commit70febdcfd60f278be598ec9bcf1ff5bb5c5a59a8
treee0d769ff6c24eae32e3c74b3f7057f50761f56fc
parent6fcf85860575b4075a1fc255e7907afe359178b3
examples: check status of getting MAC address

The return value of rte_eth_macaddr_get() was changed from void to int.
Update the usage of the functions according to the new return type.

Signed-off-by: Igor Romanov <igor.romanov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
39 files changed:
examples/bbdev_app/main.c
examples/bond/main.c
examples/distributor/main.c
examples/ethtool/ethtool-app/main.c
examples/ethtool/lib/rte_ethtool.c
examples/eventdev_pipeline/main.c
examples/flow_classify/flow_classify.c
examples/ip_fragmentation/main.c
examples/ip_pipeline/cli.c
examples/ip_reassembly/main.c
examples/ipsec-secgw/ipsec-secgw.c
examples/ipv4_multicast/main.c
examples/kni/main.c
examples/l2fwd-cat/l2fwd-cat.c
examples/l2fwd-crypto/main.c
examples/l2fwd-jobstats/main.c
examples/l2fwd-keepalive/main.c
examples/l2fwd/main.c
examples/l3fwd-acl/main.c
examples/l3fwd-power/main.c
examples/l3fwd-vf/main.c
examples/l3fwd/main.c
examples/link_status_interrupt/main.c
examples/multi_process/client_server_mp/mp_server/main.c
examples/packet_ordering/main.c
examples/performance-thread/l3fwd-thread/main.c
examples/ptpclient/ptpclient.c
examples/quota_watermark/qw/main.c
examples/rxtx_callbacks/main.c
examples/server_node_efd/server/main.c
examples/skeleton/basicfwd.c
examples/tep_termination/vxlan_setup.c
examples/vhost/main.c
examples/vm_power_manager/guest_cli/main.c
examples/vm_power_manager/guest_cli/vm_power_cli_guest.c
examples/vm_power_manager/guest_cli/vm_power_cli_guest.h
examples/vm_power_manager/main.c
examples/vmdq/main.c
examples/vmdq_dcb/main.c