Lines Matching refs:resp_code
1349 uint8_t resp_code, in hns3_get_mac_vlan_cmd_status() argument
1359 if (resp_code == 0 || resp_code == 1) { in hns3_get_mac_vlan_cmd_status()
1361 } else if (resp_code == HNS3_ADD_UC_OVERFLOW) { in hns3_get_mac_vlan_cmd_status()
1364 } else if (resp_code == HNS3_ADD_MC_OVERFLOW) { in hns3_get_mac_vlan_cmd_status()
1370 resp_code); in hns3_get_mac_vlan_cmd_status()
1373 if (resp_code == 0) { in hns3_get_mac_vlan_cmd_status()
1375 } else if (resp_code == 1) { in hns3_get_mac_vlan_cmd_status()
1381 resp_code); in hns3_get_mac_vlan_cmd_status()
1384 if (resp_code == 0) { in hns3_get_mac_vlan_cmd_status()
1386 } else if (resp_code == 1) { in hns3_get_mac_vlan_cmd_status()
1392 resp_code); in hns3_get_mac_vlan_cmd_status()
1407 uint8_t resp_code; in hns3_lookup_mac_vlan_tbl() local
1435 resp_code = (rte_le_to_cpu_32(desc[0].data[0]) >> 8) & 0xff; in hns3_lookup_mac_vlan_tbl()
1438 return hns3_get_mac_vlan_cmd_status(hw, retval, resp_code, in hns3_lookup_mac_vlan_tbl()
1447 uint8_t resp_code; in hns3_add_mac_vlan_tbl() local
1458 resp_code = (rte_le_to_cpu_32(desc->data[0]) >> 8) & 0xff; in hns3_add_mac_vlan_tbl()
1461 cfg_status = hns3_get_mac_vlan_cmd_status(hw, retval, resp_code, in hns3_add_mac_vlan_tbl()
1477 resp_code = (rte_le_to_cpu_32(desc[0].data[0]) >> 8) & 0xff; in hns3_add_mac_vlan_tbl()
1480 cfg_status = hns3_get_mac_vlan_cmd_status(hw, retval, resp_code, in hns3_add_mac_vlan_tbl()
1497 uint8_t resp_code; in hns3_remove_mac_vlan_tbl() local
1510 resp_code = (rte_le_to_cpu_32(desc.data[0]) >> 8) & 0xff; in hns3_remove_mac_vlan_tbl()
1513 return hns3_get_mac_vlan_cmd_status(hw, retval, resp_code, in hns3_remove_mac_vlan_tbl()
3670 hns3_get_mac_ethertype_cmd_status(uint16_t cmdq_resp, uint8_t resp_code) in hns3_get_mac_ethertype_cmd_status() argument
3685 switch (resp_code) { in hns3_get_mac_ethertype_cmd_status()
3702 resp_code); in hns3_get_mac_ethertype_cmd_status()
3715 uint8_t resp_code; in hns3_add_mgr_tbl() local
3730 resp_code = (rte_le_to_cpu_32(desc.data[0]) >> 8) & 0xff; in hns3_add_mgr_tbl()
3733 return hns3_get_mac_ethertype_cmd_status(retval, resp_code); in hns3_add_mgr_tbl()