net/hinic/base: support cmdq mechanism
authorZiyang Xuan <xuanziyang2@huawei.com>
Thu, 27 Jun 2019 08:14:12 +0000 (16:14 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 28 Jun 2019 18:31:49 +0000 (20:31 +0200)
commit7fcd6b05b9234872a74a33f81aec3c08ccb6ab73
tree6af073a1a7c7950ac3a30a5af79307498b738955
parent53ffbf2caaf8d69ea55d800052f74e027bd44f4c
net/hinic/base: support cmdq mechanism

Microcode is named ucode in Hi1822. Its main responsibility is data
transmission and reception. But it can also handle some administration
works. It uses cmdq mechanism. This patch introduces data structures,
initialization, interfaces, and commands sending functions of cmdq.

Signed-off-by: Ziyang Xuan <xuanziyang2@huawei.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/hinic/base/hinic_pmd_cmdq.c [new file with mode: 0644]
drivers/net/hinic/base/hinic_pmd_cmdq.h [new file with mode: 0644]