Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/smc/
Dsmc_ism.c81 int smc_ism_get_vlan(struct smcd_dev *smcd, unsigned short vlanid) in smc_ism_get_vlan() argument
87 if (!vlanid) /* No valid vlan id */ in smc_ism_get_vlan()
94 new_vlan->vlanid = vlanid; in smc_ism_get_vlan()
100 if (vlan->vlanid == vlanid) { in smc_ism_get_vlan()
110 if (smcd->ops->add_vlan_id(smcd, vlanid)) { in smc_ism_get_vlan()
125 int smc_ism_put_vlan(struct smcd_dev *smcd, unsigned short vlanid) in smc_ism_put_vlan() argument
132 if (!vlanid) /* No valid vlan id */ in smc_ism_put_vlan()
137 if (vlan->vlanid == vlanid) { in smc_ism_put_vlan()
150 if (smcd->ops->del_vlan_id(smcd, vlanid)) in smc_ism_put_vlan()
Dsmc_ism.h29 unsigned short vlanid; /* Vlan id */ member
/kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/
Denic_res.c122 int enic_add_vlan(struct enic *enic, u16 vlanid) in enic_add_vlan() argument
124 u64 a0 = vlanid, a1 = 0; in enic_add_vlan()
135 int enic_del_vlan(struct enic *enic, u16 vlanid) in enic_del_vlan() argument
137 u64 a0 = vlanid, a1 = 0; in enic_del_vlan()
Denic_res.h141 int enic_add_vlan(struct enic *enic, u16 vlanid);
142 int enic_del_vlan(struct enic *enic, u16 vlanid);
/kernel/linux/linux-5.10/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()
394 vl_lookup[k].vlanid = rule->key.vl.vid; in sja1105_init_virtual_links()
399 vl_lookup[k].vlanid = vid; in sja1105_init_virtual_links()
736 vl_lookup[i].vlanid == key->vl.vid && in sja1105_find_vlid()
Dsja1105_static_config.h193 u64 vlanid; member
197 u64 vlanid; member
276 u64 vlanid; member
326 u64 vlanid; member
Dsja1105_main.c89 .vlanid = 1, in sja1105_init_mac_settings()
314 .vlanid = SJA1105_DEFAULT_VLAN, in sja1105_init_static_vlan()
1159 l2_lookup[i].vlanid == requested->vlanid && in sja1105_find_static_fdb_entry()
1250 l2_lookup.vlanid == vid) { in sja1105et_is_fdb_entry_in_bin()
1290 l2_lookup.vlanid = vid; in sja1105et_fdb_add()
1331 if (tmp.macaddr != ether_addr_to_u64(addr) || tmp.vlanid != vid) in sja1105et_fdb_add()
1389 l2_lookup.vlanid = vid; in sja1105pqrs_fdb_add()
1475 l2_lookup.vlanid = vid; in sja1105pqrs_fdb_del()
1568 l2_lookup.vlanid = 0; in sja1105_fdb_dump()
1569 rc = cb(macaddr, l2_lookup.vlanid, l2_lookup.lockeds, data); in sja1105_fdb_dump()
[all …]
Dsja1105_static_config.c258 sja1105_packing(buf, &entry->vlanid, 95, 84, size, op); in sja1105et_l2_lookup_entry_packing()
286 sja1105_packing(buf, &entry->vlanid, 81, 70, size, op); in sja1105pqrs_l2_lookup_entry_packing()
329 sja1105_packing(buf, &entry->vlanid, 21, 10, size, op); in sja1105et_mac_config_entry_packing()
363 sja1105_packing(buf, &entry->vlanid, 53, 42, size, op); in sja1105pqrs_mac_config_entry_packing()
475 sja1105_packing(buf, &entry->vlanid, in sja1105_vl_lookup_entry_packing()
522 sja1105_packing(buf, &entry->vlanid, 38, 27, size, op); in sja1105_vlan_lookup_entry_packing()
Dsja1105_dynamic_config.c481 sja1105_packing(reg1, &entry->vlanid, 11, 0, size, op); in sja1105et_mac_config_entry_packing()
1022 u64 vlanid = l2_lookup_params->shared_learn ? 0 : vid; in sja1105et_fdb_hash() local
1023 u64 input = (vlanid << 48) | ether_addr_to_u64(addr); in sja1105et_fdb_hash()
/kernel/linux/linux-5.10/drivers/net/ethernet/pensando/ionic/
Dionic.h27 __le16 vlanid; member
Dionic_if.h1821 __le16 vlanid; member
1859 __le16 vlanid; member
Dionic_dev.c362 cmd.vf_setattr.vlanid = cpu_to_le16(*(u16 *)data); in ionic_set_vf_config()
Dionic_lif.c1924 ivf->vlan = le16_to_cpu(ionic->vfs[vf].vlanid); in ionic_get_vf_config()
2028 ionic->vfs[vf].vlanid = cpu_to_le16(vlan); in ionic_set_vf_vlan()
/kernel/linux/linux-5.10/drivers/net/wireless/quantenna/qtnfmac/
Dqlink.h118 __le16 vlanid; member
467 __le16 vlanid; member
524 __le16 vlanid; member
919 __le16 vlanid; member
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/drivers/scsi/qedi/
Dqedi_iscsi.c1135 static int qedi_data_avail(struct qedi_ctx *qedi, u16 vlanid) in qedi_data_avail() argument
1172 if (vlanid) in qedi_data_avail()
1173 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlanid); in qedi_data_avail()
/kernel/linux/linux-5.10/drivers/net/ethernet/adaptec/
Dstarfire.c449 __le16 vlanid; member
461 __le16 vlanid; member
1518 u16 vlid = le16_to_cpu(desc->vlanid); in __netdev_rx()
/kernel/linux/linux-5.10/drivers/net/hyperv/
Dhyperv_net.h1229 u32 vlanid:12; /* VLAN ID */ member
Dnetvsc_drv.c640 vlan->vlanid = skb_vlan_tag_get_id(skb); in netvsc_xmit()
881 u16 vlan_tci = vlan->vlanid | (vlan->pri << VLAN_PRIO_SHIFT) | in netvsc_alloc_recv_skb()
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_main.c3638 u16 vlanid; in stmmac_rx_vlan() local
3648 vlanid = ntohs(veth->h_vlan_TCI); in stmmac_rx_vlan()
3651 __vlan_hwaccel_put_tag(skb, vlan_proto, vlanid); in stmmac_rx_vlan()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_hw.c2256 vlan = be16_to_cpu(cmd.vlanid[0]); in t4vf_get_vf_vlan_acl()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dt4fw_api.h2585 __be16 vlanid[16]; member
Dt4_hw.c10519 vlan_cmd.vlanid[0] = cpu_to_be16(vlan); in t4_set_vlan_acl()