net/hns3: support mailbox
authorWei Hu (Xavier) <xavier.huwei@huawei.com>
Thu, 26 Sep 2019 14:02:00 +0000 (22:02 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 7 Oct 2019 13:00:57 +0000 (15:00 +0200)
commit463e748964f57c2b768a37ff46f53e52e077b06d
tree4553e9ba369553761e3fa03bda64b2053c918de1
parent411d23b9eafbeae373bc1f78064ec2a8771a2772
net/hns3: support mailbox

This patch adds support for mailbox of hns3 PMD driver, mailbox is
used for communication between PF and VF driver.

Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
Signed-off-by: Chunsong Feng <fengchunsong@huawei.com>
Signed-off-by: Hao Chen <chenhao164@huawei.com>
Signed-off-by: Huisong Li <lihuisong@huawei.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/hns3/Makefile
drivers/net/hns3/hns3_cmd.c
drivers/net/hns3/hns3_ethdev.h
drivers/net/hns3/hns3_mbx.c [new file with mode: 0644]
drivers/net/hns3/hns3_mbx.h [new file with mode: 0644]
drivers/net/hns3/meson.build