]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
net: thunderx: make CFG_DONE message to run through generic send-ack sequence
authorVadim Lomovtsev <vlomovtsev@marvell.com>
Wed, 20 Feb 2019 11:02:43 +0000 (11:02 +0000)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 14 Aug 2019 09:18:49 +0000 (11:18 +0200)
commite898e5054ba3bfa1939f08f2ab31adacf4664b9b
tree9bdff3af568673d0dabc400e8d5cc2a552d8308b
parent7e31a553612182c65f4405e2f746d185cd710dd1
net: thunderx: make CFG_DONE message to run through generic send-ack sequence

BugLink: https://bugs.launchpad.net/bugs/1837952
[ Upstream commit 0dd563b9a62c4cbabf5d4fd6596440c2491e72b1 ]

At the end of NIC VF initialization VF sends CFG_DONE message to PF without
using nicvf_msg_send_to_pf routine. This potentially could re-write data in
mailbox. This commit is to implement common way of sending CFG_DONE message
by the same way with other configuration messages by using
nicvf_send_msg_to_pf() routine.

Signed-off-by: Vadim Lomovtsev <vlomovtsev@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/net/ethernet/cavium/thunder/nic_main.c
drivers/net/ethernet/cavium/thunder/nicvf_main.c