net/hinic/base: support context and work queue
authorZiyang Xuan <xuanziyang2@huawei.com>
Thu, 27 Jun 2019 08:17:14 +0000 (16:17 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 28 Jun 2019 18:31:49 +0000 (20:31 +0200)
commit828d3e15a9dc7e1448792576268f7fa5b4b9f0c8
treea23c9e68840bebd78d3fe2048c64c3479d255ef1
parent2d5fd10181e1e153a31d1e71ec28bc0747eab9f4
net/hinic/base: support context and work queue

Work queue is used for cmdq and Rx/Tx buff description.
NIC business needs to configure cmdq context and txq/rxq
context. This patch adds data structures and function codes
for work queue and context.

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