Searched refs:num_of_specs (Results 1 – 5 of 5) sorted by relevance
3207 if (cmd.flow_attr.num_of_specs > IB_FLOW_SPEC_SUPPORT_LAYERS) in ib_uverbs_ex_create_flow()3211 (cmd.flow_attr.num_of_specs * sizeof(struct ib_uverbs_flow_spec))) in ib_uverbs_ex_create_flow()3218 if (cmd.flow_attr.num_of_specs) { in ib_uverbs_ex_create_flow()3260 cmd.flow_attr.num_of_specs), GFP_KERNEL); in ib_uverbs_ex_create_flow()3265 uflow_res = flow_resources_alloc(cmd.flow_attr.num_of_specs); in ib_uverbs_ex_create_flow()3273 flow_attr->num_of_specs = kern_flow_attr->num_of_specs; in ib_uverbs_ex_create_flow()3280 for (i = 0; i < flow_attr->num_of_specs && in ib_uverbs_ex_create_flow()3296 if (cmd.flow_attr.size || (i != flow_attr->num_of_specs)) { in ib_uverbs_ex_create_flow()3317 if (cmd.flow_attr.num_of_specs) in ib_uverbs_ex_create_flow()3334 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()
1450 j < flow_attr->num_of_specs; k++) { in __mlx4_ib_default_rules_match()1472 for (j = 0; j < flow_attr->num_of_specs; in __mlx4_ib_default_rules_match()1570 for (i = 0; i < flow_attr->num_of_specs; i++) { in __mlx4_ib_create_flow()1582 flow_attr->num_of_specs == 1) { in __mlx4_ib_create_flow()1632 if (ib_spec->type != IB_FLOW_SPEC_ETH || flow_attr->num_of_specs != 1) in mlx4_ib_tunnel_steer_add()1650 (flow_attr->num_of_specs > 1) || (flow_attr->priority != 0)) { in mlx4_ib_add_dont_trap_rule()1654 if (flow_attr->num_of_specs == 0) { in mlx4_ib_add_dont_trap_rule()2940 flow->num_of_specs = 1; in mlx4_ib_steer_qp_reg()
1130 __u8 num_of_specs; member
2074 u8 num_of_specs; member