app/testpmd: check code of promiscuous mode switch
authorIvan Ilchenko <ivan.ilchenko@oktetlabs.ru>
Sat, 14 Sep 2019 11:37:27 +0000 (12:37 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 7 Oct 2019 13:00:54 +0000 (15:00 +0200)
commit34fc1051066a2cef9775ddba6139c3aae3dd6c2f
tree018bc5e3ec865e317348ac67aa69daf43e79c495
parentb57e35d6e9eb6ed0a0b7b51b3641f7c6b887a66f
app/testpmd: check code of promiscuous mode switch

rte_eth_promiscuous_enable()/rte_eth_promiscuous_disable() return
value was changed from void to int, so this patch modify usage
of these functions across app/testpmd
according to new return type.

Signed-off-by: Ivan Ilchenko <ivan.ilchenko@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
app/test-pmd/cmdline.c
app/test-pmd/testpmd.c
app/test-pmd/testpmd.h
app/test-pmd/util.c