Home
last modified time | relevance | path

Searched refs:vlanid (Results 1 – 22 of 22) sorted by relevance

/linux-6.1.9/net/smc/
Dsmc_ism.c82 int smc_ism_get_vlan(struct smcd_dev *smcd, unsigned short vlanid) in smc_ism_get_vlan() argument
88 if (!vlanid) /* No valid vlan id */ in smc_ism_get_vlan()
95 new_vlan->vlanid = vlanid; in smc_ism_get_vlan()
101 if (vlan->vlanid == vlanid) { in smc_ism_get_vlan()
111 if (smcd->ops->add_vlan_id(smcd, vlanid)) { in smc_ism_get_vlan()
126 int smc_ism_put_vlan(struct smcd_dev *smcd, unsigned short vlanid) in smc_ism_put_vlan() argument
133 if (!vlanid) /* No valid vlan id */ in smc_ism_put_vlan()
138 if (vlan->vlanid == vlanid) { in smc_ism_put_vlan()
151 if (smcd->ops->del_vlan_id(smcd, vlanid)) in smc_ism_put_vlan()
Dsmc_ism.h27 unsigned short vlanid; /* Vlan id */ member
/linux-6.1.9/drivers/net/ethernet/cisco/enic/
Denic_res.c109 int enic_add_vlan(struct enic *enic, u16 vlanid) in enic_add_vlan() argument
111 u64 a0 = vlanid, a1 = 0; in enic_add_vlan()
122 int enic_del_vlan(struct enic *enic, u16 vlanid) in enic_del_vlan() argument
124 u64 a0 = vlanid, a1 = 0; in enic_del_vlan()
Denic_res.h128 int enic_add_vlan(struct enic *enic, u16 vlanid);
129 int enic_del_vlan(struct enic *enic, u16 vlanid);
/linux-6.1.9/drivers/net/dsa/sja1105/
Dsja1105_vl.c283 if (a->vlanid < b->vlanid) in sja1105_vl_key_lower()
285 if (a->vlanid > b->vlanid) in sja1105_vl_key_lower()
407 vl_lookup[k].vlanid = rule->key.vl.vid; in sja1105_init_virtual_links()
414 vl_lookup[k].vlanid = vid; in sja1105_init_virtual_links()
749 vl_lookup[i].vlanid == key->vl.vid && in sja1105_find_vlid()
Dsja1105_static_config.h240 u64 vlanid; member
245 u64 vlanid; member
332 u64 vlanid; member
393 u64 vlanid; member
Dsja1105_main.c80 if (vlan[i].vlanid == vid) in sja1105_is_vlan_configured()
109 if (mac[port].vlanid == pvid) in sja1105_pvid_apply()
112 mac[port].vlanid = pvid; in sja1105_pvid_apply()
182 .vlanid = 1, in sja1105_init_mac_settings()
471 .vlanid = SJA1105_DEFAULT_VLAN, in sja1105_init_static_vlan()
1454 l2_lookup[i].vlanid == requested->vlanid && in sja1105_find_static_fdb_entry()
1545 l2_lookup.vlanid == vid) { in sja1105et_is_fdb_entry_in_bin()
1585 l2_lookup.vlanid = vid; in sja1105et_fdb_add()
1626 if (tmp.macaddr != ether_addr_to_u64(addr) || tmp.vlanid != vid) in sja1105et_fdb_add()
1684 l2_lookup.vlanid = vid; in sja1105pqrs_fdb_add()
[all …]
Dsja1105_static_config.c352 sja1105_packing(buf, &entry->vlanid, 95, 84, size, op); in sja1105et_l2_lookup_entry_packing()
380 sja1105_packing(buf, &entry->vlanid, 81, 70, size, op); in sja1105pqrs_l2_lookup_entry_packing()
409 sja1105_packing(buf, &entry->vlanid, 86, 75, size, op); in sja1110_l2_lookup_entry_packing()
467 sja1105_packing(buf, &entry->vlanid, 21, 10, size, op); in sja1105et_mac_config_entry_packing()
501 sja1105_packing(buf, &entry->vlanid, 53, 42, size, op); in sja1105pqrs_mac_config_entry_packing()
534 sja1105_packing(buf, &entry->vlanid, 52, 41, size, op); in sja1110_mac_config_entry_packing()
720 sja1105_packing(buf, &entry->vlanid, in sja1105_vl_lookup_entry_packing()
754 sja1105_packing(buf, &entry->vlanid, in sja1110_vl_lookup_entry_packing()
817 sja1105_packing(buf, &entry->vlanid, 38, 27, size, op); in sja1105_vlan_lookup_entry_packing()
833 sja1105_packing(buf, &entry->vlanid, 38, 27, size, op); in sja1110_vlan_lookup_entry_packing()
Dsja1105_dynamic_config.c610 sja1105_packing(reg1, &entry->vlanid, 11, 0, size, op); in sja1105et_mac_config_entry_packing()
/linux-6.1.9/drivers/net/ethernet/pensando/ionic/
Dionic.h32 __le16 vlanid; member
Dionic_lif.c2234 ionic->vfs[vf].vlanid = comp.vlanid; in ionic_update_cached_vf_config()
2313 ivf->vlan = le16_to_cpu(ionic->vfs[vf].vlanid); in ionic_get_vf_config()
2420 vfc.vlanid = cpu_to_le16(vlan); in ionic_set_vf_vlan()
2422 __func__, vf, le16_to_cpu(vfc.vlanid)); in ionic_set_vf_vlan()
2426 ionic->vfs[vf].vlanid = cpu_to_le16(vlan); in ionic_set_vf_vlan()
Dionic_if.h1998 __le16 vlanid; member
2036 __le16 vlanid; member
/linux-6.1.9/drivers/net/wireless/quantenna/qtnfmac/
Dqlink.h118 __le16 vlanid; member
467 __le16 vlanid; member
524 __le16 vlanid; member
919 __le16 vlanid; member
/linux-6.1.9/Documentation/networking/device_drivers/ethernet/ti/
Dcpsw.rst251 net eth0: Adding vlanid 100 to vlan filter
469 net eth0: Adding vlanid 100 to vlan filter
530 net eth1: Adding vlanid 100 to vlan filter
/linux-6.1.9/drivers/scsi/qedi/
Dqedi_iscsi.c1216 static int qedi_data_avail(struct qedi_ctx *qedi, u16 vlanid) in qedi_data_avail() argument
1253 if (vlanid) in qedi_data_avail()
1254 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlanid); in qedi_data_avail()
/linux-6.1.9/drivers/net/ethernet/adaptec/
Dstarfire.c449 __le16 vlanid; member
461 __le16 vlanid; member
1520 u16 vlid = le16_to_cpu(desc->vlanid); in __netdev_rx()
/linux-6.1.9/drivers/net/hyperv/
Dhyperv_net.h140 u32 vlanid:12; /* VLAN ID */ member
Dnetvsc_drv.c589 vlan->vlanid = skb_vlan_tag_get_id(skb); in netvsc_xmit()
856 u16 vlan_tci = vlan->vlanid | (vlan->pri << VLAN_PRIO_SHIFT) | in netvsc_alloc_recv_skb()
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_hw.c2257 vlan = be16_to_cpu(cmd.vlanid[0]); in t4vf_get_vf_vlan_acl()
/linux-6.1.9/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_main.c4555 u16 vlanid; in stmmac_rx_vlan() local
4565 vlanid = ntohs(veth->h_vlan_TCI); in stmmac_rx_vlan()
4568 __vlan_hwaccel_put_tag(skb, vlan_proto, vlanid); in stmmac_rx_vlan()
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/
Dt4fw_api.h2587 __be16 vlanid[16]; member
Dt4_hw.c10488 vlan_cmd.vlanid[0] = cpu_to_be16(vlan); in t4_set_vlan_acl()