Lines Matching refs:vp_admin
262 struct mlx4_vport_state *vp_admin; in mlx4_activate_vst_qinq() local
266 vp_admin = &priv->mfunc.master.vf_admin[slave].vport[port]; in mlx4_activate_vst_qinq()
268 if (vp_admin->default_vlan != vp_oper->state.default_vlan) { in mlx4_activate_vst_qinq()
270 vp_admin->default_vlan, 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()
294 struct mlx4_vport_state *vp_admin; in mlx4_handle_vst_qinq() local
298 vp_admin = &priv->mfunc.master.vf_admin[slave].vport[port]; in mlx4_handle_vst_qinq()
301 if ((vp_admin->vlan_proto != htons(ETH_P_8021AD)) || 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()