]> git.baikalelectronics.ru Git - kernel.git/commit
net: thunderx: add nicvf_send_msg_to_pf result check for set_rx_mode_task
authorVadim Lomovtsev <vlomovtsev@marvell.com>
Wed, 20 Feb 2019 11:02:44 +0000 (11:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 Feb 2019 19:43:44 +0000 (11:43 -0800)
commitc54f8f39a4257d3ebefb3105c61bcfff5ae93998
treeec2f077791ab6106b60f5801c40f8e2e03637143
parent47424f1d29c14e5ffe02f6b8db0fc1146dd3bc4c
net: thunderx: add nicvf_send_msg_to_pf result check for set_rx_mode_task

The rx_set_mode invokes number of messages to be send to PF for receive
mode configuration. In case if there any issues we need to stop sending
messages and release allocated memory.

This commit is to implement check of nicvf_msg_send_to_pf() result.

Signed-off-by: Vadim Lomovtsev <vlomovtsev@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/thunder/nicvf_main.c