Home
last modified time | relevance | path

Searched full:vids (Results 1 – 25 of 26) sorted by relevance

12

/linux/tools/testing/selftests/net/forwarding/
H A Dno_forwarding.sh29 vids=(0 1 2 5 10 20 50 100 200 500 1000 1000 2000 4000 4094)
110 for vid in "${vids[@]}"; do
153 for vid in "${vids[@]}"; do
/linux/include/linux/
H A Dif_bridge.h123 int br_mst_get_info(const struct net_device *dev, u16 msti, unsigned long *vids);
164 unsigned long *vids) in br_mst_get_info() argument
/linux/net/bridge/
H A Dbr_mst.c31 int br_mst_get_info(const struct net_device *dev, u16 msti, unsigned long *vids) in br_mst_get_info() argument
50 __set_bit(v->vid, vids); in br_mst_get_info()
/linux/drivers/gpu/drm/sti/
H A Dsti_compositor.h62 * @vid: array of vids
/linux/net/ncsi/
H A Dncsi-rsp.c386 ncf->vids[cmd->index - 1] = 0; in ncsi_rsp_handler_svf()
389 ncf->vids[cmd->index - 1] = ntohs(cmd->vlan); in ncsi_rsp_handler_svf()
823 nc->vlan_filter.vids = kcalloc(rsp->vlan_cnt, in ncsi_rsp_handler_gc()
824 sizeof(*nc->vlan_filter.vids), in ncsi_rsp_handler_gc()
826 if (!nc->vlan_filter.vids) in ncsi_rsp_handler_gc()
907 ncvf->vids[i] = ntohs(*(__be16 *)pdata); in ncsi_rsp_handler_gp()
H A Dncsi-manage.c254 kfree(nc->vlan_filter.vids); in ncsi_remove_channel()
618 vid = ncf->vids[index]; in clear_one_vid()
621 ncf->vids[index] = 0; in clear_one_vid()
657 if (ncf->vids[i] == vid) { in set_one_vid()
681 ncf->vids[index] = vid; in set_one_vid()
H A Dncsi-netlink.c85 if (ncf->vids[i]) in ncsi_write_channel_info()
87 ncf->vids[i]); in ncsi_write_channel_info()
H A Dinternal.h142 u16 *vids; member
/linux/fs/afs/
H A Dvl_alias.c80 if (vol_a->vids[i] != vol_b->vids[i]) in afs_compare_volume_slists()
H A Dvolume.c110 volume->vids[i] = vldb->vid[i]; in afs_alloc_volume()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/volt/
H A Dbase.c197 nvkm_debug(subdev, "found ranged based VIDs\n"); in nvkm_volt_parse_bios()
211 nvkm_debug(subdev, "found entry based VIDs\n"); in nvkm_volt_parse_bios()
/linux/drivers/net/dsa/mxl862xx/
H A Dmxl862xx.c644 * Egress: 2 rules per VID that needs tag stripping (untagged VIDs). in mxl862xx_setup()
666 * EVLAN entries for tag stripping. Tagged-only VIDs in mxl862xx_setup()
903 list_for_each_entry(ve, &vf->vids, list) in mxl862xx_vf_find_vid()
940 list_add_tail(&ve->list, &vf->vids); in mxl862xx_vf_add_vid()
975 list_for_each_entry(last_ve, &vf->vids, list) in mxl862xx_vf_del_vid()
979 if (WARN_ON(list_entry_is_head(last_ve, &vf->vids, list))) in mxl862xx_vf_del_vid()
1032 list_for_each_entry(vfv, &p->vf.vids, list) { in mxl862xx_evlan_program_egress()
1396 INIT_LIST_HEAD(&priv->ports[port].vf.vids); in mxl862xx_port_setup()
/linux/drivers/cpufreq/
H A Dpowernow-k8.h150 * to tell the OS's power management driver which VIDs and FIDs are
/linux/drivers/net/ethernet/ti/icssg/
H A Dicssg_switch_map.h49 /* VLAN-FID Table offset. 4096 VIDs. 2B per VID = 8KB = 0x2000 */
/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_main.c1541 u16 vids[BE_NUM_VLANS_SUPPORTED]; in be_vid_config() local
1558 for_each_set_bit(i, adapter->vids, VLAN_N_VID) in be_vid_config()
1559 vids[num++] = cpu_to_le16(i); in be_vid_config()
1561 status = be_cmd_vlan_config(adapter, adapter->if_handle, vids, num, 0); in be_vid_config()
1584 if (test_bit(vid, adapter->vids)) in be_vlan_add_vid()
1587 set_bit(vid, adapter->vids); in be_vlan_add_vid()
1607 if (!test_bit(vid, adapter->vids)) in be_vlan_rem_vid()
1610 clear_bit(vid, adapter->vids); in be_vlan_rem_vid()
1923 u16 vids[BE_NUM_VLANS_SUPPORTED]; in be_set_vf_tvt() local
1933 vids[0] = 0; in be_set_vf_tvt()
[all …]
/linux/net/dsa/
H A Dport.c86 DECLARE_BITMAP(vids, VLAN_N_VID) = { 0 }; in dsa_port_msti_fast_age()
89 err = br_mst_get_info(dsa_port_bridge_dev_get(dp), msti, vids); in dsa_port_msti_fast_age()
93 for_each_set_bit(vid, vids, VLAN_N_VID) { in dsa_port_msti_fast_age()
759 "Must first remove VLAN uppers having VIDs also present in bridge"); in dsa_port_can_apply_vlan_filtering()
H A Duser.c1796 /* This API only allows programming tagged, non-PVID VIDs */ in dsa_user_vlan_rx_add_vid()
1870 /* This API only allows programming tagged, non-PVID VIDs */ in dsa_user_vlan_rx_kill_vid()
/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-switch.c954 /* This API only allows programming tagged, non-PVID VIDs */ in dpaa2_switch_port_vlan_add()
968 /* This API only allows programming tagged, non-PVID VIDs */ in dpaa2_switch_port_vlan_kill()
/linux/drivers/net/dsa/hirschmann/
H A Dhellcreek.c978 /* Configure port to drop packages with not known vids */ in hellcreek_vlan_filtering()
/linux/drivers/net/ethernet/sfc/
H A Dmcdi_filters.c983 * Do not install all specified VIDs if VLAN filtering is disabled. in efx_mcdi_filter_vlan_sync_rx_mode()
/linux/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_prs.c2141 /* Drop VLAN packets that don't belong to any VIDs on this port */ in mvpp2_prs_vid_enable_filtering()
H A Dmvpp2_main.c5288 netdev_err(dev, "rx-vlan-filter offloading cannot accept more than %d VIDs per port\n", in mvpp2_vlan_rx_add_vid()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_switchdev.c424 * replay fails, the enslavement is off, and the VIDs would be killed by in mlxsw_sp_bridge_port_replay_switchdev_objs()
/linux/drivers/s390/net/
H A Dqeth_core_main.c6778 /* toggle VLAN filter, so that VIDs are re-programmed: */ in qeth_enable_hw_features()
/linux/drivers/gpu/drm/radeon/
H A Datombios.h4504 UCHAR ucGpioPinBitShift[9]; //at most 8 pin support 255 VIDs, termintate with 0xff

12