]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: Change PF to add ring-vect binding & resetQ to mailbox
authorSalil Mehta <salil.mehta@huawei.com>
Thu, 14 Dec 2017 18:03:08 +0000 (18:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Dec 2017 15:55:35 +0000 (10:55 -0500)
commit29753e452aaddac6bfa4378f8854778d605b5257
tree17b41ef531bd0b2a4cf281e01f9c5b996821038e
parent36e2e5ac27555c0e8a7e63cb207774a47f4bba18
net: hns3: Change PF to add ring-vect binding & resetQ to mailbox

This patch is required to support ring-vector binding and reset
of TQPs requested by the VF driver to the PF driver. Mailbox
handler is added with corresponding VF commands/messages to
handle the request.

Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: lipeng <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c