Searched refs:HCLGE_VF_NUM_PER_CMD (Results 1 – 3 of 3) sorted by relevance
2504 req->vf_offset = vf_id / HCLGE_VF_NUM_PER_CMD; in hclge_get_vlan_rx_offload_cfg()2505 bmap_index = vf_id % HCLGE_VF_NUM_PER_CMD / HCLGE_VF_NUM_PER_BYTE; in hclge_get_vlan_rx_offload_cfg()2538 req->vf_offset = vf_id / HCLGE_VF_NUM_PER_CMD; in hclge_get_vlan_tx_offload_cfg()2539 bmap_index = vf_id % HCLGE_VF_NUM_PER_CMD / HCLGE_VF_NUM_PER_BYTE; in hclge_get_vlan_tx_offload_cfg()
124 #define HCLGE_VF_NUM_PER_CMD 64 macro
9847 req->vf_offset = vport->vport_id / HCLGE_VF_NUM_PER_CMD; in hclge_set_vlan_tx_offload_cfg() 9848 bmap_index = vport->vport_id % HCLGE_VF_NUM_PER_CMD / in hclge_set_vlan_tx_offload_cfg() 9887 req->vf_offset = vport->vport_id / HCLGE_VF_NUM_PER_CMD; in hclge_set_vlan_rx_offload_cfg() 9888 bmap_index = vport->vport_id % HCLGE_VF_NUM_PER_CMD / in hclge_set_vlan_rx_offload_cfg()