Searched refs:num_of_specs (Results 1 – 7 of 7) sorted by relevance
3198 if (cmd.flow_attr.num_of_specs > IB_FLOW_SPEC_SUPPORT_LAYERS) in ib_uverbs_ex_create_flow()3202 (cmd.flow_attr.num_of_specs * sizeof(struct ib_uverbs_flow_spec))) in ib_uverbs_ex_create_flow()3209 if (cmd.flow_attr.num_of_specs) { in ib_uverbs_ex_create_flow()3246 cmd.flow_attr.num_of_specs), GFP_KERNEL); in ib_uverbs_ex_create_flow()3251 uflow_res = flow_resources_alloc(cmd.flow_attr.num_of_specs); in ib_uverbs_ex_create_flow()3259 flow_attr->num_of_specs = kern_flow_attr->num_of_specs; in ib_uverbs_ex_create_flow()3266 for (i = 0; i < flow_attr->num_of_specs && in ib_uverbs_ex_create_flow()3282 if (cmd.flow_attr.size || (i != flow_attr->num_of_specs)) { in ib_uverbs_ex_create_flow()3303 if (cmd.flow_attr.num_of_specs) in ib_uverbs_ex_create_flow()3320 if (cmd.flow_attr.num_of_specs) in ib_uverbs_ex_create_flow()
563 ib_attr->num_of_specs < 1) in flow_is_multicast_only()649 for (spec_index = 0; spec_index < flow_attr->num_of_specs; spec_index++) { in is_valid_ethertype()937 for (spec_index = 0; spec_index < flow_attr->num_of_specs; spec_index++) { in _create_flow_rule()1063 .num_of_specs = 1, in create_leftovers_rule()1075 .num_of_specs = 1, in create_leftovers_rule()1117 .num_of_specs = 0, in create_sniffer_rule()
1447 j < flow_attr->num_of_specs; k++) { in __mlx4_ib_default_rules_match()1469 for (j = 0; j < flow_attr->num_of_specs; in __mlx4_ib_default_rules_match()1567 for (i = 0; i < flow_attr->num_of_specs; i++) { in __mlx4_ib_create_flow()1579 flow_attr->num_of_specs == 1) { in __mlx4_ib_create_flow()1629 if (ib_spec->type != IB_FLOW_SPEC_ETH || flow_attr->num_of_specs != 1) in mlx4_ib_tunnel_steer_add()1647 (flow_attr->num_of_specs > 1) || (flow_attr->priority != 0)) { in mlx4_ib_add_dont_trap_rule()1651 if (flow_attr->num_of_specs == 0) { in mlx4_ib_add_dont_trap_rule()2976 flow->num_of_specs = 1; in mlx4_ib_steer_qp_reg()
949 __u8 num_of_specs; member
1144 __u8 num_of_specs; member
927 __u8 num_of_specs; member
2064 u8 num_of_specs; member