]> asedeno.scripts.mit.edu Git - linux.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)
commit84e095d64ed974bd46351650fc8188d372b89fde
tree17b41ef531bd0b2a4cf281e01f9c5b996821038e
parentdde1a86e93cadf9b17ec0a95a78c99505c48fd83
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