Home
last modified time | relevance | path

Searched refs:vid (Results 176 - 200 of 1162) sorted by relevance

12345678910>>...47

/kernel/linux/linux-6.6/tools/testing/selftests/hid/tests/
H A Dconftest.py72 vid, pid = m.groups()
73 vid = int(vid, 16)
75 params.append([module.name.replace(".ko", ""), vid, pid])
76 ids.append(f"{module.name} {vid:04x}:{pid:04x}")
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
H A Dhinic_main.c606 u16 vid = 0; in change_mac_addr() local
618 err = hinic_port_del_mac(nic_dev, netdev->dev_addr, vid); in change_mac_addr()
625 err = hinic_port_add_mac(nic_dev, addr, vid); in change_mac_addr()
631 vid = find_next_bit(nic_dev->vlan_bitmap, VLAN_N_VID, vid + 1); in change_mac_addr()
632 } while (vid != VLAN_N_VID); in change_mac_addr()
663 u16 vid = 0; in add_mac_addr() local
672 err = hinic_port_add_mac(nic_dev, addr, vid); in add_mac_addr()
678 vid = find_next_bit(nic_dev->vlan_bitmap, VLAN_N_VID, vid in add_mac_addr()
695 u16 vid = 0; remove_mac_addr() local
721 hinic_vlan_rx_add_vid(struct net_device *netdev, __always_unused __be16 proto, u16 vid) hinic_vlan_rx_add_vid() argument
759 hinic_vlan_rx_kill_vid(struct net_device *netdev, __always_unused __be16 proto, u16 vid) hinic_vlan_rx_kill_vid() argument
[all...]
/kernel/linux/linux-5.10/include/trace/events/
H A Dafs.h770 __entry->fid.vid = 0;
778 __entry->fid.vid,
804 __entry->fid.vid = 0;
812 __entry->fid.vid,
839 __entry->fid.vid = 0;
849 __entry->fid.vid,
878 __entry->fid.vid = 0;
890 __entry->fid.vid,
1104 __entry->dfid.vid, __entry->dfid.vnode, __entry->dfid.unique,
1217 __entry->fid.vid, __entr
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/huawei/hinic/
H A Dhinic_main.c599 u16 vid = 0; in change_mac_addr() local
611 err = hinic_port_del_mac(nic_dev, netdev->dev_addr, vid); in change_mac_addr()
618 err = hinic_port_add_mac(nic_dev, addr, vid); in change_mac_addr()
624 vid = find_next_bit(nic_dev->vlan_bitmap, VLAN_N_VID, vid + 1); in change_mac_addr()
625 } while (vid != VLAN_N_VID); in change_mac_addr()
656 u16 vid = 0; in add_mac_addr() local
665 err = hinic_port_add_mac(nic_dev, addr, vid); in add_mac_addr()
671 vid = find_next_bit(nic_dev->vlan_bitmap, VLAN_N_VID, vid in add_mac_addr()
688 u16 vid = 0; remove_mac_addr() local
714 hinic_vlan_rx_add_vid(struct net_device *netdev, __always_unused __be16 proto, u16 vid) hinic_vlan_rx_add_vid() argument
752 hinic_vlan_rx_kill_vid(struct net_device *netdev, __always_unused __be16 proto, u16 vid) hinic_vlan_rx_kill_vid() argument
[all...]
/kernel/linux/linux-6.6/include/trace/events/
H A Dafs.h776 __entry->fid.vid = 0;
784 __entry->fid.vid,
810 __entry->fid.vid = 0;
818 __entry->fid.vid,
845 __entry->fid.vid = 0;
855 __entry->fid.vid,
884 __entry->fid.vid = 0;
896 __entry->fid.vid,
1101 __entry->dfid.vid, __entry->dfid.vnode, __entry->dfid.unique,
1214 __entry->fid.vid, __entr
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
H A Dcpsw.c92 __be16 proto, u16 vid);
175 * @vid: vlan id, if vid < 0 set/unset address for real device
179 int vid, int add) in cpsw_set_mc()
185 if (vid < 0) { in cpsw_set_mc()
187 vid = cpsw->slaves[priv->emac_port].port_vlan; in cpsw_set_mc()
189 vid = 0; in cpsw_set_mc()
193 flags = vid ? ALE_VLAN : 0; in cpsw_set_mc()
196 ret = cpsw_ale_add_mcast(cpsw->ale, addr, mask, flags, vid, 0); in cpsw_set_mc()
198 ret = cpsw_ale_del_mcast(cpsw->ale, addr, 0, flags, vid); in cpsw_set_mc()
178 cpsw_set_mc(struct net_device *ndev, const u8 *addr, int vid, int add) cpsw_set_mc() argument
203 cpsw_update_vlan_mc(struct net_device *vdev, int vid, void *ctx) cpsw_update_vlan_mc() argument
268 cpsw_purge_vlan_mc(struct net_device *vdev, int vid, void *ctx) cpsw_purge_vlan_mc() argument
736 cpsw_restore_vlans(struct net_device *vdev, int vid, void *arg) cpsw_restore_vlans() argument
975 u16 vid = 0; cpsw_ndo_set_mac_address() local
1006 cpsw_add_vlan_ale_entry(struct cpsw_priv *priv, unsigned short vid) cpsw_add_vlan_ale_entry() argument
1055 cpsw_ndo_vlan_rx_add_vid(struct net_device *ndev, __be16 proto, u16 vid) cpsw_ndo_vlan_rx_add_vid() argument
1093 cpsw_ndo_vlan_rx_kill_vid(struct net_device *ndev, __be16 proto, u16 vid) cpsw_ndo_vlan_rx_kill_vid() argument
[all...]
H A Dcpsw_new.c119 * @vid: vlan id, if vid < 0 set/unset address for real device
123 int vid, int add) in cpsw_set_mc()
130 if (vid < 0) in cpsw_set_mc()
131 vid = cpsw->slaves[slave_no].port_vlan; in cpsw_set_mc()
134 flags = vid ? ALE_VLAN : 0; in cpsw_set_mc()
137 ret = cpsw_ale_add_mcast(cpsw->ale, addr, mask, flags, vid, 0); in cpsw_set_mc()
139 ret = cpsw_ale_del_mcast(cpsw->ale, addr, 0, flags, vid); in cpsw_set_mc()
144 static int cpsw_update_vlan_mc(struct net_device *vdev, int vid, void *ctx) in cpsw_update_vlan_mc() argument
166 cpsw_set_mc(sync_ctx->ndev, sync_ctx->addr, vid, in cpsw_update_vlan_mc()
122 cpsw_set_mc(struct net_device *ndev, const u8 *addr, int vid, int add) cpsw_set_mc() argument
209 cpsw_purge_vlan_mc(struct net_device *vdev, int vid, void *ctx) cpsw_purge_vlan_mc() argument
405 cpsw_add_vlan_ale_entry(struct cpsw_priv *priv, unsigned short vid) cpsw_add_vlan_ale_entry() argument
444 cpsw_ndo_vlan_rx_add_vid(struct net_device *ndev, __be16 proto, u16 vid) cpsw_ndo_vlan_rx_add_vid() argument
484 cpsw_restore_vlans(struct net_device *vdev, int vid, void *arg) cpsw_restore_vlans() argument
989 u16 vid = 0; cpsw_ndo_set_mac_address() local
1018 cpsw_ndo_vlan_rx_kill_vid(struct net_device *ndev, __be16 proto, u16 vid) cpsw_ndo_vlan_rx_kill_vid() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/dsa/microchip/
H A Dksz8795.c605 static void ksz8_r_vlan_table(struct ksz_device *dev, u16 vid, u16 *vlan) in ksz8_r_vlan_table() argument
613 addr = vid / 4; in ksz8_r_vlan_table()
614 index = vid & 3; in ksz8_r_vlan_table()
619 static void ksz8_w_vlan_table(struct ksz_device *dev, u16 vid, u16 vlan) in ksz8_w_vlan_table() argument
627 addr = vid / 4; in ksz8_w_vlan_table()
628 index = vid & 3; in ksz8_w_vlan_table()
631 dev->vlan_cache[vid].table[0] = vlan; in ksz8_w_vlan_table()
1003 const unsigned char *addr, u16 vid) in ksz8_add_sta_mac()
1023 if (!memcmp(alu.mac, addr, ETH_ALEN) && alu.fid == vid) in ksz8_add_sta_mac()
1039 if (vid) { in ksz8_add_sta_mac()
1002 ksz8_add_sta_mac(struct ksz_device *dev, int port, const unsigned char *addr, u16 vid) ksz8_add_sta_mac() argument
1049 ksz8_del_sta_mac(struct ksz_device *dev, int port, const unsigned char *addr, u16 vid) ksz8_del_sta_mac() argument
1092 ksz8_fdb_add(struct ksz_device *dev, int port, const unsigned char *addr, u16 vid, struct dsa_db db) ksz8_fdb_add() argument
1098 ksz8_fdb_del(struct ksz_device *dev, int port, const unsigned char *addr, u16 vid, struct dsa_db db) ksz8_fdb_del() argument
1150 unsigned int vid; ksz8_port_vlan_add() local
1190 u16 vid; ksz8_port_vlan_add() local
[all...]
H A Dksz9477.c67 static int ksz9477_get_vlan_table(struct ksz_device *dev, u16 vid, in ksz9477_get_vlan_table() argument
74 ksz_write16(dev, REG_SW_VLAN_ENTRY_INDEX__2, vid & VLAN_INDEX_M); in ksz9477_get_vlan_table()
96 static int ksz9477_set_vlan_table(struct ksz_device *dev, u16 vid, in ksz9477_set_vlan_table() argument
107 ksz_write16(dev, REG_SW_VLAN_ENTRY_INDEX__2, vid & VLAN_INDEX_M); in ksz9477_set_vlan_table()
120 dev->vlan_cache[vid].table[0] = vlan_table[0]; in ksz9477_set_vlan_table()
121 dev->vlan_cache[vid].table[1] = vlan_table[1]; in ksz9477_set_vlan_table()
122 dev->vlan_cache[vid].table[2] = vlan_table[2]; in ksz9477_set_vlan_table()
407 err = ksz9477_get_vlan_table(dev, vlan->vid, vlan_table); in ksz9477_port_vlan_add()
413 vlan_table[0] = VLAN_VALID | (vlan->vid & VLAN_FID_M); in ksz9477_port_vlan_add()
422 err = ksz9477_set_vlan_table(dev, vlan->vid, vlan_tabl in ksz9477_port_vlan_add()
468 ksz9477_fdb_add(struct ksz_device *dev, int port, const unsigned char *addr, u16 vid, struct dsa_db db) ksz9477_fdb_add() argument
524 ksz9477_fdb_del(struct ksz_device *dev, int port, const unsigned char *addr, u16 vid, struct dsa_db db) ksz9477_fdb_del() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/ti/
H A Dcpsw.c92 __be16 proto, u16 vid);
175 * @vid: vlan id, if vid < 0 set/unset address for real device
179 int vid, int add) in cpsw_set_mc()
185 if (vid < 0) { in cpsw_set_mc()
187 vid = cpsw->slaves[priv->emac_port].port_vlan; in cpsw_set_mc()
189 vid = 0; in cpsw_set_mc()
193 flags = vid ? ALE_VLAN : 0; in cpsw_set_mc()
196 ret = cpsw_ale_add_mcast(cpsw->ale, addr, mask, flags, vid, 0); in cpsw_set_mc()
198 ret = cpsw_ale_del_mcast(cpsw->ale, addr, 0, flags, vid); in cpsw_set_mc()
178 cpsw_set_mc(struct net_device *ndev, const u8 *addr, int vid, int add) cpsw_set_mc() argument
203 cpsw_update_vlan_mc(struct net_device *vdev, int vid, void *ctx) cpsw_update_vlan_mc() argument
268 cpsw_purge_vlan_mc(struct net_device *vdev, int vid, void *ctx) cpsw_purge_vlan_mc() argument
730 cpsw_restore_vlans(struct net_device *vdev, int vid, void *arg) cpsw_restore_vlans() argument
967 u16 vid = 0; cpsw_ndo_set_mac_address() local
996 cpsw_add_vlan_ale_entry(struct cpsw_priv *priv, unsigned short vid) cpsw_add_vlan_ale_entry() argument
1045 cpsw_ndo_vlan_rx_add_vid(struct net_device *ndev, __be16 proto, u16 vid) cpsw_ndo_vlan_rx_add_vid() argument
1081 cpsw_ndo_vlan_rx_kill_vid(struct net_device *ndev, __be16 proto, u16 vid) cpsw_ndo_vlan_rx_kill_vid() argument
[all...]
H A Dcpsw_new.c121 * @vid: vlan id, if vid < 0 set/unset address for real device
125 int vid, int add) in cpsw_set_mc()
132 if (vid < 0) in cpsw_set_mc()
133 vid = cpsw->slaves[slave_no].port_vlan; in cpsw_set_mc()
136 flags = vid ? ALE_VLAN : 0; in cpsw_set_mc()
139 ret = cpsw_ale_add_mcast(cpsw->ale, addr, mask, flags, vid, 0); in cpsw_set_mc()
141 ret = cpsw_ale_del_mcast(cpsw->ale, addr, 0, flags, vid); in cpsw_set_mc()
146 static int cpsw_update_vlan_mc(struct net_device *vdev, int vid, void *ctx) in cpsw_update_vlan_mc() argument
168 cpsw_set_mc(sync_ctx->ndev, sync_ctx->addr, vid, in cpsw_update_vlan_mc()
124 cpsw_set_mc(struct net_device *ndev, const u8 *addr, int vid, int add) cpsw_set_mc() argument
211 cpsw_purge_vlan_mc(struct net_device *vdev, int vid, void *ctx) cpsw_purge_vlan_mc() argument
399 cpsw_add_vlan_ale_entry(struct cpsw_priv *priv, unsigned short vid) cpsw_add_vlan_ale_entry() argument
438 cpsw_ndo_vlan_rx_add_vid(struct net_device *ndev, __be16 proto, u16 vid) cpsw_ndo_vlan_rx_add_vid() argument
476 cpsw_restore_vlans(struct net_device *vdev, int vid, void *arg) cpsw_restore_vlans() argument
984 u16 vid = 0; cpsw_ndo_set_mac_address() local
1011 cpsw_ndo_vlan_rx_kill_vid(struct net_device *ndev, __be16 proto, u16 vid) cpsw_ndo_vlan_rx_kill_vid() argument
[all...]
/kernel/linux/linux-6.6/include/linux/dsa/
H A D8021q.h25 int dsa_8021q_rx_switch_id(u16 vid);
27 int dsa_8021q_rx_source_port(u16 vid);
29 bool vid_is_dsa_8021q(u16 vid);
/third_party/toybox/toys/other/
H A Dlsusb.c22 int busnum = 0, devnum = 0, pid = 0, vid = 0; in list_device() local
35 || sscanf(toybuf, "PRODUCT=%x/%x/", &pid, &vid)) count++; in list_device()
38 printf("Bus %03d Device %03d: ID %04x:%04x\n", busnum, devnum, pid, vid); in list_device()
/kernel/linux/linux-6.6/tools/testing/selftests/net/
H A Dtest_vxlan_vnifiltering.sh230 local vid=$(echo $vmap | awk -F'-' '{print ($1)}')
237 ip -netns vm-$vmid link add name $vmvethif.$vid link $vmvethif type vlan id $vid
238 ip -netns vm-$vmid addr add 10.0.$vid.$vmid/24 dev $vmvethif.$vid
239 ip -netns vm-$vmid link set $vmvethif.$vid up
241 tid=$vid
249 tid=$((vid+brid))
278 bridge -netns hv-$hvid vlan add vid $vid de
[all...]
/kernel/linux/linux-5.10/net/dsa/
H A Dtag_sja1105.c268 u16 vid = sp->subvlan_map[subvlan]; in sja1105_decode_subvlan() local
271 if (vid == VLAN_N_VID) in sja1105_decode_subvlan()
274 vlan_tci = (skb->priority << VLAN_PRIO_SHIFT) | vid; in sja1105_decode_subvlan()
285 u16 tpid, vid, tci; in sja1105_rcv() local
313 vid = tci & VLAN_VID_MASK; in sja1105_rcv()
314 source_port = dsa_8021q_rx_source_port(vid); in sja1105_rcv()
315 switch_id = dsa_8021q_rx_switch_id(vid); in sja1105_rcv()
317 subvlan = dsa_8021q_rx_subvlan(vid); in sja1105_rcv()
/kernel/linux/linux-6.6/drivers/net/dsa/sja1105/
H A Dsja1105.h146 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);
H A Dsja1105_main.c70 static int sja1105_is_vlan_configured(struct sja1105_private *priv, u16 vid) in sja1105_is_vlan_configured() argument
79 if (vlan[i].vlanid == vid) in sja1105_is_vlan_configured()
1517 const u8 *addr, u16 vid, in sja1105et_is_fdb_entry_in_bin()
1538 l2_lookup.vlanid == vid) { in sja1105et_is_fdb_entry_in_bin()
1549 const unsigned char *addr, u16 vid) in sja1105et_fdb_add()
1558 bin = sja1105et_fdb_hash(priv, addr, vid); in sja1105et_fdb_add()
1560 way = sja1105et_is_fdb_entry_in_bin(priv, bin, addr, vid, in sja1105et_fdb_add()
1578 l2_lookup.vlanid = vid; in sja1105et_fdb_add()
1619 if (tmp.macaddr != ether_addr_to_u64(addr) || tmp.vlanid != vid) in sja1105et_fdb_add()
1634 const unsigned char *addr, u16 vid) in sja1105et_fdb_del()
1516 sja1105et_is_fdb_entry_in_bin(struct sja1105_private *priv, int bin, const u8 *addr, u16 vid, struct sja1105_l2_lookup_entry *match, int *last_unused) sja1105et_is_fdb_entry_in_bin() argument
1548 sja1105et_fdb_add(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid) sja1105et_fdb_add() argument
1633 sja1105et_fdb_del(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid) sja1105et_fdb_del() argument
1668 sja1105pqrs_fdb_add(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid) sja1105pqrs_fdb_add() argument
1759 sja1105pqrs_fdb_del(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid) sja1105pqrs_fdb_del() argument
1796 sja1105_fdb_add(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid, struct dsa_db db) sja1105_fdb_add() argument
1823 __sja1105_fdb_del(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid, struct dsa_db db) __sja1105_fdb_del() argument
1845 sja1105_fdb_del(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid, struct dsa_db db) sja1105_fdb_del() argument
2482 sja1105_vlan_add(struct sja1105_private *priv, int port, u16 vid, u16 flags, bool allowed_ingress) sja1105_vlan_add() argument
2520 sja1105_vlan_del(struct sja1105_private *priv, int port, u16 vid) sja1105_vlan_del() argument
2608 sja1105_dsa_8021q_vlan_add(struct dsa_switch *ds, int port, u16 vid, u16 flags) sja1105_dsa_8021q_vlan_add() argument
2631 sja1105_dsa_8021q_vlan_del(struct dsa_switch *ds, int port, u16 vid) sja1105_dsa_8021q_vlan_del() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/
H A Dice_trace.h249 __field(u16, vid)
255 __entry->vid = fdb->data.vid;
257 TP_printk("net_device=%s addr=%pM vid=%u flags=%x",
260 __entry->vid,
279 TP_STRUCT__entry(__field(u16, vid)
281 TP_fast_assign(__entry->vid = vlan->vid;
283 TP_printk("vid=%u flags=%x",
284 __entry->vid,
[all...]
/kernel/linux/linux-5.10/fs/afs/
H A Dfsclient.c24 fid->vid = ntohl(*bp++); in xdr_decode_AFSFid()
217 vs->vid = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
278 key_serial(op->key), vp->fid.vid, vp->fid.vnode); in afs_fs_fetch_status()
288 bp[1] = htonl(vp->fid.vid); in afs_fs_fetch_status()
464 bp[1] = htonl(vp->fid.vid); in afs_fs_fetch_data64()
500 bp[1] = htonl(vp->fid.vid); in afs_fs_fetch_data()
572 *bp++ = htonl(dvp->fid.vid); in afs_fs_create_file()
625 *bp++ = htonl(dvp->fid.vid); in afs_fs_make_dir()
704 *bp++ = htonl(dvp->fid.vid); in afs_fs_remove_file()
751 *bp++ = htonl(dvp->fid.vid); in afs_fs_remove_dir()
[all...]
/kernel/linux/linux-6.6/fs/afs/
H A Dfsclient.c25 fid->vid = ntohl(*bp++); in xdr_decode_AFSFid()
218 vs->vid = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
279 key_serial(op->key), vp->fid.vid, vp->fid.vnode); in afs_fs_fetch_status()
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()
677 *bp++ = htonl(dvp->fid.vid); in afs_fs_remove_file()
724 *bp++ = htonl(dvp->fid.vid); in afs_fs_remove_dir()
[all...]
/kernel/linux/linux-6.6/net/bridge/
H A Dbr_device.c39 u16 vid = 0; in br_dev_xmit() local
60 if (!br_allowed_ingress(br, br_vlan_group_rcu(br), skb, &vid, in br_dev_xmit()
68 br_do_proxy_suppress_arp(skb, br, vid, NULL); in br_dev_xmit()
79 br_do_suppress_nd(skb, br, vid, NULL, msg); in br_dev_xmit()
84 br_flood(br, skb, BR_PKT_BROADCAST, false, true, vid); in br_dev_xmit()
87 br_flood(br, skb, BR_PKT_MULTICAST, false, true, vid); in br_dev_xmit()
90 if (br_multicast_rcv(&brmctx, &pmctx_null, vlan, skb, vid)) { in br_dev_xmit()
95 mdst = br_mdb_get(brmctx, skb, vid); in br_dev_xmit()
100 br_flood(br, skb, BR_PKT_MULTICAST, false, true, vid); in br_dev_xmit()
101 } else if ((dst = br_fdb_find_rcu(br, dest, vid)) ! in br_dev_xmit()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum.c260 int mlxsw_sp_port_vid_stp_set(struct mlxsw_sp_port *mlxsw_sp_port, u16 vid, in mlxsw_sp_port_vid_stp_set() argument
272 mlxsw_reg_spms_vid_pack(spms_pl, vid, spms_state); in mlxsw_sp_port_vid_stp_set()
370 int mlxsw_sp_port_vid_learning_set(struct mlxsw_sp_port *mlxsw_sp_port, u16 vid, in mlxsw_sp_port_vid_learning_set() argument
380 mlxsw_reg_spvmlr_pack(spvmlr_pl, mlxsw_sp_port->local_port, vid, vid, in mlxsw_sp_port_vid_learning_set()
388 u16 vid) in __mlxsw_sp_port_pvid_set()
393 mlxsw_reg_spvid_pack(spvid_pl, mlxsw_sp_port->local_port, vid); in __mlxsw_sp_port_pvid_set()
407 int mlxsw_sp_port_pvid_set(struct mlxsw_sp_port *mlxsw_sp_port, u16 vid) in mlxsw_sp_port_pvid_set() argument
411 if (!vid) { in mlxsw_sp_port_pvid_set()
416 err = __mlxsw_sp_port_pvid_set(mlxsw_sp_port, vid); in mlxsw_sp_port_pvid_set()
387 __mlxsw_sp_port_pvid_set(struct mlxsw_sp_port *mlxsw_sp_port, u16 vid) __mlxsw_sp_port_pvid_set() argument
843 u16 vid, vid_e; mlxsw_sp_port_vlan_set() local
884 mlxsw_sp_port_vlan_create(struct mlxsw_sp_port *mlxsw_sp_port, u16 vid) mlxsw_sp_port_vlan_create() argument
918 u16 vid = mlxsw_sp_port_vlan->vid; mlxsw_sp_port_vlan_destroy() local
926 mlxsw_sp_port_add_vid(struct net_device *dev, __be16 __always_unused proto, u16 vid) mlxsw_sp_port_add_vid() argument
940 mlxsw_sp_port_kill_vid(struct net_device *dev, __be16 __always_unused proto, u16 vid) mlxsw_sp_port_kill_vid() argument
3709 u16 vid; mlxsw_sp_port_stp_set() local
3730 u16 vid = 1; mlxsw_sp_port_ovs_join() local
3765 u16 vid; mlxsw_sp_port_ovs_leave() local
4012 mlxsw_sp_netdevice_port_vlan_event(struct net_device *vlan_dev, struct net_device *dev, unsigned long event, void *ptr, u16 vid) mlxsw_sp_netdevice_port_vlan_event() argument
4079 mlxsw_sp_netdevice_lag_port_vlan_event(struct net_device *vlan_dev, struct net_device *lag_dev, unsigned long event, void *ptr, u16 vid) mlxsw_sp_netdevice_lag_port_vlan_event() argument
4101 mlxsw_sp_netdevice_bridge_vlan_event(struct net_device *vlan_dev, struct net_device *br_dev, unsigned long event, void *ptr, u16 vid) mlxsw_sp_netdevice_bridge_vlan_event() argument
4147 u16 vid = vlan_dev_vlan_id(vlan_dev); mlxsw_sp_netdevice_vlan_event() local
[all...]
/kernel/linux/linux-6.6/net/batman-adv/
H A Dmulticast.c1188 * @vid: the vlan identifier
1195 unsigned short vid, in batadv_mcast_forw_send_orig()
1204 if (batadv_bla_is_backbone_gw_orig(bat_priv, orig_node->orig, vid)) { in batadv_mcast_forw_send_orig()
1210 orig_node, vid); in batadv_mcast_forw_send_orig()
1217 * @vid: the vlan identifier
1228 unsigned short vid) in batadv_mcast_forw_tt()
1238 tt_global = batadv_tt_global_hash_find(bat_priv, addr, vid); in batadv_mcast_forw_tt()
1250 batadv_mcast_forw_send_orig(bat_priv, newskb, vid, in batadv_mcast_forw_tt()
1265 * @vid: the vlan identifier
1276 struct sk_buff *skb, unsigned short vid) in batadv_mcast_forw_want_all_ipv4()
1193 batadv_mcast_forw_send_orig(struct batadv_priv *bat_priv, struct sk_buff *skb, unsigned short vid, struct batadv_orig_node *orig_node) batadv_mcast_forw_send_orig() argument
1227 batadv_mcast_forw_tt(struct batadv_priv *bat_priv, struct sk_buff *skb, unsigned short vid) batadv_mcast_forw_tt() argument
1275 batadv_mcast_forw_want_all_ipv4(struct batadv_priv *bat_priv, struct sk_buff *skb, unsigned short vid) batadv_mcast_forw_want_all_ipv4() argument
1312 batadv_mcast_forw_want_all_ipv6(struct batadv_priv *bat_priv, struct sk_buff *skb, unsigned short vid) batadv_mcast_forw_want_all_ipv6() argument
1350 batadv_mcast_forw_want_all(struct batadv_priv *bat_priv, struct sk_buff *skb, unsigned short vid) batadv_mcast_forw_want_all() argument
1378 batadv_mcast_forw_want_all_rtr4(struct batadv_priv *bat_priv, struct sk_buff *skb, unsigned short vid) batadv_mcast_forw_want_all_rtr4() argument
1415 batadv_mcast_forw_want_all_rtr6(struct batadv_priv *bat_priv, struct sk_buff *skb, unsigned short vid) batadv_mcast_forw_want_all_rtr6() argument
1453 batadv_mcast_forw_want_rtr(struct batadv_priv *bat_priv, struct sk_buff *skb, unsigned short vid) batadv_mcast_forw_want_rtr() argument
1484 batadv_mcast_forw_send(struct batadv_priv *bat_priv, struct sk_buff *skb, unsigned short vid, int is_routable) batadv_mcast_forw_send() argument
[all...]
/kernel/linux/linux-6.6/net/dsa/
H A Dslave.c43 u16 vid; member
59 u16 vid; member
91 u16 vid = standalone_work->vid; in dsa_slave_standalone_event_work() local
96 err = dsa_port_standalone_host_fdb_add(dp, addr, vid); in dsa_slave_standalone_event_work()
99 "port %d failed to add %pM vid %d to fdb: %d\n", in dsa_slave_standalone_event_work()
100 dp->index, addr, vid, err); in dsa_slave_standalone_event_work()
106 err = dsa_port_standalone_host_fdb_del(dp, addr, vid); in dsa_slave_standalone_event_work()
109 "port %d failed to delete %pM vid %d from fdb: %d\n", in dsa_slave_standalone_event_work()
110 dp->index, addr, vid, er in dsa_slave_standalone_event_work()
143 dsa_slave_schedule_standalone_work(struct net_device *dev, enum dsa_standalone_event event, const unsigned char *addr, u16 vid) dsa_slave_schedule_standalone_work() argument
166 dsa_slave_host_vlan_rx_filtering(void *arg, int vid) dsa_slave_host_vlan_rx_filtering() argument
174 dsa_slave_vlan_for_each(struct net_device *dev, int (*cb)(void *arg, int vid), void *arg) dsa_slave_vlan_for_each() argument
504 dsa_slave_port_fdb_do_dump(const unsigned char *addr, u16 vid, bool is_static, void *data) dsa_slave_port_fdb_do_dump() argument
666 u16 vid; dsa_slave_vlan_check_for_8021q_uppers() local
1756 dsa_slave_vlan_rx_add_vid(struct net_device *dev, __be16 proto, u16 vid) dsa_slave_vlan_rx_add_vid() argument
1831 dsa_slave_vlan_rx_kill_vid(struct net_device *dev, __be16 proto, u16 vid) dsa_slave_vlan_rx_kill_vid() argument
1889 dsa_slave_restore_vlan(struct net_device *vdev, int vid, void *arg) dsa_slave_restore_vlan() argument
1896 dsa_slave_clear_vlan(struct net_device *vdev, int vid, void *arg) dsa_slave_clear_vlan() argument
3003 u16 vid; dsa_slave_check_8021q_upper() local
3479 u16 vid = switchdev_work->vid; dsa_slave_switchdev_event_work() local
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/ocelot/
H A Dtc_flower_chains.sh250 bridge vlan add dev $eth0 vid 200
251 bridge vlan add dev $eth0 vid 300
252 bridge vlan add dev $eth1 vid 300
277 bridge vlan del dev $eth0 vid 200
278 bridge vlan del dev $eth0 vid 300
279 bridge vlan del dev $eth1 vid 300

Completed in 31 milliseconds

12345678910>>...47