Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A 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];
H A Dhclge_debugfs.c2086 bmap_index = vf_id % HCLGE_VF_NUM_PER_CMD / HCLGE_VF_NUM_PER_BYTE; in hclge_get_vlan_rx_offload_cfg()
2087 req->vf_bitmap[bmap_index] = 1U << (vf_id % HCLGE_VF_NUM_PER_BYTE); in hclge_get_vlan_rx_offload_cfg()
2120 bmap_index = vf_id % HCLGE_VF_NUM_PER_CMD / HCLGE_VF_NUM_PER_BYTE; in hclge_get_vlan_tx_offload_cfg()
2121 req->vf_bitmap[bmap_index] = 1U << (vf_id % HCLGE_VF_NUM_PER_BYTE); in hclge_get_vlan_tx_offload_cfg()
H A Dhclge_main.c9766 HCLGE_VF_NUM_PER_BYTE; in hclge_set_vlan_tx_offload_cfg()
9768 1U << (vport->vport_id % HCLGE_VF_NUM_PER_BYTE); in hclge_set_vlan_tx_offload_cfg()
9806 HCLGE_VF_NUM_PER_BYTE; in hclge_set_vlan_rx_offload_cfg()
9808 1U << (vport->vport_id % HCLGE_VF_NUM_PER_BYTE); in hclge_set_vlan_rx_offload_cfg()