Searched refs:vlan_proto (Results 1 – 5 of 5) sorted by relevance
/freebsd/sys/net/ |
H A D | if_vlan.c | 1235 uint16_t vlan_proto; member 1243 { .type = IFLA_VLAN_PROTOCOL, .off = _OUT(vlan_proto), .cb = nlattr_get_uint16 }, 1265 .vlan_proto = ETHERTYPE_VLAN in vlan_clone_create_nl() 1280 if (attrs.vlan_proto != ETHERTYPE_VLAN && attrs.vlan_proto != ETHERTYPE_QINQ) { in vlan_clone_create_nl() 1281 nlmsg_report_err_msg(npt, "Unsupported ethertype: 0x%04X", attrs.vlan_proto); in vlan_clone_create_nl() 1287 .vlr_proto = attrs.vlan_proto, in vlan_clone_create_nl() 1315 .vlan_proto = ETHERTYPE_VLAN, in vlan_clone_modify_nl() 1334 error = vlan_config(ifv, ifp_parent, attrs.vlan_id, attrs.vlan_proto); in vlan_clone_modify_nl() 1355 uint16_t vlan_proto = 0; in vlan_clone_dump_nl() local 1362 vlan_proto = ifv->ifv_proto; in vlan_clone_dump_nl() [all …]
|
/freebsd/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_cmd.c | 1862 vp_oper->state.vlan_proto == vp_admin->vlan_proto && in mlx4_master_immediate_activate_vlan_qos() 1918 vp_oper->state.vlan_proto = vp_admin->vlan_proto; in mlx4_master_immediate_activate_vlan_qos() 1931 work->vlan_proto = vp_oper->state.vlan_proto; in mlx4_master_immediate_activate_vlan_qos() 2018 if (vp_admin->vlan_proto != htons(ETH_P_8021AD) || in mlx4_master_activate_admin_state() 2020 vp_oper->state.vlan_proto = vp_admin->vlan_proto; in mlx4_master_activate_admin_state() 2036 vp_oper->state.vlan_proto = htons(ETH_P_8021Q); in mlx4_master_activate_admin_state() 2415 admin_vport->vlan_proto = htons(ETH_P_8021Q); in mlx4_multi_func_init() 2416 oper_vport->vlan_proto = htons(ETH_P_8021Q); in mlx4_multi_func_init() 3044 vf_admin->vlan_proto = proto; in mlx4_set_vf_vlan() 3057 vf_oper->state.vlan_proto != proto) || in mlx4_set_vf_vlan()
|
H A D | mlx4_fw.c | 282 vp_oper->state.vlan_proto = vp_admin->vlan_proto; in mlx4_activate_vst_qinq() 300 if ((vp_admin->vlan_proto != htons(ETH_P_8021AD)) || in mlx4_handle_vst_qinq() 304 if (vp_oper->state.vlan_proto == vp_admin->vlan_proto && in mlx4_handle_vst_qinq() 311 vp_admin->vlan_proto = vp_oper->state.vlan_proto; in mlx4_handle_vst_qinq() 445 if (vp_oper->state.vlan_proto == htons(ETH_P_8021AD)) in mlx4_QUERY_FUNC_CAP_wrapper()
|
H A D | mlx4.h | 504 __be16 vlan_proto; member 653 __be16 vlan_proto; member
|
H A D | mlx4_resource_tracker.c | 792 if (vp_oper->state.vlan_proto == htons(ETH_P_8021AD)) { in update_vport_qp_param() 817 if (vp_oper->state.vlan_proto == htons(ETH_P_8021AD)) in update_vport_qp_param() 5288 else if (work->vlan_proto == htons(ETH_P_8021AD)) in mlx4_vf_immed_vlan_work_handler() 5339 if (work->vlan_proto == htons(ETH_P_8021AD)) in mlx4_vf_immed_vlan_work_handler()
|