diff options
author | Salil Mehta <salil.mehta@huawei.com> | 2017-12-14 18:03:02 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-15 10:55:34 -0500 |
commit | fedd0c15d2885e393d4ef4db818b462c3bbfc337 (patch) | |
tree | e328908320f93da05b4a80d24425ff470f53d412 /drivers/net/ethernet/hisilicon/hns3/hclge_mbx.h | |
parent | be17bbec2361c461dde8e08f274423d0d7dda15c (diff) | |
download | linux-fedd0c15d2885e393d4ef4db818b462c3bbfc337.tar.bz2 |
net: hns3: Add HNS3 VF IMP(Integrated Management Proc) cmd interface
This patch adds support of command interface for communication with
the IMP(Integrated Management Processor) for HNS3 Virtual Function
Driver.
Each VF has support of CQP(Command Queue Pair) ring interface.
Each CQP consis of send queue CSQ and receive queue CRQ.
There are various commands a VF may support, like to query frimware
version, TQP management, statistics, interrupt related, mailbox etc.
This also contains code to initialize the command queue, manage the
command queue descriptors and Rx/Tx protocol with the command processor
in the form of various commands/results and acknowledgements.
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/hclge_mbx.h')
0 files changed, 0 insertions, 0 deletions