Skip to content
Snippets Groups Projects
Commit f358e9e8 authored by Chiqijun's avatar Chiqijun Committed by Cheng Jian
Browse files

net/hinic: Add support for hinic PMD on VF


driver inclusion
category: feature
bugzilla: 4472

-----------------------------------------------------------------------

Add support for hinic PMD on VF

Signed-off-by: default avatarChiqijun <chiqijun@huawei.com>
Reviewed-by: default avatarWangxiaoyun <cloud.wangxiaoyun@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarCheng Jian <cj.chengjian@huawei.com>
parent ff042c69
No related branches found
No related tags found
No related merge requests found
......@@ -166,6 +166,13 @@ struct vf_cmd_check_handle nic_cmd_support_vf[] = {
{HINIC_PORT_CMD_SET_VLAN_FILTER, hinic_mbox_check_func_id_8B},
{HINIC_PORT_CMD_FORCE_PKT_DROP, check_force_pkt_drop},
{HINIC_PORT_CMD_Q_FILTER, hinic_mbox_check_func_id_8B},
{HINIC_PORT_CMD_TCAM_FILTER, NULL},
{HINIC_PORT_CMD_UP_TC_ADD_FLOW, NULL},
{HINIC_PORT_CMD_UP_TC_DEL_FLOW, NULL},
{HINIC_PORT_CMD_UP_TC_FLUSH_TCAM, hinic_mbox_check_func_id_8B},
{HINIC_PORT_CMD_UP_TC_CTRL_TCAM_BLOCK, hinic_mbox_check_func_id_8B},
{HINIC_PORT_CMD_UP_TC_ENABLE, hinic_mbox_check_func_id_8B},
};
int hinic_init_function_table(void *hwdev, u16 rx_buf_sz)
......
......@@ -160,6 +160,13 @@ enum hinic_port_cmd {
/* not defined in base line */
HINIC_PORT_CMD_GET_SFP_INFO = 0xad,
HINIC_PORT_CMD_UP_TC_ADD_FLOW = 0xAF,
HINIC_PORT_CMD_UP_TC_DEL_FLOW = 0xB0,
HINIC_PORT_CMD_UP_TC_GET_FLOW = 0xB1,
HINIC_PORT_CMD_UP_TC_FLUSH_TCAM = 0xB2,
HINIC_PORT_CMD_UP_TC_CTRL_TCAM_BLOCK = 0xB3,
HINIC_PORT_CMD_UP_TC_ENABLE = 0xB4,
HINIC_PORT_CMD_UP_TC_GET_TCAM_BLOCK = 0xB5,
HINIC_PORT_CMD_SET_NETQ = 0xc1,
HINIC_PORT_CMD_ADD_RQ_FILTER = 0xc2,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment