]> git.baikalelectronics.ru Git - kernel.git/commit
net: thunderx: move link state polling function to VF
authorVadim Lomovtsev <vlomovtsev@marvell.com>
Wed, 20 Feb 2019 11:02:45 +0000 (11:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 Feb 2019 19:43:45 +0000 (11:43 -0800)
commitcb7f01d9a9a4de5149728081acceaf10a5c814d8
treeafa2de5d6bac268c7361b0aeb789040a52f63c2d
parenta758c8b4b14b3110141c9f88d1d82327a0d3f4d9
net: thunderx: move link state polling function to VF

Move the link change polling task to VF side in order to
prevent races between VF and PF while sending link change
message(s). This commit is to implement link change request
to be initiated by VF.

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