Searched refs:vid (Results 101 - 125 of 614) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/drivers/net/mlxsw/
H A Dingress_rif_conf_vxlan.sh18 # | | vid 10 pvid untagged | |
26 # | | vid 4001 pvid untagged | |
90 bridge vlan add vid 10 dev $swp1 pvid untagged
115 bridge vlan add vid 10 dev br1 self
116 bridge vlan add vid 4001 dev br1 self
125 bridge vlan del vid 4001 dev br1 self
126 bridge vlan del vid 10 dev br1 self
136 bridge vlan del vid 10 dev $swp1
249 bridge vlan add vid 4001 dev vx4001 pvid untagged
269 bridge vlan del vid 400
[all...]
/linux-master/tools/testing/selftests/drivers/net/ocelot/
H A Dtc_flower_chains.sh244 bridge vlan add dev $swp1 vid 200
245 bridge vlan add dev $swp1 vid 300
246 bridge vlan add dev $swp2 vid 300
268 bridge vlan del dev $swp1 vid 200
269 bridge vlan del dev $swp1 vid 300
270 bridge vlan del dev $swp2 vid 300
286 bridge vlan add dev $swp1 vid 200
287 bridge vlan add dev $swp2 vid 200
309 bridge vlan del dev $swp1 vid 200
310 bridge vlan del dev $swp2 vid 20
[all...]
/linux-master/drivers/net/ethernet/ti/
H A Dcpsw_ale.c345 static int cpsw_ale_match_addr(struct cpsw_ale *ale, const u8 *addr, u16 vid) argument
357 if (cpsw_ale_get_vlan_id(ale_entry) != vid)
366 static int cpsw_ale_match_vlan(struct cpsw_ale *ale, u16 vid) argument
376 if (cpsw_ale_get_vlan_id(ale_entry) == vid)
435 int cpsw_ale_flush_multicast(struct cpsw_ale *ale, int port_mask, int vid) argument
446 /* if vid passed is -1 then remove all multicast entry from
451 if (vid != -1 && cpsw_ale_get_vlan_id(ale_entry) != vid)
471 int flags, u16 vid)
475 cpsw_ale_set_vlan_id(ale_entry, vid);
470 cpsw_ale_set_vlan_entry_type(u32 *ale_entry, int flags, u16 vid) argument
481 cpsw_ale_add_ucast(struct cpsw_ale *ale, const u8 *addr, int port, int flags, u16 vid) argument
507 cpsw_ale_del_ucast(struct cpsw_ale *ale, const u8 *addr, int port, int flags, u16 vid) argument
522 cpsw_ale_add_mcast(struct cpsw_ale *ale, const u8 *addr, int port_mask, int flags, u16 vid, int mcast_state) argument
555 cpsw_ale_del_mcast(struct cpsw_ale *ale, const u8 *addr, int port_mask, int flags, u16 vid) argument
601 cpsw_ale_set_vlan_untag(struct cpsw_ale *ale, u32 *ale_entry, u16 vid, int untag_mask) argument
613 cpsw_ale_add_vlan(struct cpsw_ale *ale, u16 vid, int port_mask, int untag, int reg_mcast, int unreg_mcast) argument
653 cpsw_ale_vlan_del_modify_int(struct cpsw_ale *ale, u32 *ale_entry, u16 vid, int port_mask) argument
693 cpsw_ale_vlan_del_modify(struct cpsw_ale *ale, u16 vid, int port_mask) argument
710 cpsw_ale_del_vlan(struct cpsw_ale *ale, u16 vid, int port_mask) argument
744 cpsw_ale_vlan_add_modify(struct cpsw_ale *ale, u16 vid, int port_mask, int untag_mask, int reg_mask, int unreg_mask) argument
[all...]
/linux-master/net/batman-adv/
H A Dmulticast_forw.c136 * @vid: the vlan identifier
150 struct sk_buff *skb, unsigned short vid,
162 if (batadv_bla_is_backbone_gw_orig(bat_priv, orig_node->orig, vid))
179 * @vid: the vlan identifier
192 unsigned short vid,
205 !batadv_mcast_forw_push_dest(bat_priv, skb, vid, orig_node,
220 * @vid: the vlan identifier
231 unsigned short vid, unsigned short *num_dests,
242 tt_global = batadv_tt_global_hash_find(bat_priv, addr, vid);
248 if (!batadv_mcast_forw_push_dest(bat_priv, skb, vid,
149 batadv_mcast_forw_push_dest(struct batadv_priv *bat_priv, struct sk_buff *skb, unsigned short vid, struct batadv_orig_node *orig_node, unsigned short *num_dests, unsigned short *tvlv_len) argument
190 batadv_mcast_forw_push_dests_list(struct batadv_priv *bat_priv, struct sk_buff *skb, unsigned short vid, struct hlist_head *head, size_t entry_offset, unsigned short *num_dests, unsigned short *tvlv_len) argument
230 batadv_mcast_forw_push_tt(struct batadv_priv *bat_priv, struct sk_buff *skb, unsigned short vid, unsigned short *num_dests, unsigned short *tvlv_len) argument
276 batadv_mcast_forw_push_want_all(struct batadv_priv *bat_priv, struct sk_buff *skb, unsigned short vid, unsigned short *num_dests, unsigned short *tvlv_len) argument
322 batadv_mcast_forw_push_want_rtr(struct batadv_priv *bat_priv, struct sk_buff *skb, unsigned short vid, unsigned short *num_dests, unsigned short *tvlv_len) argument
492 batadv_mcast_forw_push_dests(struct batadv_priv *bat_priv, struct sk_buff *skb, unsigned short vid, int is_routable, int *count, unsigned short *tvlv_len) argument
584 batadv_mcast_forw_push_tvlvs(struct batadv_priv *bat_priv, struct sk_buff *skb, unsigned short vid, int is_routable, int count, unsigned short *tvlv_len) argument
1126 batadv_mcast_forw_push(struct batadv_priv *bat_priv, struct sk_buff *skb, unsigned short vid, int is_routable, int count) argument
[all...]
/linux-master/drivers/cpufreq/
H A Dpowernow-k8.c96 * Update the global current fid / vid values from the status msr.
134 u8 fid, vid; local
137 vid = hi & MSR_S_HI_CURRENT_VID;
139 lo = fid | (vid << MSR_C_LO_VID_SHIFT);
175 pr_err("vid change on fid trans, old 0x%x, new 0x%x\n",
189 /* Write a new vid to the hardware */
190 static int write_new_vid(struct powernow_k8_data *data, u32 vid) argument
196 if ((data->currfid & INVALID_FID_MASK) || (vid & INVALID_VID_MASK)) {
197 pr_err("internal error - overflow on vid write\n");
202 lo |= (vid << MSR_C_LO_VID_SHIF
805 u32 vid; local
885 u32 vid = 0; local
[all...]
/linux-master/tools/testing/selftests/net/forwarding/
H A Dvxlan_asymmetric_ipv6.sh15 # | | vid 10 pvid untagged vid 20 pvid untagged | |
22 # | | vid 10 pvid untagged vid 20 pvid untagged | |
79 # | | vid 10 pvid untagged vid 20 pvid untagged | |
82 # | | | vid 10 pvid untagged br1 | vid 20 pvid untagged | |
177 bridge vlan add vid 10 dev vx10 pvid untagged
185 bridge vlan add vid 2
[all...]
H A Dvxlan_asymmetric.sh15 # | | vid 10 pvid untagged vid 20 pvid untagged | |
22 # | | vid 10 pvid untagged vid 20 pvid untagged | |
79 # | | vid 10 pvid untagged vid 20 pvid untagged | |
82 # | | | vid 10 pvid untagged br1 | vid 20 pvid untagged | |
177 bridge vlan add vid 10 dev vx10 pvid untagged
185 bridge vlan add vid 2
[all...]
/linux-master/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_main.h446 u16 vid; member in struct:lan966x_port
512 unsigned int vid,
516 unsigned int vid,
520 unsigned int vid,
522 int lan966x_mac_cpu_learn(struct lan966x *lan966x, const char *addr, u16 vid);
523 int lan966x_mac_cpu_forget(struct lan966x *lan966x, const char *addr, u16 vid);
529 u16 vid);
533 u16 vid);
544 bool lan966x_vlan_cpu_member_cpu_vlan_mask(struct lan966x *lan966x, u16 vid);
548 u16 vid,
[all...]
/linux-master/net/bridge/
H A Dbr_private.h190 * @vid: VLAN id
216 u16 vid; member in struct:net_bridge_vlan
679 static inline bool br_vlan_valid_id(u16 vid, struct netlink_ext_ack *extack) argument
681 bool ret = vid > 0 && vid < VLAN_VID_MASK;
710 } else if (cur->vid <= last->vid) {
837 const unsigned char *addr, u16 vid);
842 const struct net_bridge_port *p, u16 vid, int do_all);
845 __u16 vid);
1347 br_multicast_rcv(struct net_bridge_mcast **brmctx, struct net_bridge_mcast_port **pmctx, struct net_bridge_vlan *vlan, struct sk_buff *skb, u16 vid) argument
1357 br_mdb_entry_skb_get(struct net_bridge_mcast *brmctx, struct sk_buff *skb, u16 vid) argument
1617 br_vlan_get_tag(const struct sk_buff *skb, u16 *vid) argument
1645 br_allowed_ingress(const struct net_bridge *br, struct net_bridge_vlan_group *vg, struct sk_buff *skb, u16 *vid, u8 *state, struct net_bridge_vlan **vlan) argument
1662 br_should_learn(struct net_bridge_port *p, struct sk_buff *skb, u16 *vid) argument
1676 br_vlan_add(struct net_bridge *br, u16 vid, u16 flags, bool *changed, struct netlink_ext_ack *extack) argument
1683 br_vlan_delete(struct net_bridge *br, u16 vid) argument
1701 nbp_vlan_add(struct net_bridge_port *port, u16 vid, u16 flags, bool *changed, struct netlink_ext_ack *extack) argument
1708 nbp_vlan_delete(struct net_bridge_port *port, u16 vid) argument
1717 br_vlan_find(struct net_bridge_vlan_group *vg, u16 vid) argument
1813 br_vlan_notify(const struct net_bridge *br, const struct net_bridge_port *p, u16 vid, u16 vid_range, int cmd) argument
2251 br_switchdev_port_vlan_add(struct net_device *dev, u16 vid, u16 flags, bool changed, struct netlink_ext_ack *extack) argument
2258 br_switchdev_port_vlan_del(struct net_device *dev, u16 vid) argument
[all...]
/linux-master/fs/afs/
H A Dvalidation.c196 _enter("%llx,%llx,%llx->%llx", volume->vid, cur, old, new);
235 trace_afs_cb_v_break(volume->vid, snap, afs_cb_break_volume_excluded);
241 trace_afs_cb_v_break(volume->vid, snap, afs_cb_break_for_vos_release);
247 trace_afs_cb_v_break(volume->vid, 0, afs_cb_break_for_creation_regress);
262 _enter("%llx,%llx,%llx->%llx", volume->vid, cur, old, new);
288 trace_afs_cb_v_break(volume->vid, 0, reason);
329 _enter("%llx", op->volume->vid);
360 _enter("{%llx:%llu}", vnode->fid.vid, vnode->fid.vnode);
391 vnode->fid.vid, vnode->fid.vnode, vnode->flags,
H A Dafs.h53 afs_volid_t vid; /* volume ID */ member in struct:afs_fid
95 afs_volid_t vid; /* volume ID */ member in struct:afs_volume_info
176 afs_volid_t vid; /* volume ID */ member in struct:afs_volume_status
/linux-master/drivers/net/ethernet/marvell/prestera/
H A Dprestera_dsa.c65 dsa->vlan.vid = FIELD_GET(PRESTERA_DSA_W0_VID, words[0]);
66 dsa->vlan.vid &= ~PRESTERA_DSA_VID;
67 dsa->vlan.vid |= FIELD_PREP(PRESTERA_DSA_VID, field);
/linux-master/drivers/net/ethernet/mscc/
H A Docelot.h72 u16 vid; member in struct:ocelot_multicast
91 unsigned int vid, enum macaccess_entry_type type);
93 const unsigned char mac[ETH_ALEN], unsigned int vid);
/linux-master/drivers/pci/
H A Ddoe.c62 u16 vid; member in struct:pci_doe_protocol
174 val = FIELD_PREP(PCI_DOE_DATA_OBJECT_HEADER_1_VID, task->prot.vid) |
222 if ((FIELD_GET(PCI_DOE_DATA_OBJECT_HEADER_1_VID, val) != task->prot.vid) ||
225 doe_mb->cap_offset, task->prot.vid, task->prot.type,
386 static int pci_doe_discovery(struct pci_doe_mb *doe_mb, u8 *index, u16 *vid, argument
406 *vid = FIELD_GET(PCI_DOE_DATA_OBJECT_DISC_RSP_3_VID, response_pl);
415 static void *pci_doe_xa_prot_entry(u16 vid, u8 prot) argument
417 return xa_mk_value((vid << 8) | prot);
427 u16 vid; local
430 rc = pci_doe_discovery(doe_mb, &index, &vid,
550 pci_doe_supports_prot(struct pci_doe_mb *doe_mb, u16 vid, u8 type) argument
[all...]
/linux-master/net/dsa/
H A Dport.c38 static void dsa_port_notify_bridge_fdb_flush(const struct dsa_port *dp, u16 vid) argument
42 .vid = vid,
68 static int dsa_port_vlan_fast_age(const struct dsa_port *dp, u16 vid) argument
76 err = ds->ops->port_vlan_fast_age(ds, dp->index, vid);
79 dsa_port_notify_bridge_fdb_flush(dp, vid);
87 int err, vid; local
93 for_each_set_bit(vid, vids, VLAN_N_VID) {
94 err = dsa_port_vlan_fast_age(dp, vid);
749 u16 vid; local
980 dsa_port_fdb_add(struct dsa_port *dp, const unsigned char *addr, u16 vid) argument
1003 dsa_port_fdb_del(struct dsa_port *dp, const unsigned char *addr, u16 vid) argument
1022 dsa_port_host_fdb_add(struct dsa_port *dp, const unsigned char *addr, u16 vid, struct dsa_db db) argument
1036 dsa_port_standalone_host_fdb_add(struct dsa_port *dp, const unsigned char *addr, u16 vid) argument
1047 dsa_port_bridge_host_fdb_add(struct dsa_port *dp, const unsigned char *addr, u16 vid) argument
1073 dsa_port_host_fdb_del(struct dsa_port *dp, const unsigned char *addr, u16 vid, struct dsa_db db) argument
1087 dsa_port_standalone_host_fdb_del(struct dsa_port *dp, const unsigned char *addr, u16 vid) argument
1098 dsa_port_bridge_host_fdb_del(struct dsa_port *dp, const unsigned char *addr, u16 vid) argument
1120 dsa_port_lag_fdb_add(struct dsa_port *dp, const unsigned char *addr, u16 vid) argument
1139 dsa_port_lag_fdb_del(struct dsa_port *dp, const unsigned char *addr, u16 vid) argument
2046 dsa_port_tag_8021q_vlan_add(struct dsa_port *dp, u16 vid, bool broadcast) argument
2059 dsa_port_tag_8021q_vlan_del(struct dsa_port *dp, u16 vid, bool broadcast) argument
[all...]
/linux-master/drivers/net/ethernet/sfc/falcon/
H A Dfilter.h228 * @vid: Outer VLAN ID to match, or %EF4_FILTER_VID_UNSPEC
232 u16 vid, const u8 *addr)
234 if (vid == EF4_FILTER_VID_UNSPEC && addr == NULL)
237 if (vid != EF4_FILTER_VID_UNSPEC) {
239 spec->outer_vid = htons(vid);
231 ef4_filter_set_eth_local(struct ef4_filter_spec *spec, u16 vid, const u8 *addr) argument
/linux-master/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
H A Dvolt.h32 u8 vid; member in struct:nvbios_volt_entry
/linux-master/drivers/gpu/drm/sti/
H A Dsti_compositor.h62 * @vid: array of vids
77 struct sti_vid *vid[STI_MAX_VID]; member in struct:sti_compositor
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/volt/
H A Dpriv.h17 int (*vid_set)(struct nvkm_volt *, u8 vid);
/linux-master/drivers/net/ethernet/sfc/siena/
H A Dfilter.h254 * @vid: Outer VLAN ID to match, or %EFX_FILTER_VID_UNSPEC
258 u16 vid, const u8 *addr)
260 if (vid == EFX_FILTER_VID_UNSPEC && addr == NULL)
263 if (vid != EFX_FILTER_VID_UNSPEC) {
265 spec->outer_vid = htons(vid);
257 efx_filter_set_eth_local(struct efx_filter_spec *spec, u16 vid, const u8 *addr) argument
/linux-master/drivers/net/ethernet/sfc/
H A Dmcdi_filters.h43 u16 vid; member in struct:efx_mcdi_filter_vlan
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);
H A Dfilter.h275 * @vid: Outer VLAN ID to match, or %EFX_FILTER_VID_UNSPEC
279 u16 vid, const u8 *addr)
281 if (vid == EFX_FILTER_VID_UNSPEC && addr == NULL)
284 if (vid != EFX_FILTER_VID_UNSPEC) {
286 spec->outer_vid = htons(vid);
278 efx_filter_set_eth_local(struct efx_filter_spec *spec, u16 vid, const u8 *addr) argument
/linux-master/drivers/net/ethernet/cisco/enic/
H A Denic_dev.c166 int enic_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid) argument
172 err = enic_add_vlan(enic, vid);
179 int enic_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid) argument
185 err = enic_del_vlan(enic, vid);
/linux-master/tools/power/cpupower/debug/i386/
H A Ddump_psb.c62 int freq, fid, vid; local
66 vid = *p++;
73 vid, vid_to_voltage[vid]);
/linux-master/drivers/hwmon/pmbus/
H A Dmax20751.c18 .format[PSC_VOLTAGE_OUT] = vid,

Completed in 297 milliseconds

1234567891011>>