net/hinic/base: add API command channel
authorZiyang Xuan <xuanziyang2@huawei.com>
Thu, 27 Jun 2019 08:13:26 +0000 (16:13 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 28 Jun 2019 18:31:49 +0000 (20:31 +0200)
commit53ffbf2caaf8d69ea55d800052f74e027bd44f4c
tree3edcb65db8445b515e06eb84f9d08bdedd6facce
parent4b8441756f0922d526508ee34f179007cdc2db90
net/hinic/base: add API command channel

API command channel is for communicating with mgmt module of chip.
This patch introduces data structures, initialization, interfaces,
and commands sending functions of API command channel.

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