Home
last modified time | relevance | path

Searched refs:vp_oper (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_cmd.c1850 struct mlx4_vport_oper_state *vp_oper; in mlx4_master_immediate_activate_vlan_qos() local
1857 vp_oper = &priv->mfunc.master.vf_oper[slave].vport[port]; in mlx4_master_immediate_activate_vlan_qos()
1860 if (vp_oper->state.default_vlan == vp_admin->default_vlan && in mlx4_master_immediate_activate_vlan_qos()
1861 vp_oper->state.default_qos == vp_admin->default_qos && in mlx4_master_immediate_activate_vlan_qos()
1862 vp_oper->state.vlan_proto == vp_admin->vlan_proto && in mlx4_master_immediate_activate_vlan_qos()
1863 vp_oper->state.qos_vport == vp_admin->qos_vport) in mlx4_master_immediate_activate_vlan_qos()
1883 if (vp_oper->state.default_vlan != vp_admin->default_vlan) { in mlx4_master_immediate_activate_vlan_qos()
1906 work->orig_vlan_id = vp_oper->state.default_vlan; in mlx4_master_immediate_activate_vlan_qos()
1907 work->orig_vlan_ix = vp_oper->vlan_idx; in mlx4_master_immediate_activate_vlan_qos()
1910 if (vp_oper->state.default_qos != vp_admin->default_qos) in mlx4_master_immediate_activate_vlan_qos()
[all …]
H A Dmlx4_fw.c260 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()
[all …]
H A Dmlx4_resource_tracker.c741 struct mlx4_vport_oper_state *vp_oper; in update_vport_qp_param() local
748 vp_oper = &priv->mfunc.master.vf_oper[slave].vport[port]; in update_vport_qp_param()
755 if (MLX4_VGT != vp_oper->state.default_vlan) { in update_vport_qp_param()
791 } else if (0 != vp_oper->state.default_vlan) { in update_vport_qp_param()
792 if (vp_oper->state.vlan_proto == htons(ETH_P_8021AD)) { in update_vport_qp_param()
815 qpc->pri_path.vlan_index = vp_oper->vlan_idx; in update_vport_qp_param()
817 if (vp_oper->state.vlan_proto == htons(ETH_P_8021AD)) in update_vport_qp_param()
823 qpc->pri_path.sched_queue |= (vp_oper->state.default_qos) << 3; in update_vport_qp_param()
824 qpc->qos_vport = vp_oper->state.qos_vport; in update_vport_qp_param()
826 if (vp_oper->state.spoofchk) { in update_vport_qp_param()
[all …]