/linux-master/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 in struct:sja1105_key::__anon51::__anon53 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 D | sja1105_dynamic_config.c | 1394 u8 sja1105et_fdb_hash(struct sja1105_private *priv, const u8 *addr, u16 vid) argument 1404 input = ((u64)vid << 48) | ether_addr_to_u64(addr);
|
H A D | sja1105_flower.c | 204 u16 vid = U16_MAX; local 272 vid = match.key->vlan_id; 277 if (is_bcast_dmac && vid == U16_MAX && pcp == U16_MAX) { 281 if (dmac == U64_MAX && vid == U16_MAX && pcp != U16_MAX) { 286 if (dmac != U64_MAX && vid != U16_MAX && pcp != U16_MAX) { 289 key->vl.vid = vid;
|
H A D | sja1105_main.c | 72 static int sja1105_is_vlan_configured(struct sja1105_private *priv, u16 vid) argument 81 if (vlan[i].vlanid == vid) 1519 const u8 *addr, u16 vid, 1540 l2_lookup.vlanid == vid) { 1551 const unsigned char *addr, u16 vid) 1560 bin = sja1105et_fdb_hash(priv, addr, vid); 1562 way = sja1105et_is_fdb_entry_in_bin(priv, bin, addr, vid, 1580 l2_lookup.vlanid = vid; 1621 if (tmp.macaddr != ether_addr_to_u64(addr) || tmp.vlanid != vid) 1636 const unsigned char *addr, u16 vid) 1518 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) argument 1550 sja1105et_fdb_add(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid) argument 1635 sja1105et_fdb_del(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid) argument 1670 sja1105pqrs_fdb_add(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid) argument 1761 sja1105pqrs_fdb_del(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid) argument 1798 sja1105_fdb_add(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid, struct dsa_db db) argument 1825 __sja1105_fdb_del(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid, struct dsa_db db) argument 1847 sja1105_fdb_del(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid, struct dsa_db db) argument 2483 sja1105_vlan_add(struct sja1105_private *priv, int port, u16 vid, u16 flags, bool allowed_ingress) argument 2521 sja1105_vlan_del(struct sja1105_private *priv, int port, u16 vid) argument 2609 sja1105_dsa_8021q_vlan_add(struct dsa_switch *ds, int port, u16 vid, u16 flags) argument 2632 sja1105_dsa_8021q_vlan_del(struct dsa_switch *ds, int port, u16 vid) argument [all...] |
H A D | sja1105_vl.c | 407 vl_lookup[k].vlanid = rule->key.vl.vid; 412 u16 vid = sja1105_port_get_tag_8021q_vid(dp); local 414 vl_lookup[k].vlanid = vid; 749 vl_lookup[i].vlanid == key->vl.vid &&
|
/linux-master/drivers/net/ethernet/adaptec/ |
H A D | starfire.c | 590 __be16 proto, u16 vid) 596 printk("%s: Adding vlanid %d to vlan filter\n", dev->name, vid); 597 set_bit(vid, np->active_vlans); 605 __be16 proto, u16 vid) 611 printk("%s: removing vlanid %d from vlan filter\n", dev->name, vid); 612 clear_bit(vid, np->active_vlans); 1748 u16 vid; local 1752 for_each_set_bit(vid, np->active_vlans, VLAN_N_VID) { 1755 writew(vid, filter_addr); 589 netdev_vlan_rx_add_vid(struct net_device *dev, __be16 proto, u16 vid) argument 604 netdev_vlan_rx_kill_vid(struct net_device *dev, __be16 proto, u16 vid) argument
|
/linux-master/drivers/net/ethernet/adi/ |
H A D | adin1110.c | 1349 info.vid = rcv->vid; 1367 "DEBUG: %s: MACID = %pM vid = %u flags = %u %u -- port %d\n", 1368 __func__, fdb->addr, fdb->vid, fdb->added_by_user, 1426 "DEBUG: %s: MACID = %pM vid = %u flags = %u %u -- port %d\n", 1427 __func__, fdb->addr, fdb->vid, fdb->added_by_user,
|
/linux-master/drivers/net/ethernet/altera/ |
H A D | altera_tse_main.c | 340 u16 vid; local 343 !__vlan_get_tag(skb, &vid)) { 347 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid);
|
/linux-master/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-dev.c | 926 u16 vid; local 931 for_each_set_bit(vid, pdata->active_vlans, VLAN_N_VID) { 933 vid_le = cpu_to_le16(vid);
|
H A D | xgbe-drv.c | 2120 u16 vid) 2127 set_bit(vid, pdata->active_vlans); 2136 u16 vid) 2143 clear_bit(vid, pdata->active_vlans); 2119 xgbe_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid) argument 2135 xgbe_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid) argument
|
/linux-master/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_main.c | 350 u16 vid) 357 set_bit(vid, aq_nic->active_vlans); 363 u16 vid) 370 clear_bit(vid, aq_nic->active_vlans); 372 if (-ENOENT == aq_del_fvlan_by_vlan(aq_nic, vid)) 349 aq_ndo_vlan_rx_add_vid(struct net_device *ndev, __be16 proto, u16 vid) argument 362 aq_ndo_vlan_rx_kill_vid(struct net_device *ndev, __be16 proto, u16 vid) argument
|
/linux-master/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x.h | 1335 u16 vid; member in struct:bnx2x_vlan_entry
|
H A D | bnx2x_main.c | 12882 static int __bnx2x_vlan_configure_vid(struct bnx2x *bp, u16 vid, bool add) argument 12890 rc = bnx2x_set_vlan_one(bp, vid, &bp->sp_objs->vlan_obj, 12893 rc = bnx2x_vfpf_update_vlan(bp, vid, bp->fp->index, add); 12912 rc = __bnx2x_vlan_configure_vid(bp, vlan->vid, true); 12914 BNX2X_ERR("Unable to config VLAN %d\n", vlan->vid); 12918 DP(NETIF_MSG_IFUP, "HW configured for VLAN %d\n", vlan->vid); 12953 static int bnx2x_vlan_rx_add_vid(struct net_device *dev, __be16 proto, u16 vid) argument 12958 DP(NETIF_MSG_IFUP, "Adding VLAN %d\n", vid); 12964 vlan->vid = vid; 12974 bnx2x_vlan_rx_kill_vid(struct net_device *dev, __be16 proto, u16 vid) argument [all...] |
H A D | bnx2x_sriov.c | 395 ramrod.user_req.u.vlan.vlan = filter->vid; 400 ramrod.user_req.u.vlan.vlan = filter->vid;
|
H A D | bnx2x_sriov.h | 119 u16 vid; member in struct:bnx2x_vf_mac_vlan_filter 556 int bnx2x_vfpf_update_vlan(struct bnx2x *bp, u16 vid, u8 vf_qid, bool add); 630 static inline int bnx2x_vfpf_update_vlan(struct bnx2x *bp, u16 vid, u8 vf_qid, bool add) {return 0; } argument
|
H A D | bnx2x_vfpf.c | 932 int bnx2x_vfpf_update_vlan(struct bnx2x *bp, u16 vid, u8 vf_qid, bool add) argument 965 req->filters[0].vlan_tag = vid; 983 vid); 1673 fl->filters[j].vid = msg_filter->vlan_tag;
|
/linux-master/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_tc.c | 31 #define VLAN_TCI(vid, prio) ((vid) | ((prio) << VLAN_PRIO_SHIFT)) 93 actions->push_vlan_tci = htons(act->vlan.vid);
|
/linux-master/drivers/net/ethernet/broadcom/ |
H A D | cnic.c | 5737 u16 vid; local 5739 vid = cnic_get_vlan(netdev, &realdev); 5743 vid |= VLAN_CFI_MASK; /* make non-zero */ 5744 cnic_rcv_netevent(dev->cnic_priv, event, vid);
|
H A D | cnic_if.h | 372 void (*indicate_netevent)(void *ulp_ctx, unsigned long event, u16 vid);
|
/linux-master/drivers/net/ethernet/brocade/bna/ |
H A D | bnad.c | 2370 u16 vid; local 2373 for_each_set_bit(vid, bnad->active_vlans, VLAN_N_VID) { 2375 bna_rx_vlan_add(bnad->rx_info[rx_id].rx, vid); 3302 bnad_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid) argument 3313 bna_rx_vlan_add(bnad->rx_info[0].rx, vid); 3314 set_bit(vid, bnad->active_vlans); 3323 bnad_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid) argument 3334 clear_bit(vid, bnad->active_vlans); 3335 bna_rx_vlan_del(bnad->rx_info[0].rx, vid);
|
/linux-master/drivers/net/ethernet/cavium/liquidio/ |
H A D | lio_core.c | 696 u16 vid = rh->r_dh.vlan; local 698 vtag = (priority << VLAN_PRIO_SHIFT) | vid;
|
H A D | lio_main.c | 2564 u16 vid) 2575 nctrl.ncmd.s.param1 = vid; 2593 u16 vid) 2604 nctrl.ncmd.s.param1 = vid; 2562 liquidio_vlan_rx_add_vid(struct net_device *netdev, __be16 proto __attribute__((unused)), u16 vid) argument 2591 liquidio_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto __attribute__((unused)), u16 vid) argument
|
H A D | lio_vf_main.c | 1650 __be16 proto __attribute__((unused)), u16 vid) 1661 nctrl.ncmd.s.param1 = vid; 1678 __be16 proto __attribute__((unused)), u16 vid) 1689 nctrl.ncmd.s.param1 = vid; 1649 liquidio_vlan_rx_add_vid(struct net_device *netdev, __be16 proto __attribute__((unused)), u16 vid) argument 1677 liquidio_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto __attribute__((unused)), u16 vid) argument
|
/linux-master/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_tc_flower.c | 520 u16 vid = act->vlan.vid; local 521 u16 vlan_tci = (prio << VLAN_PRIO_SHIFT) | vid;
|
/linux-master/drivers/net/ethernet/cisco/enic/ |
H A D | enic_dev.c | 166 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);
|