Home
last modified time | relevance | path

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

12345678910>>...13

/openbmc/openbmc-test-automation/network/
H A Dtest_vlan_network.robot25 ${vlan_id} ${53} variable
44 [Teardown] Delete VLANs [${vlan_id}]
46 Create VLAN ${vlan_id}
47 Verify Existence Of VLAN ${vlan_id}
50 Valid Value lan_config['802.1q VLAN ID'] ["${vlan_id}"]
63 [Setup] Run Keywords Test Setup Execution AND Create VLAN ${vlan_id}
65 Verify Existence Of VLAN ${vlan_id}
66 Delete VLANs [${vlan_id}]
67 Verify Existence Of VLAN ${vlan_id} expected_result=error
76 [Setup] Run Keywords Test Setup Execution AND Create VLAN ${vlan_id}
[all …]
/openbmc/linux/net/8021q/
H 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()
H 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()
H 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 …]
H 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
111 vlan_group_set_device(grp, vlan->vlan_proto, vlan_id, NULL); in unregister_vlan_dev()
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
140 if (vlan_find_dev(real_dev, protocol, vlan_id) != NULL) { in vlan_check_real_dev()
152 u16 vlan_id = vlan->vlan_id; in register_vlan_dev() local
157 err = vlan_vid_add(real_dev, vlan->vlan_proto, vlan_id); in register_vlan_dev()
175 err = vlan_group_prealloc_vid(grp, vlan->vlan_proto, vlan_id); in register_vlan_dev()
[all …]
/openbmc/linux/drivers/net/ethernet/rocker/
H A Drocker_ofdpa.c38 __be16 vlan_id; member
50 __be16 vlan_id; member
67 __be16 vlan_id; member
81 __be16 vlan_id; member
115 __be16 vlan_id; member
121 __be16 vlan_id; member
136 __be16 vlan_id; member
144 __be16 vlan_id; member
238 static bool ofdpa_vlan_id_is_internal(__be16 vlan_id) in ofdpa_vlan_id_is_internal() argument
242 u16 _vlan_id = ntohs(vlan_id); in ofdpa_vlan_id_is_internal()
[all …]
H 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))
/openbmc/linux/drivers/infiniband/hw/irdma/
H A Dtrace_cm.h70 __field(u16, vlan_id)
78 __entry->vlan_id = listener->vlan_id;
86 __entry->vlan_id,
151 __field(u16, vlan_id)
158 __entry->vlan_id = listener->vlan_id;
167 __entry->vlan_id,
212 __field(u16, vlan_id)
228 __entry->vlan_id = cm_node->vlan_id;
244 __entry->vlan_id,
289 __field(u16, vlan_id)
[all …]
H A Dcm.c79 cm_info->vlan_id = cm_node->vlan_id; in irdma_get_addr_info()
447 if (cm_node->vlan_id < VLAN_N_VID) in irdma_form_uda_cm_frame()
479 if (cm_node->vlan_id < VLAN_N_VID) { in irdma_form_uda_cm_frame()
483 cm_node->vlan_id; in irdma_form_uda_cm_frame()
512 if (cm_node->vlan_id < VLAN_N_VID) { in irdma_form_uda_cm_frame()
516 cm_node->vlan_id; in irdma_form_uda_cm_frame()
1468 u16 dst_port, u16 vlan_id, in irdma_find_listener() argument
1488 vlan_id == listen_node->vlan_id)) { in irdma_find_listener()
1526 child_listen_node->vlan_id); in irdma_del_multiple_qhash()
1532 child_listen_node->vlan_id); in irdma_del_multiple_qhash()
[all …]
/openbmc/qemu/hw/net/rocker/
H A Drocker_of_dpa.c55 __be16 vlan_id; /* 0 if no VLAN */ member
115 __be16 vlan_id; member
121 __be16 vlan_id; member
183 __be16 vlan_id; member
193 __be16 vlan_id; member
234 if (key->eth.vlan_id || (mask && mask->eth.vlan_id)) { in of_dpa_flow_key_dump()
235 b += sprintf(b, " vlan %4d", ntohs(key->eth.vlan_id)); in of_dpa_flow_key_dump()
236 if (mask && mask->eth.vlan_id != 0xffff) { in of_dpa_flow_key_dump()
237 b += sprintf(b, "/0x%04x", ntohs(key->eth.vlan_id)); in of_dpa_flow_key_dump()
454 static void of_dpa_flow_pkt_insert_vlan(OfDpaFlowContext *fc, __be16 vlan_id) in of_dpa_flow_pkt_insert_vlan() argument
[all …]
H A Drocker_hw.h445 #define ROCKER_GROUP_VLAN_SET(vlan_id) \ argument
446 (((vlan_id) << ROCKER_GROUP_VLAN_ID_SHIFT) & ROCKER_GROUP_VLAN_ID_MASK)
463 #define ROCKER_GROUP_L2_INTERFACE(vlan_id, port) \ argument
465 ROCKER_GROUP_VLAN_SET(ntohs(vlan_id)) | ROCKER_GROUP_PORT_SET(port))
469 #define ROCKER_GROUP_L2_MCAST(vlan_id, index) \ argument
471 ROCKER_GROUP_VLAN_SET(ntohs(vlan_id)) | ROCKER_GROUP_INDEX_SET(index))
472 #define ROCKER_GROUP_L2_FLOOD(vlan_id, index) \ argument
474 ROCKER_GROUP_VLAN_SET(ntohs(vlan_id)) | ROCKER_GROUP_INDEX_SET(index))
/openbmc/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_sriov.c30 u16 vlan_id, u16 func_id) in hinic_set_mac() argument
37 mac_info.vlan_id = vlan_id; in hinic_set_mac()
115 vf_vlan.vlan_id = vid; in hinic_set_vf_vlan()
215 u16 func_id, vlan_id; in hinic_init_vf_config() local
222 vlan_id = 0; in hinic_init_vf_config()
224 err = hinic_set_mac(hwdev, vf_info->vf_mac_addr, vlan_id, in hinic_init_vf_config()
523 static int hinic_check_mac_info(u8 status, u16 vlan_id) in hinic_check_mac_info() argument
526 (vlan_id & CHECK_IPSU_15BIT && in hinic_check_mac_info()
536 u8 *new_mac, u16 vlan_id, u16 func_id) in hinic_update_mac() argument
545 if ((vlan_id & HINIC_VLAN_ID_MASK) >= VLAN_N_VID) { in hinic_update_mac()
[all …]
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpsw.c424 dpsw_set_field(tmp_conf, VLAN_ID, cfg->vlan_id); in dpsw_if_set_tci()
467 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()
680 u16 vlan_id, const struct dpsw_vlan_cfg *cfg) in dpsw_vlan_add() argument
691 cmd_params->vlan_id = cpu_to_le16(vlan_id); in dpsw_vlan_add()
713 u16 vlan_id, const struct dpsw_vlan_if_cfg *cfg) in dpsw_vlan_add_if() argument
723 cmd_params->vlan_id = cpu_to_le16(vlan_id); in dpsw_vlan_add_if()
750 u16 vlan_id, const struct dpsw_vlan_if_cfg *cfg) in dpsw_vlan_add_if_untagged() argument
760 cmd_params->vlan_id = cpu_to_le16(vlan_id); in dpsw_vlan_add_if_untagged()
781 u16 vlan_id, const struct dpsw_vlan_if_cfg *cfg) in dpsw_vlan_remove_if() argument
[all …]
H 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
H 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
/openbmc/linux/net/smc/
H A Dsmc_ism.h35 int smc_ism_cantalk(struct smcd_gid *peer_gid, unsigned short vlan_id,
39 int smc_ism_get_vlan(struct smcd_dev *dev, unsigned short vlan_id);
40 int smc_ism_put_vlan(struct smcd_dev *dev, unsigned short vlan_id);
H A Dsmc_ism.c47 int smc_ism_cantalk(struct smcd_gid *peer_gid, unsigned short vlan_id, in smc_ism_cantalk() argument
50 return smcd->ops->query_remote_gid(smcd, peer_gid, vlan_id ? 1 : 0, in smc_ism_cantalk()
51 vlan_id); in smc_ism_cantalk()
215 dmb.vlan_id = lgr->vlan_id; in smc_ism_register_dmb()
381 unsigned short vlan_id; member
395 smc_smcd_terminate(wrk->smcd, &peer_gid, ev_info.vlan_id); in smcd_handle_sw_event()
578 ev_info.vlan_id = lgr->vlan_id; in smc_ism_signal_shutdown()
/openbmc/linux/arch/mips/include/asm/octeon/
H 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;
/openbmc/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_io.c158 void *addr, u16 vlan_id) in qlcnic_delete_rx_list_mac() argument
163 op = vlan_id ? QLCNIC_MAC_VLAN_ADD : QLCNIC_MAC_ADD; in qlcnic_delete_rx_list_mac()
164 ret = qlcnic_sre_macaddr_change(adapter, addr, vlan_id, op); in qlcnic_delete_rx_list_mac()
168 op = vlan_id ? QLCNIC_MAC_VLAN_DEL : QLCNIC_MAC_DEL; in qlcnic_delete_rx_list_mac()
169 ret = qlcnic_sre_macaddr_change(adapter, addr, vlan_id, op); in qlcnic_delete_rx_list_mac()
177 void *addr, u16 vlan_id) in qlcnic_find_mac_filter() argument
184 tmp_fil->vlan_id == vlan_id) in qlcnic_find_mac_filter()
192 struct sk_buff *skb, int loopback_pkt, u16 vlan_id) in qlcnic_add_lb_filter() argument
202 if (!qlcnic_sriov_pf_check(adapter) || (vlan_id == 0xffff)) in qlcnic_add_lb_filter()
203 vlan_id = 0; in qlcnic_add_lb_filter()
[all …]
/openbmc/linux/drivers/net/fjes/
H 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()
870 bool fjes_hw_check_vlan_id(struct epbuf_handler *epbh, u16 vlan_id) in fjes_hw_check_vlan_id() argument
876 if (vlan_id == 0) { in fjes_hw_check_vlan_id()
880 if (vlan_id == info->v1i.vlan_id[i]) { in fjes_hw_check_vlan_id()
889 bool fjes_hw_set_vlan_id(struct epbuf_handler *epbh, u16 vlan_id) in fjes_hw_set_vlan_id() argument
895 if (info->v1i.vlan_id[i] == 0) { in fjes_hw_set_vlan_id()
896 info->v1i.vlan_id[i] = vlan_id; in fjes_hw_set_vlan_id()
903 void fjes_hw_del_vlan_id(struct epbuf_handler *epbh, u16 vlan_id) in fjes_hw_del_vlan_id() argument
[all …]
/openbmc/linux/drivers/s390/net/
H A Dism.h97 u16 vlan_id[64]; member
106 u32 vlan_id; member
120 u32 vlan_id; member
164 u64 vlan_id; member
H A Dism_drv.c365 cmd.request.vlan_id = dmb->vlan_id; in ism_register_dmb()
408 static int ism_add_vlan_id(struct ism_dev *ism, u64 vlan_id) in ism_add_vlan_id() argument
416 cmd.request.vlan_id = vlan_id; in ism_add_vlan_id()
421 static int ism_del_vlan_id(struct ism_dev *ism, u64 vlan_id) in ism_del_vlan_id() argument
429 cmd.request.vlan_id = vlan_id; in ism_del_vlan_id()
760 cmd.request.vlan_id = vid; in ism_query_rgid()
782 static int smcd_add_vlan_id(struct smcd_dev *smcd, u64 vlan_id) in smcd_add_vlan_id() argument
784 return ism_add_vlan_id(smcd->priv, vlan_id); in smcd_add_vlan_id()
787 static int smcd_del_vlan_id(struct smcd_dev *smcd, u64 vlan_id) in smcd_del_vlan_id() argument
789 return ism_del_vlan_id(smcd->priv, vlan_id); in smcd_del_vlan_id()
/openbmc/linux/include/net/
H A Dsmc.h39 u32 vlan_id; member
76 int (*add_vlan_id)(struct smcd_dev *dev, u64 vlan_id);
77 int (*del_vlan_id)(struct smcd_dev *dev, u64 vlan_id);
/openbmc/openbmc-test-automation/ipmi/
H A Dtest_ipmi_network_configuration.robot79 FOR ${vlan_id} IN @{vlan_ids}
80 Create VLAN ${vlan_id}
154 FOR ${vlan_id} IN @{vlan_ids}
156 Create VLAN Via IPMI ${vlan_id}
161 Valid Value lan_config['802.1q VLAN ID'] ['${vlan_id}']
175 [Arguments] ${vlan_id} ${channel_number}=${CHANNEL_NUMBER}
178 # vlan_id The VLAN ID (e.g. '10').
181 ... lan set ${channel_number} vlan id ${vlan_id} login_host=${0}
/openbmc/phosphor-networkd/src/
H A Dtypes.hpp37 std::optional<uint16_t> vlan_id = std::nullopt; member
44 vlan_id == rhs.vlan_id; in operator ==()

12345678910>>...13