kni: check code of promiscuous mode switch
authorIvan Ilchenko <ivan.ilchenko@oktetlabs.ru>
Sat, 14 Sep 2019 11:37:31 +0000 (12:37 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 7 Oct 2019 13:00:54 +0000 (15:00 +0200)
commitb57e35d6e9eb6ed0a0b7b51b3641f7c6b887a66f
treeb894932407e664b8780fef349ff97052e1b439b3
parent3c9b7f513143cdfc8c2127e447e6b7501f7cfe97
kni: check code of promiscuous mode switch

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

Signed-off-by: Ivan Ilchenko <ivan.ilchenko@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
app/test/test_kni.c
examples/kni/main.c
lib/librte_kni/rte_kni.c