]> 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)
commitd3a29b0d576bd15054527a01fcdef977d5fea63b
treeec2f077791ab6106b60f5801c40f8e2e03637143
parent4def8e127840123eb3e307c5b74e2e9de06d2759
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