Lines Matching refs:resp_code

1275 			     uint8_t resp_code,  in hns3_get_mac_vlan_cmd_status()  argument
1285 if (resp_code == 0 || resp_code == 1) { in hns3_get_mac_vlan_cmd_status()
1287 } else if (resp_code == HNS3_ADD_UC_OVERFLOW) { in hns3_get_mac_vlan_cmd_status()
1290 } else if (resp_code == HNS3_ADD_MC_OVERFLOW) { in hns3_get_mac_vlan_cmd_status()
1296 resp_code); in hns3_get_mac_vlan_cmd_status()
1299 if (resp_code == 0) { in hns3_get_mac_vlan_cmd_status()
1301 } else if (resp_code == 1) { in hns3_get_mac_vlan_cmd_status()
1307 resp_code); in hns3_get_mac_vlan_cmd_status()
1310 if (resp_code == 0) { in hns3_get_mac_vlan_cmd_status()
1312 } else if (resp_code == 1) { in hns3_get_mac_vlan_cmd_status()
1318 resp_code); in hns3_get_mac_vlan_cmd_status()
1333 uint8_t resp_code; in hns3_lookup_mac_vlan_tbl() local
1358 resp_code = (rte_le_to_cpu_32(desc[0].data[0]) >> 8) & 0xff; in hns3_lookup_mac_vlan_tbl()
1361 return hns3_get_mac_vlan_cmd_status(hw, retval, resp_code, in hns3_lookup_mac_vlan_tbl()
1370 uint8_t resp_code; in hns3_add_mac_vlan_tbl() local
1382 resp_code = (rte_le_to_cpu_32(desc.data[0]) >> 8) & 0xff; in hns3_add_mac_vlan_tbl()
1385 cfg_status = hns3_get_mac_vlan_cmd_status(hw, retval, resp_code, in hns3_add_mac_vlan_tbl()
1398 resp_code = (rte_le_to_cpu_32(mc_desc[0].data[0]) >> 8) & 0xff; in hns3_add_mac_vlan_tbl()
1401 cfg_status = hns3_get_mac_vlan_cmd_status(hw, retval, resp_code, in hns3_add_mac_vlan_tbl()
1418 uint8_t resp_code; in hns3_remove_mac_vlan_tbl() local
1431 resp_code = (rte_le_to_cpu_32(desc.data[0]) >> 8) & 0xff; in hns3_remove_mac_vlan_tbl()
1434 return hns3_get_mac_vlan_cmd_status(hw, retval, resp_code, in hns3_remove_mac_vlan_tbl()
3917 hns3_get_mac_ethertype_cmd_status(uint16_t cmdq_resp, uint8_t resp_code) in hns3_get_mac_ethertype_cmd_status() argument
3932 switch (resp_code) { in hns3_get_mac_ethertype_cmd_status()
3949 resp_code); in hns3_get_mac_ethertype_cmd_status()
3962 uint8_t resp_code; in hns3_add_mgr_tbl() local
3977 resp_code = (rte_le_to_cpu_32(desc.data[0]) >> 8) & 0xff; in hns3_add_mgr_tbl()
3980 return hns3_get_mac_ethertype_cmd_status(retval, resp_code); in hns3_add_mgr_tbl()