Searched refs:HCLGE_VF_NUM_PER_BYTE (Results 1 – 3 of 3) sorted by relevance
529 #define HCLGE_VF_NUM_PER_BYTE 8 macro537 u8 vf_bitmap[HCLGE_VF_NUM_PER_BYTE];551 u8 vf_bitmap[HCLGE_VF_NUM_PER_BYTE];
2731 bmap_index = vf_id % HCLGE_VF_NUM_PER_CMD / HCLGE_VF_NUM_PER_BYTE; in hclge_get_vlan_rx_offload_cfg()2732 req->vf_bitmap[bmap_index] = 1U << (vf_id % HCLGE_VF_NUM_PER_BYTE); in hclge_get_vlan_rx_offload_cfg()2765 bmap_index = vf_id % HCLGE_VF_NUM_PER_CMD / HCLGE_VF_NUM_PER_BYTE; in hclge_get_vlan_tx_offload_cfg()2766 req->vf_bitmap[bmap_index] = 1U << (vf_id % HCLGE_VF_NUM_PER_BYTE); in hclge_get_vlan_tx_offload_cfg()
9833 HCLGE_VF_NUM_PER_BYTE; in hclge_set_vlan_tx_offload_cfg()9835 1U << (vport->vport_id % HCLGE_VF_NUM_PER_BYTE); in hclge_set_vlan_tx_offload_cfg()9873 HCLGE_VF_NUM_PER_BYTE; in hclge_set_vlan_rx_offload_cfg()9875 1U << (vport->vport_id % HCLGE_VF_NUM_PER_BYTE); in hclge_set_vlan_rx_offload_cfg()