Lines Matching refs:vp_oper

260 	struct mlx4_vport_oper_state *vp_oper;  in mlx4_activate_vst_qinq()  local
264 vp_oper = &priv->mfunc.master.vf_oper[slave].vport[port]; in mlx4_activate_vst_qinq()
267 if (vp_admin->default_vlan != vp_oper->state.default_vlan) { in mlx4_activate_vst_qinq()
270 &vp_oper->vlan_idx); in mlx4_activate_vst_qinq()
272 vp_oper->vlan_idx = NO_INDX; in mlx4_activate_vst_qinq()
279 (int)(vp_oper->state.default_vlan), in mlx4_activate_vst_qinq()
280 vp_oper->vlan_idx, slave, port); in mlx4_activate_vst_qinq()
282 vp_oper->state.vlan_proto = vp_admin->vlan_proto; in mlx4_activate_vst_qinq()
283 vp_oper->state.default_vlan = vp_admin->default_vlan; in mlx4_activate_vst_qinq()
284 vp_oper->state.default_qos = vp_admin->default_qos; in mlx4_activate_vst_qinq()
291 struct mlx4_vport_oper_state *vp_oper; in mlx4_handle_vst_qinq() local
296 vp_oper = &priv->mfunc.master.vf_oper[slave].vport[port]; in mlx4_handle_vst_qinq()
304 if (vp_oper->state.vlan_proto == vp_admin->vlan_proto && in mlx4_handle_vst_qinq()
305 vp_oper->state.default_vlan == vp_admin->default_vlan && in mlx4_handle_vst_qinq()
306 vp_oper->state.default_qos == vp_admin->default_qos) in mlx4_handle_vst_qinq()
311 vp_admin->vlan_proto = vp_oper->state.vlan_proto; in mlx4_handle_vst_qinq()
312 vp_admin->default_vlan = vp_oper->state.default_vlan; in mlx4_handle_vst_qinq()
313 vp_admin->default_qos = vp_oper->state.default_qos; in mlx4_handle_vst_qinq()
398 struct mlx4_vport_oper_state *vp_oper; in mlx4_QUERY_FUNC_CAP_wrapper() local
437 vp_oper = &priv->mfunc.master.vf_oper[slave].vport[port]; in mlx4_QUERY_FUNC_CAP_wrapper()
445 if (vp_oper->state.vlan_proto == htons(ETH_P_8021AD)) in mlx4_QUERY_FUNC_CAP_wrapper()