Home
last modified time | relevance | path

Searched refs:HCLGE_VF_NUM_PER_BYTE (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/ !
Dhclge_cmd.h529 #define HCLGE_VF_NUM_PER_BYTE 8 macro
537 u8 vf_bitmap[HCLGE_VF_NUM_PER_BYTE];
551 u8 vf_bitmap[HCLGE_VF_NUM_PER_BYTE];
Dhclge_debugfs.c2731 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()
Dhclge_main.c9833 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()