Home
last modified time | relevance | path

Searched refs:vlan_id (Results 1 – 25 of 274) sorted by relevance

1234567891011

/linux/net/8021q/
A Dvlan_gvrp.c30 __be16 vlan_id = htons(vlan->vlan_id); in vlan_gvrp_request_join() local
35 &vlan_id, sizeof(vlan_id), GVRP_ATTR_VID); in vlan_gvrp_request_join()
41 __be16 vlan_id = htons(vlan->vlan_id); in vlan_gvrp_request_leave() local
46 &vlan_id, sizeof(vlan_id), GVRP_ATTR_VID); in vlan_gvrp_request_leave()
A Dvlan_mvrp.c36 __be16 vlan_id = htons(vlan->vlan_id); in vlan_mvrp_request_join() local
41 &vlan_id, sizeof(vlan_id), MVRP_ATTR_VID); in vlan_mvrp_request_join()
47 __be16 vlan_id = htons(vlan->vlan_id); in vlan_mvrp_request_leave() local
52 &vlan_id, sizeof(vlan_id), MVRP_ATTR_VID); in vlan_mvrp_request_leave()
A Dvlan.h54 u16 vlan_id) in __vlan_group_get_device() argument
59 [vlan_id / VLAN_GROUP_ARRAY_PART_LEN]; in __vlan_group_get_device()
64 return array ? array[vlan_id % VLAN_GROUP_ARRAY_PART_LEN] : NULL; in __vlan_group_get_device()
69 u16 vlan_id) in vlan_group_get_device() argument
76 return __vlan_group_get_device(vg, pidx, vlan_id); in vlan_group_get_device()
80 __be16 vlan_proto, u16 vlan_id, in vlan_group_set_device() argument
89 [vlan_id / VLAN_GROUP_ARRAY_PART_LEN]; in vlan_group_set_device()
90 array[vlan_id % VLAN_GROUP_ARRAY_PART_LEN] = dev; in vlan_group_set_device()
95 __be16 vlan_proto, u16 vlan_id) in vlan_find_dev() argument
101 vlan_proto, vlan_id); in vlan_find_dev()
[all …]
A Dvlan.c51 __be16 vlan_proto, u16 vlan_id) in vlan_group_prealloc_vid() argument
64 vidx = vlan_id / VLAN_GROUP_ARRAY_PART_LEN; in vlan_group_prealloc_vid()
95 u16 vlan_id = vlan->vlan_id; in unregister_vlan_dev() local
125 vlan_vid_del(real_dev, vlan->vlan_proto, vlan_id); in unregister_vlan_dev()
129 __be16 protocol, u16 vlan_id, in vlan_check_real_dev() argument
152 u16 vlan_id = vlan->vlan_id; in register_vlan_dev() local
207 vlan_vid_del(real_dev, vlan->vlan_proto, vlan_id); in register_vlan_dev()
223 if (vlan_id >= VLAN_VID_MASK) in register_vlan_device()
241 snprintf(name, IFNAMSIZ, "vlan%i", vlan_id); in register_vlan_device()
254 snprintf(name, IFNAMSIZ, "vlan%.4i", vlan_id); in register_vlan_device()
[all …]
/linux/drivers/net/ethernet/rocker/
A Drocker_ofdpa.c38 __be16 vlan_id; member
50 __be16 vlan_id; member
67 __be16 vlan_id; member
136 __be16 vlan_id; member
144 __be16 vlan_id; member
870 entry->key.vlan.vlan_id = vlan_id; in ofdpa_flow_tbl_vlan()
909 entry->key.term_mac.vlan_id = vlan_id; in ofdpa_flow_tbl_term_mac()
961 entry->key.bridge.vlan_id = vlan_id; in ofdpa_flow_tbl_bridge()
1036 entry->key.acl.vlan_id = vlan_id; in ofdpa_flow_tbl_acl()
1211 entry->l3_unicast.vlan_id = vlan_id; in ofdpa_group_l3_unicast()
[all …]
A Drocker_hw.h418 #define ROCKER_GROUP_VLAN_SET(vlan_id) \ argument
419 (((vlan_id) << ROCKER_GROUP_VLAN_SHIFT) & ROCKER_GROUP_VLAN_MASK)
436 #define ROCKER_GROUP_L2_INTERFACE(vlan_id, port) \ argument
438 ROCKER_GROUP_VLAN_SET(ntohs(vlan_id)) | ROCKER_GROUP_PORT_SET(port))
442 #define ROCKER_GROUP_L2_MCAST(vlan_id, index) \ argument
444 ROCKER_GROUP_VLAN_SET(ntohs(vlan_id)) | ROCKER_GROUP_INDEX_SET(index))
445 #define ROCKER_GROUP_L2_FLOOD(vlan_id, index) \ argument
447 ROCKER_GROUP_VLAN_SET(ntohs(vlan_id)) | ROCKER_GROUP_INDEX_SET(index))
/linux/drivers/infiniband/hw/irdma/
A Dtrace_cm.h70 __field(u16, vlan_id)
78 __entry->vlan_id = listener->vlan_id;
86 __entry->vlan_id,
158 __entry->vlan_id = listener->vlan_id;
167 __entry->vlan_id,
228 __entry->vlan_id = cm_node->vlan_id;
244 __entry->vlan_id,
303 __entry->vlan_id = cm_node->vlan_id;
317 __entry->vlan_id,
424 __entry->vlan_id = cm_node->vlan_id;
[all …]
A Dcm.c79 cm_info->vlan_id = cm_node->vlan_id; in irdma_get_addr_info()
1484 vlan_id == listen_node->vlan_id && in irdma_find_listener()
1535 cm_info->vlan_id = child_listen_node->vlan_id; in irdma_del_multiple_qhash()
1877 nfo.vlan_id = listener->vlan_id; in irdma_dec_refcnt_listen()
2056 if (cm_node->vlan_id == vlan_id && in irdma_find_node()
2202 cm_node->vlan_id = cm_info->vlan_id; in irdma_make_cm_node()
2930 listener->vlan_id = cm_info->vlan_id; in irdma_make_listen_node()
4060 (nfo->vlan_id == cm_node->vlan_id && in irdma_teardown_list_prep()
4355 nfo->vlan_id = child_listen_node->vlan_id; in irdma_qhash_ctrl()
4389 nfo.vlan_id = vlan_id; in irdma_if_notify()
[all …]
/linux/drivers/net/ethernet/huawei/hinic/
A Dhinic_sriov.c36 mac_info.vlan_id = vlan_id; in hinic_set_mac()
114 vf_vlan.vlan_id = vid; in hinic_set_vf_vlan()
221 vlan_id = 0; in hinic_init_vf_config()
533 mac_info.vlan_id = vlan_id; in hinic_update_mac()
687 u16 vlan_id; in hinic_update_mac_vlan() local
697 vlan_id = old_vlan; in hinic_update_mac_vlan()
698 if (vlan_id) in hinic_update_mac_vlan()
708 vlan_id = new_vlan; in hinic_update_mac_vlan()
709 if (vlan_id) in hinic_update_mac_vlan()
722 vlan_id = old_vlan; in hinic_update_mac_vlan()
[all …]
/linux/drivers/net/ethernet/freescale/dpaa2/
A Ddpsw.c467 cfg->vlan_id = le16_to_cpu(rsp_params->vlan_id); in dpsw_if_get_tci()
497 cmd_params->vlan_id = cpu_to_le16(cfg->vlan_id); in dpsw_if_set_stp()
691 cmd_params->vlan_id = cpu_to_le16(vlan_id); in dpsw_vlan_add()
723 cmd_params->vlan_id = cpu_to_le16(vlan_id); in dpsw_vlan_add_if()
760 cmd_params->vlan_id = cpu_to_le16(vlan_id); in dpsw_vlan_add_if_untagged()
791 cmd_params->vlan_id = cpu_to_le16(vlan_id); in dpsw_vlan_remove_if()
824 cmd_params->vlan_id = cpu_to_le16(vlan_id); in dpsw_vlan_remove_if_untagged()
841 u16 vlan_id) in dpsw_vlan_remove() argument
851 cmd_params->vlan_id = cpu_to_le16(vlan_id); in dpsw_vlan_remove()
1630 cmd_params->vlan_id = cpu_to_le16(cfg->vlan_id); in dpsw_if_add_reflection()
[all …]
A Ddpsw.h303 u16 vlan_id; member
335 u16 vlan_id; member
434 u16 vlan_id, const struct dpsw_vlan_cfg *cfg);
457 u16 vlan_id, const struct dpsw_vlan_if_cfg *cfg);
460 u16 vlan_id, const struct dpsw_vlan_if_cfg *cfg);
463 u16 vlan_id, const struct dpsw_vlan_if_cfg *cfg);
466 u16 vlan_id, const struct dpsw_vlan_if_cfg *cfg);
469 u16 vlan_id);
780 u16 vlan_id; member
A Ddpsw-cmd.h245 __le16 vlan_id; member
255 __le16 vlan_id; member
337 __le16 vlan_id; member
343 __le16 vlan_id; member
353 __le16 vlan_id; member
361 __le16 vlan_id; member
551 __le16 vlan_id; member
/linux/drivers/net/ethernet/intel/ice/
A Dice_fltr.c158 u16 vlan_id, enum ice_sw_fwd_act_type action) in ice_fltr_add_vlan_to_list() argument
167 info.l_data.vlan.vlan_id = vlan_id; in ice_fltr_add_vlan_to_list()
266 ice_fltr_prepare_vlan(struct ice_vsi *vsi, u16 vlan_id, in ice_fltr_prepare_vlan() argument
274 if (ice_fltr_add_vlan_to_list(vsi, &tmp_list, vlan_id, action)) in ice_fltr_prepare_vlan()
351 enum ice_status ice_fltr_add_vlan(struct ice_vsi *vsi, u16 vlan_id, in ice_fltr_add_vlan() argument
354 return ice_fltr_prepare_vlan(vsi, vlan_id, action, in ice_fltr_add_vlan()
364 enum ice_status ice_fltr_remove_vlan(struct ice_vsi *vsi, u16 vlan_id, in ice_fltr_remove_vlan() argument
367 return ice_fltr_prepare_vlan(vsi, vlan_id, action, in ice_fltr_remove_vlan()
/linux/net/smc/
A Dsmc_ism.h40 int smc_ism_cantalk(u64 peer_gid, unsigned short vlan_id, struct smcd_dev *dev);
43 int smc_ism_get_vlan(struct smcd_dev *dev, unsigned short vlan_id);
44 int smc_ism_put_vlan(struct smcd_dev *dev, unsigned short vlan_id);
A Dsmc_ism.c29 int smc_ism_cantalk(u64 peer_gid, unsigned short vlan_id, struct smcd_dev *smcd) in smc_ism_cantalk() argument
31 return smcd->ops->query_remote_gid(smcd, peer_gid, vlan_id ? 1 : 0, in smc_ism_cantalk()
32 vlan_id); in smc_ism_cantalk()
202 dmb.vlan_id = lgr->vlan_id; in smc_ism_register_dmb()
322 unsigned short vlan_id; member
334 smc_smcd_terminate(wrk->smcd, wrk->event.tok, ev_info.vlan_id); in smcd_handle_sw_event()
358 ev_info.vlan_id = lgr->vlan_id; in smc_ism_signal_shutdown()
/linux/drivers/net/ethernet/qlogic/qlcnic/
A Dqlcnic_io.c157 void *addr, u16 vlan_id) in qlcnic_delete_rx_list_mac() argument
183 tmp_fil->vlan_id == vlan_id) in qlcnic_find_mac_filter()
202 vlan_id = 0; in qlcnic_add_lb_filter()
228 fil->vlan_id = vlan_id; in qlcnic_add_lb_filter()
243 vlan_id, op); in qlcnic_add_lb_filter()
263 vlan_id); in qlcnic_add_lb_filter()
294 vlan_req->vlan_id = cpu_to_le16(vlan_id); in qlcnic_82xx_change_filter()
312 u16 vlan_id = 0; in qlcnic_send_filter() local
334 tmp_fil->vlan_id == vlan_id) { in qlcnic_send_filter()
337 vlan_id, tx_ring); in qlcnic_send_filter()
[all …]
/linux/drivers/net/fjes/
A Dfjes_hw.c144 u16 vlan_id[EP_BUFFER_SUPPORT_VLAN_MAX]; in fjes_hw_setup_epbuf() local
148 vlan_id[i] = info->v1i.vlan_id[i]; in fjes_hw_setup_epbuf()
168 info->v1i.vlan_id[i] = vlan_id[i]; in fjes_hw_setup_epbuf()
853 if (vlan_id == 0) { in fjes_hw_check_vlan_id()
857 if (vlan_id == info->v1i.vlan_id[i]) { in fjes_hw_check_vlan_id()
866 bool fjes_hw_set_vlan_id(struct epbuf_handler *epbh, u16 vlan_id) in fjes_hw_set_vlan_id() argument
872 if (info->v1i.vlan_id[i] == 0) { in fjes_hw_set_vlan_id()
873 info->v1i.vlan_id[i] = vlan_id; in fjes_hw_set_vlan_id()
885 if (0 != vlan_id) { in fjes_hw_del_vlan_id()
887 if (vlan_id == info->v1i.vlan_id[i]) in fjes_hw_del_vlan_id()
[all …]
/linux/arch/mips/include/asm/octeon/
A Dcvmx-wqe.h73 uint64_t vlan_id:12; member
187 uint64_t vlan_id:12;
204 uint64_t vlan_id:12; member
234 uint64_t vlan_id:12;
284 uint64_t vlan_id:12; member
393 uint64_t vlan_id:12;
/linux/drivers/s390/net/
A Dism.h97 u16 vlan_id[64]; member
106 u32 vlan_id; member
120 u32 vlan_id; member
164 u64 vlan_id; member
A Dism_drv.c213 cmd.request.vlan_id = vid; in ism_query_rgid()
271 cmd.request.vlan_id = dmb->vlan_id; in ism_register_dmb()
305 static int ism_add_vlan_id(struct smcd_dev *smcd, u64 vlan_id) in ism_add_vlan_id() argument
314 cmd.request.vlan_id = vlan_id; in ism_add_vlan_id()
319 static int ism_del_vlan_id(struct smcd_dev *smcd, u64 vlan_id) in ism_del_vlan_id() argument
328 cmd.request.vlan_id = vlan_id; in ism_del_vlan_id()
/linux/include/net/
A Dsmc.h31 u32 vlan_id; member
59 int (*add_vlan_id)(struct smcd_dev *dev, u64 vlan_id);
60 int (*del_vlan_id)(struct smcd_dev *dev, u64 vlan_id);
/linux/drivers/infiniband/hw/qedr/
A Dqedr_iw_cm.c398 u16 vlan_id = 0; in qedr_iw_get_vlan_ipv4() local
403 vlan_id = rdma_vlan_dev_vlan_id(ndev); in qedr_iw_get_vlan_ipv4()
406 if (vlan_id == 0xffff) in qedr_iw_get_vlan_ipv4()
407 vlan_id = 0; in qedr_iw_get_vlan_ipv4()
408 return vlan_id; in qedr_iw_get_vlan_ipv4()
415 u16 vlan_id = 0; in qedr_iw_get_vlan_ipv6() local
419 return vlan_id; in qedr_iw_get_vlan_ipv6()
427 vlan_id = rdma_vlan_dev_vlan_id(ndev); in qedr_iw_get_vlan_ipv6()
433 if (vlan_id == 0xffff) in qedr_iw_get_vlan_ipv6()
434 vlan_id = 0; in qedr_iw_get_vlan_ipv6()
[all …]
/linux/drivers/infiniband/hw/bnxt_re/
A Dqplib_sp.c230 struct bnxt_qplib_gid *gid, u16 vlan_id, bool update) in bnxt_qplib_del_sgid() argument
249 vlan_id == sgid_tbl->tbl[index].vlan_id) in bnxt_qplib_del_sgid()
277 sgid_tbl->tbl[index].vlan_id = 0xFFFF; in bnxt_qplib_del_sgid()
291 u16 vlan_id, bool update, u32 *index) in bnxt_qplib_add_sgid() argument
311 sgid_tbl->tbl[i].vlan_id == vlan_id) { in bnxt_qplib_add_sgid()
344 if ((vlan_id != 0xFFFF) || res->prio) { in bnxt_qplib_add_sgid()
345 if (vlan_id != 0xFFFF) in bnxt_qplib_add_sgid()
347 (vlan_id & CMDQ_ADD_GID_VLAN_VLAN_ID_MASK); in bnxt_qplib_add_sgid()
366 sgid_tbl->tbl[free_idx].vlan_id = vlan_id; in bnxt_qplib_add_sgid()
368 if (vlan_id != 0xFFFF) in bnxt_qplib_add_sgid()
A Dqplib_sp.h87 u16 vlan_id; member
102 u16 vlan_id; member
251 struct bnxt_qplib_gid *gid, u16 vlan_id, bool update);
253 struct bnxt_qplib_gid *gid, const u8 *mac, u16 vlan_id,
/linux/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/
A Dswitch-driver.rst138 * VLAN: vlan_id/vlan_prio/vlan_tpid/vlan_dei
161 …$ tc filter add dev eth4 ingress protocol 802.1q flower skip_sw vlan_id 100 vlan_prio 3 action drop
183 ''vlan_id'' key will be accepted. Mirroring based on any other fields from the
196 …$ tc filter add block 1 ingress protocol 802.1q flower skip_sw vlan_id 200 action mirred egress mi…
201 …$ tc filter add block 1 ingress protocol 802.1q flower skip_sw vlan_id 200 action mirred egress mi…
204 …$ tc filter add block 1 ingress protocol 802.1q flower skip_sw vlan_id 200 action mirred egress mi…
214 …$ tc filter add block 1 ingress protocol 802.1q flower skip_sw vlan_id 200 action mirred egress mi…
215 …$ tc filter add block 1 ingress protocol 802.1q flower skip_sw vlan_id 100 action mirred egress mi…

Completed in 66 milliseconds

1234567891011