Lines Matching refs:vp_oper
261 struct mlx4_vport_oper_state *vp_oper; in mlx4_activate_vst_qinq() local
265 vp_oper = &priv->mfunc.master.vf_oper[slave].vport[port]; in mlx4_activate_vst_qinq()
268 if (vp_admin->default_vlan != vp_oper->state.default_vlan) { in mlx4_activate_vst_qinq()
271 &vp_oper->vlan_idx); in mlx4_activate_vst_qinq()
273 vp_oper->vlan_idx = NO_INDX; in mlx4_activate_vst_qinq()
280 (int)(vp_oper->state.default_vlan), in mlx4_activate_vst_qinq()
281 vp_oper->vlan_idx, slave, port); in mlx4_activate_vst_qinq()
283 vp_oper->state.vlan_proto = vp_admin->vlan_proto; in mlx4_activate_vst_qinq()
284 vp_oper->state.default_vlan = vp_admin->default_vlan; in mlx4_activate_vst_qinq()
285 vp_oper->state.default_qos = vp_admin->default_qos; in mlx4_activate_vst_qinq()
292 struct mlx4_vport_oper_state *vp_oper; in mlx4_handle_vst_qinq() local
297 vp_oper = &priv->mfunc.master.vf_oper[slave].vport[port]; in mlx4_handle_vst_qinq()
305 if (vp_oper->state.vlan_proto == vp_admin->vlan_proto && in mlx4_handle_vst_qinq()
306 vp_oper->state.default_vlan == vp_admin->default_vlan && in mlx4_handle_vst_qinq()
307 vp_oper->state.default_qos == vp_admin->default_qos) in mlx4_handle_vst_qinq()
312 vp_admin->vlan_proto = vp_oper->state.vlan_proto; in mlx4_handle_vst_qinq()
313 vp_admin->default_vlan = vp_oper->state.default_vlan; in mlx4_handle_vst_qinq()
314 vp_admin->default_qos = vp_oper->state.default_qos; in mlx4_handle_vst_qinq()
399 struct mlx4_vport_oper_state *vp_oper; in mlx4_QUERY_FUNC_CAP_wrapper() local
438 vp_oper = &priv->mfunc.master.vf_oper[slave].vport[port]; in mlx4_QUERY_FUNC_CAP_wrapper()
446 if (vp_oper->state.vlan_proto == htons(ETH_P_8021AD)) in mlx4_QUERY_FUNC_CAP_wrapper()