Searched refs:vlan_idx (Results 1 – 5 of 5) sorted by relevance
40 u8 vlan_idx = attr->total_vlan; in parse_tc_vlan_action() local42 if (vlan_idx >= MLX5_FS_VLAN_DEPTH) { in parse_tc_vlan_action()49 if (vlan_idx) { in parse_tc_vlan_action()62 attr->vlan_vid[vlan_idx] = act->vlan.vid; in parse_tc_vlan_action()63 attr->vlan_prio[vlan_idx] = act->vlan.prio; in parse_tc_vlan_action()64 attr->vlan_proto[vlan_idx] = act->vlan.proto; in parse_tc_vlan_action()65 if (!attr->vlan_proto[vlan_idx]) in parse_tc_vlan_action()66 attr->vlan_proto[vlan_idx] = htons(ETH_P_8021Q); in parse_tc_vlan_action()68 if (vlan_idx) { in parse_tc_vlan_action()103 attr->total_vlan = vlan_idx + 1; in parse_tc_vlan_action()
1904 work->orig_vlan_ix = vp_oper->vlan_idx; in mlx4_master_immediate_activate_vlan_qos()1911 vp_oper->vlan_idx = admin_vlan_ix; in mlx4_master_immediate_activate_vlan_qos()1928 work->vlan_ix = vp_oper->vlan_idx; in mlx4_master_immediate_activate_vlan_qos()2026 vp_admin->default_vlan, &(vp_oper->vlan_idx)); in mlx4_master_activate_admin_state()2028 vp_oper->vlan_idx = NO_INDX; in mlx4_master_activate_admin_state()2038 vp_oper->vlan_idx, slave, port); in mlx4_master_activate_admin_state()2071 if (NO_INDX != vp_oper->vlan_idx) { in mlx4_master_deactivate_admin_state()2074 vp_oper->vlan_idx = NO_INDX; in mlx4_master_deactivate_admin_state()2428 vf_oper->vport[port].vlan_idx = NO_INDX; in mlx4_multi_func_init()
271 &vp_oper->vlan_idx); in mlx4_activate_vst_qinq()273 vp_oper->vlan_idx = NO_INDX; in mlx4_activate_vst_qinq()281 vp_oper->vlan_idx, slave, port); in mlx4_activate_vst_qinq()
527 int vlan_idx; member
828 qpc->pri_path.vlan_index = vp_oper->vlan_idx; in update_vport_qp_param()