Home
last modified time | relevance | path

Searched refs:vlan_bitmap (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_dev.h92 unsigned long *vlan_bitmap; member
H A Dhinic_main.c624 vid = find_next_bit(nic_dev->vlan_bitmap, VLAN_N_VID, vid + 1); in change_mac_addr()
671 vid = find_next_bit(nic_dev->vlan_bitmap, VLAN_N_VID, vid + 1); in add_mac_addr()
707 vid = find_next_bit(nic_dev->vlan_bitmap, VLAN_N_VID, vid + 1); in remove_mac_addr()
736 bitmap_set(nic_dev->vlan_bitmap, vid, 1); in hinic_vlan_rx_add_vid()
768 bitmap_clear(nic_dev->vlan_bitmap, vid, 1); in hinic_vlan_rx_kill_vid()
1223 nic_dev->vlan_bitmap = devm_bitmap_zalloc(&pdev->dev, VLAN_N_VID, in nic_dev_init()
1225 if (!nic_dev->vlan_bitmap) { in nic_dev_init()
/linux/drivers/net/ethernet/rocker/
H A Drocker_ofdpa.c204 unsigned long vlan_bitmap[OFDPA_VLAN_BITMAP_LEN]; member
1470 if (test_bit(ntohs(vlan_id), p->vlan_bitmap)) { in ofdpa_port_vlan_flood_group()
1525 if (p && test_bit(ntohs(vlan_id), p->vlan_bitmap)) in ofdpa_port_vlan_l2_groups()
1714 if (!test_bit(vid, ofdpa_port->vlan_bitmap)) in ofdpa_port_ctrl()
1741 test_bit(ntohs(internal_vlan_id), ofdpa_port->vlan_bitmap)) in ofdpa_port_vlan()
1744 !test_bit(ntohs(internal_vlan_id), ofdpa_port->vlan_bitmap)) in ofdpa_port_vlan()
1747 change_bit(ntohs(internal_vlan_id), ofdpa_port->vlan_bitmap); in ofdpa_port_vlan()
1783 change_bit(ntohs(internal_vlan_id), ofdpa_port->vlan_bitmap); in ofdpa_port_vlan()
2071 if (!test_bit(vid, ofdpa_port->vlan_bitmap)) in ofdpa_port_fwding()
/linux/drivers/scsi/lpfc/
H A Dlpfc_hbadisc.c1950 if (new_fcf_record->vlan_bitmap[i]) { in lpfc_match_fcf_conn_list()
1953 while (!((new_fcf_record->vlan_bitmap[i] >> j) & 1)) { in lpfc_match_fcf_conn_list()
2020 if (!(new_fcf_record->vlan_bitmap in lpfc_match_fcf_conn_list()
2274 offsetof(struct fcf_record, vlan_bitmap)); in lpfc_sli4_fcf_rec_mbox_parse()
H A Dlpfc_hw4.h2312 uint8_t vlan_bitmap[512]; member
H A Dlpfc_sli.c20093 fcf_record->vlan_bitmap[phba->vlan_id / 8] in lpfc_sli4_build_dflt_fcf_record()