/openbmc/linux/include/trace/events/ |
H A D | afs.h | 602 __entry->fid.vid = 0; 610 __entry->fid.vid, 636 __entry->fid.vid = 0; 644 __entry->fid.vid, 671 __entry->fid.vid = 0; 681 __entry->fid.vid, 722 __entry->fid.vid, 1194 __field(u64, vid ) 1201 __entry->vid = volume->vid; 1300 __entry->vid = vid; [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
H A D | bridge_mcast.c | 93 if (entry->key.vid) { in mlx5_esw_bridge_mdb_flow_create() 108 entry->key.vid); in mlx5_esw_bridge_mdb_flow_create() 143 key.vid = vid; in mlx5_esw_bridge_mdb_lookup() 160 entry->key.vid = vid; in mlx5_esw_bridge_port_mdb_entry_init() 201 addr, vid, port->vport_num); in mlx5_esw_bridge_port_mdb_attach() 209 addr, vid, port->vport_num, err); in mlx5_esw_bridge_port_mdb_attach() 220 addr, vid, port->vport_num, err); in mlx5_esw_bridge_port_mdb_attach() 230 addr, vid, port->vport_num, err); in mlx5_esw_bridge_port_mdb_attach() 267 addr, vid, port->vport_num); in mlx5_esw_bridge_port_mdb_detach() 274 addr, vid, port->vport_num); in mlx5_esw_bridge_port_mdb_detach() [all …]
|
H A D | bridge_priv.h | 125 u16 vid; member 130 u16 vid; member 171 u16 vid; member 239 const unsigned char *addr, u16 vid); 241 const unsigned char *addr, u16 vid);
|
H A D | bridge.h | 83 int mlx5_esw_bridge_port_vlan_add(u16 vport_num, u16 esw_owner_vhca_id, u16 vid, u16 flags, 86 void mlx5_esw_bridge_port_vlan_del(u16 vport_num, u16 esw_owner_vhca_id, u16 vid, 90 const unsigned char *addr, u16 vid, 94 const unsigned char *addr, u16 vid,
|
/openbmc/linux/drivers/net/ethernet/sfc/falcon/ |
H A D | filter.h | 232 u16 vid, const u8 *addr) in ef4_filter_set_eth_local() argument 234 if (vid == EF4_FILTER_VID_UNSPEC && addr == NULL) in ef4_filter_set_eth_local() 237 if (vid != EF4_FILTER_VID_UNSPEC) { in ef4_filter_set_eth_local() 239 spec->outer_vid = htons(vid); in ef4_filter_set_eth_local()
|
/openbmc/linux/tools/power/cpupower/debug/i386/ |
H A D | dump_psb.c | 62 int freq, fid, vid; in decode_pst() local 66 vid = *p++; in decode_pst() 73 vid, vid_to_voltage[vid]); in decode_pst()
|
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-switch.c | 314 vid, &vcfg); in dpaa2_switch_port_add_vlan() 354 u16 vid; in dpaa2_switch_port_set_stp_state() local 360 for (vid = 0; vid <= VLAN_VID_MASK; vid++) { in dpaa2_switch_port_set_stp_state() 392 ethsw->vlans[vid] = 0; in dpaa2_switch_dellink() 947 u16 vid) in dpaa2_switch_port_vlan_add() argument 951 .vid = vid, in dpaa2_switch_port_vlan_add() 961 u16 vid) in dpaa2_switch_port_vlan_kill() argument 965 .vid = vid, in dpaa2_switch_port_vlan_kill() 1900 vid, &vcfg); in dpaa2_switch_port_del_vlan() 1911 vid, &vcfg); in dpaa2_switch_port_del_vlan() [all …]
|
/openbmc/linux/drivers/net/dsa/sja1105/ |
H A D | sja1105.h | 146 const unsigned char *addr, u16 vid); 148 const unsigned char *addr, u16 vid); 189 u16 vid; member 404 u8 sja1105et_fdb_hash(struct sja1105_private *priv, const u8 *addr, u16 vid); 406 const unsigned char *addr, u16 vid); 408 const unsigned char *addr, u16 vid); 410 const unsigned char *addr, u16 vid); 412 const unsigned char *addr, u16 vid);
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_trace.h | 249 __field(u16, vid) 255 __entry->vid = fdb->data.vid; 260 __entry->vid, 279 TP_STRUCT__entry(__field(u16, vid) 281 TP_fast_assign(__entry->vid = vlan->vid; 284 __entry->vid,
|
H A D | ice_fltr.c | 106 u16 vid) in ice_fltr_clear_vsi_promisc() argument 111 result = ice_clear_vsi_promisc(hw, vsi_handle, promisc_mask, vid); in ice_fltr_clear_vsi_promisc() 115 ice_get_hw_vsi_num(hw, vsi_handle), vid, result); in ice_fltr_clear_vsi_promisc() 129 u16 vid) in ice_fltr_set_vsi_promisc() argument 134 result = ice_set_vsi_promisc(hw, vsi_handle, promisc_mask, vid); in ice_fltr_set_vsi_promisc() 138 ice_get_hw_vsi_num(hw, vsi_handle), vid, result); in ice_fltr_set_vsi_promisc() 260 info.l_data.vlan.vlan_id = vlan->vid; in ice_fltr_add_vlan_to_list()
|
/openbmc/linux/net/bridge/ |
H A D | br_vlan_tunnel.c | 97 int nbp_vlan_tunnel_info_add(const struct net_bridge_port *port, u16 vid, in nbp_vlan_tunnel_info_add() argument 106 vlan = br_vlan_find(vg, vid); in nbp_vlan_tunnel_info_add() 116 int nbp_vlan_tunnel_info_delete(const struct net_bridge_port *port, u16 vid) in nbp_vlan_tunnel_info_delete() argument 124 v = br_vlan_find(vg, vid); in nbp_vlan_tunnel_info_delete() 182 __vlan_hwaccel_put_tag(skb, p->br->vlan_proto, vlan->vid); in br_handle_ingress_vlan_tunnel()
|
H A D | br_device.c | 40 u16 vid = 0; in br_dev_xmit() local 66 if (!br_allowed_ingress(br, br_vlan_group_rcu(br), skb, &vid, in br_dev_xmit() 74 br_do_proxy_suppress_arp(skb, br, vid, NULL); in br_dev_xmit() 85 br_do_suppress_nd(skb, br, vid, NULL, msg); in br_dev_xmit() 90 br_flood(br, skb, BR_PKT_BROADCAST, false, true, vid); in br_dev_xmit() 93 br_flood(br, skb, BR_PKT_MULTICAST, false, true, vid); in br_dev_xmit() 96 if (br_multicast_rcv(&brmctx, &pmctx_null, vlan, skb, vid)) { in br_dev_xmit() 101 mdst = br_mdb_get(brmctx, skb, vid); in br_dev_xmit() 106 br_flood(br, skb, BR_PKT_MULTICAST, false, true, vid); in br_dev_xmit() 107 } else if ((dst = br_fdb_find_rcu(br, dest, vid)) != NULL) { in br_dev_xmit() [all …]
|
/openbmc/linux/net/dsa/ |
H A D | switch.h | 57 u16 vid; member 65 u16 vid; member 105 u16 vid; member
|
/openbmc/qemu/hw/net/ |
H A D | vmxnet3.h | 782 #define VMXNET3_SET_VFTABLE_ENTRY(vfTable, vid) \ argument 783 (vfTable[vid >> 5] |= (1 << (vid & 31))) 784 #define VMXNET3_CLEAR_VFTABLE_ENTRY(vfTable, vid) \ argument 785 (vfTable[vid >> 5] &= ~(1 << (vid & 31))) 787 #define VMXNET3_VFTABLE_ENTRY_IS_SET(vfTable, vid) \ argument 788 ((vfTable[vid >> 5] & (1 << (vid & 31))) != 0)
|
/openbmc/linux/tools/testing/selftests/net/forwarding/ |
H A D | router_bridge_pvid_vlan_upper.sh | 75 bridge vlan add dev br1 vid 10 pvid untagged self 76 bridge vlan add dev $swp1 vid 10 81 bridge vlan del dev $swp1 vid 10 82 bridge vlan del dev br1 vid 10 self
|
/openbmc/linux/fs/afs/ |
H A D | fsclient.c | 25 fid->vid = ntohl(*bp++); in xdr_decode_AFSFid() 218 vs->vid = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus() 289 bp[1] = htonl(vp->fid.vid); in afs_fs_fetch_status() 437 bp[1] = htonl(vp->fid.vid); in afs_fs_fetch_data64() 473 bp[1] = htonl(vp->fid.vid); in afs_fs_fetch_data() 545 *bp++ = htonl(dvp->fid.vid); in afs_fs_create_file() 598 *bp++ = htonl(dvp->fid.vid); in afs_fs_make_dir() 811 *bp++ = htonl(vp->fid.vid); in afs_fs_link() 1075 *bp++ = htonl(vp->fid.vid); in afs_fs_store_data64() 1128 *bp++ = htonl(vp->fid.vid); in afs_fs_store_data() [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_iov.c | 43 u32 vid; in fm10k_iov_msg_queue_mac_vlan() local 53 err = fm10k_tlv_attr_get_u32(result, &vid); in fm10k_iov_msg_queue_mac_vlan() 57 set = !(vid & FM10K_VLAN_CLEAR); in fm10k_iov_msg_queue_mac_vlan() 58 vid &= ~FM10K_VLAN_CLEAR; in fm10k_iov_msg_queue_mac_vlan() 70 if (vid >> 16) { in fm10k_iov_msg_queue_mac_vlan() 77 err = fm10k_iov_select_vid(vf_info, (u16)vid); in fm10k_iov_msg_queue_mac_vlan() 81 vid = err; in fm10k_iov_msg_queue_mac_vlan() 85 err = hw->mac.ops.update_vlan(hw, vid, vf_info->vsi, set); in fm10k_iov_msg_queue_mac_vlan() 603 if (qos || (vid > (VLAN_VID_MASK - 1))) in fm10k_ndo_set_vf_vlan() 613 if (vf_info->pf_vid == vid) in fm10k_ndo_set_vf_vlan() [all …]
|
/openbmc/linux/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera.h | 34 u16 vid; member 41 u16 vid; member 244 u32 vid; member 384 int prestera_port_pvid_set(struct prestera_port *port, u16 vid); 400 const unsigned char *addr, u16 vid); 410 u16 vid); 415 struct net_device *dev, u16 vid);
|
/openbmc/linux/drivers/net/dsa/hirschmann/ |
H A D | hellcreek.c | 161 val |= vid << HR_VIDCFG_VID_SHIFT; in hellcreek_select_vlan() 371 if (vlan->vid == restricted_vid) { in hellcreek_vlan_prepare() 413 port, vid, pvid, untagged); in hellcreek_apply_vlan() 422 val = hellcreek->vidmbrcfg[vid]; in hellcreek_apply_vlan() 430 hellcreek->vidmbrcfg[vid] = val; in hellcreek_apply_vlan() 436 u16 vid) in hellcreek_unapply_vlan() argument 449 val = hellcreek->vidmbrcfg[vid]; in hellcreek_unapply_vlan() 454 hellcreek->vidmbrcfg[vid] = val; in hellcreek_unapply_vlan() 1281 entry->vid = i; in hellcreek_devlink_region_vlan_snapshot() 1500 u16 vid; in hellcreek_port_prechangeupper() local [all …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | vxlan.sh | 734 local vid=$1; shift 763 if [[ ! -z $vid ]]; then 765 bridge vlan del dev vxlan0 vid $vid 771 bridge vlan add dev vxlan0 vid $vid 777 bridge vlan add dev vxlan0 vid $vid pvid untagged 898 bridge vlan del vid 10 dev vxlan20 938 bridge vlan add vid 10 dev $swp1 939 bridge vlan add vid 20 dev $swp1 954 bridge vlan del vid 20 dev vxlan20 962 bridge vlan del vid 20 dev $swp1 [all …]
|
/openbmc/linux/drivers/mfd/ |
H A D | mt6370.c | 158 int *vid) in mt6370_check_vendor_info() argument 167 *vid = FIELD_GET(MT6370_VENID_MASK, devinfo); in mt6370_check_vendor_info() 168 switch (*vid) { in mt6370_check_vendor_info() 236 int ret, vid; in mt6370_probe() local 258 ret = mt6370_check_vendor_info(dev, regmap, &vid); in mt6370_probe() 268 switch (vid) { in mt6370_probe()
|
/openbmc/linux/net/bluetooth/ |
H A D | hci_codec.c | 24 entry->vid = __le16_to_cpu(sent->vid); in hci_codec_list_add() 179 caps.vid = vnd_codecs->codec[i].vid; in hci_read_supported_codecs() 246 caps.vid = vnd_codecs->codec[i].vid; in hci_read_supported_codecs_v2()
|
/openbmc/linux/include/media/ |
H A D | dvb-usb-ids.h | 15 #define DVB_USB_DEV(pid, vid) \ argument 16 [vid] = { USB_DEVICE(USB_VID_ ## pid, USB_PID_ ## vid) } 18 #define DVB_USB_DEV_VER(pid, vid, lo, hi) \ argument 19 [vid] = { USB_DEVICE_VER(USB_VID_ ## pid, USB_PID_ ## vid, lo, hi) }
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | mcdi_filters.h | 43 u16 vid; member 142 int efx_mcdi_filter_add_vlan(struct efx_nic *efx, u16 vid); 143 struct efx_mcdi_filter_vlan *efx_mcdi_filter_find_vlan(struct efx_nic *efx, u16 vid); 144 void efx_mcdi_filter_del_vlan(struct efx_nic *efx, u16 vid);
|
/openbmc/linux/net/batman-adv/ |
H A D | main.h | 227 static inline int batadv_print_vid(unsigned short vid) in batadv_print_vid() argument 229 if (vid & BATADV_VLAN_HAS_TAG) in batadv_print_vid() 230 return (int)(vid & VLAN_VID_MASK); in batadv_print_vid() 380 bool batadv_vlan_ap_isola_get(struct batadv_priv *bat_priv, unsigned short vid);
|