Searched refs:num_of_specs (Results 1 – 8 of 8) sorted by relevance
3219 if (cmd.flow_attr.num_of_specs > IB_FLOW_SPEC_SUPPORT_LAYERS) in ib_uverbs_ex_create_flow()3223 (cmd.flow_attr.num_of_specs * sizeof(struct ib_uverbs_flow_spec))) in ib_uverbs_ex_create_flow()3230 if (cmd.flow_attr.num_of_specs) { in ib_uverbs_ex_create_flow()3267 cmd.flow_attr.num_of_specs), GFP_KERNEL); in ib_uverbs_ex_create_flow()3272 uflow_res = flow_resources_alloc(cmd.flow_attr.num_of_specs); in ib_uverbs_ex_create_flow()3280 flow_attr->num_of_specs = kern_flow_attr->num_of_specs; in ib_uverbs_ex_create_flow()3287 for (i = 0; i < flow_attr->num_of_specs && in ib_uverbs_ex_create_flow()3303 if (cmd.flow_attr.size || (i != flow_attr->num_of_specs)) { in ib_uverbs_ex_create_flow()3330 if (cmd.flow_attr.num_of_specs) in ib_uverbs_ex_create_flow()3347 if (cmd.flow_attr.num_of_specs) in ib_uverbs_ex_create_flow()
1395 j < flow_attr->num_of_specs; k++) { in __mlx4_ib_default_rules_match()1417 for (j = 0; j < flow_attr->num_of_specs; in __mlx4_ib_default_rules_match()1527 for (i = 0; i < flow_attr->num_of_specs; i++) { in __mlx4_ib_create_flow()1579 if (ib_spec->type != IB_FLOW_SPEC_ETH || flow_attr->num_of_specs != 1) in mlx4_ib_tunnel_steer_add()1597 (flow_attr->num_of_specs > 1) || (flow_attr->priority != 0)) { in mlx4_ib_add_dont_trap_rule()1601 if (flow_attr->num_of_specs == 0) { in mlx4_ib_add_dont_trap_rule()2834 flow->num_of_specs = 1; in mlx4_ib_steer_qp_reg()
2020 ib_attr->num_of_specs < 1) in flow_is_multicast_only() 2040 for (spec_index = 0; spec_index < flow_attr->num_of_specs; spec_index++) { in is_valid_attr() 2206 for (spec_index = 0; spec_index < flow_attr->num_of_specs; spec_index++) { in create_flow_rule() 2279 .num_of_specs = 1, in create_leftovers_rule() 2291 .num_of_specs = 1, in create_leftovers_rule() 2333 .num_of_specs = 0, in create_sniffer_rule()
1929 cmd_size = sizeof(*cmd) + (flow_attr->num_of_specs * in ibv_cmd_create_flow()1941 cmd->flow_attr.num_of_specs = flow_attr->num_of_specs; in ibv_cmd_create_flow()1947 for (i = 0; i < flow_attr->num_of_specs; i++) { in ibv_cmd_create_flow()
969 __u8 num_of_specs; member
1361 uint8_t num_of_specs; member
1138 __u8 num_of_specs; member
1904 u8 num_of_specs; member