aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/hisilicon/hns3/hns3pf/Makefile
diff options
context:
space:
mode:
authorSalil Mehta <salil.mehta@huawei.com>2017-12-14 18:03:07 +0000
committerDavid S. Miller <davem@davemloft.net>2017-12-15 10:55:35 -0500
commitdde1a86e93cadf9b17ec0a95a78c99505c48fd83 (patch)
tree07715729e4fc196d7a04dfcd783735fe54e5532e /drivers/net/ethernet/hisilicon/hns3/hns3pf/Makefile
parentnet: hns3: Unified HNS3 {VF|PF} Ethernet Driver for hip08 SoC (diff)
downloadlinux-dev-dde1a86e93cadf9b17ec0a95a78c99505c48fd83.tar.xz
linux-dev-dde1a86e93cadf9b17ec0a95a78c99505c48fd83.zip
net: hns3: Add mailbox support to PF driver
Command queue provides the provision of Mailbox command which can be used for communication between PF and VF. PF handles messages from various VFs for fetching various information like, queue, vlan, link status related etc. It also handles the request from various VFs to perform certain privileged operations. This patch adds the support of a message handler for handling such various command requests from VF. 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>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3/hns3pf/Makefile')
-rw-r--r--drivers/net/ethernet/hisilicon/hns3/hns3pf/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3pf/Makefile b/drivers/net/ethernet/hisilicon/hns3/hns3pf/Makefile
index d077fa02b66e..cb8ddd043476 100644
--- a/drivers/net/ethernet/hisilicon/hns3/hns3pf/Makefile
+++ b/drivers/net/ethernet/hisilicon/hns3/hns3pf/Makefile
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0+
#
# Makefile for the HISILICON network device drivers.
#
@@ -5,6 +6,6 @@
ccflags-y := -Idrivers/net/ethernet/hisilicon/hns3
obj-$(CONFIG_HNS3_HCLGE) += hclge.o
-hclge-objs = hclge_main.o hclge_cmd.o hclge_mdio.o hclge_tm.o
+hclge-objs = hclge_main.o hclge_cmd.o hclge_mdio.o hclge_tm.o hclge_mbx.o
hclge-$(CONFIG_HNS3_DCB) += hclge_dcb.o