Home
last modified time | relevance | path

Searched refs:num_of_specs (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/infiniband/core/
H A Duverbs_cmd.c3212 if (cmd.flow_attr.num_of_specs > IB_FLOW_SPEC_SUPPORT_LAYERS) in ib_uverbs_ex_create_flow()
3216 (cmd.flow_attr.num_of_specs * sizeof(struct ib_uverbs_flow_spec))) in ib_uverbs_ex_create_flow()
3223 if (cmd.flow_attr.num_of_specs) { in ib_uverbs_ex_create_flow()
3265 cmd.flow_attr.num_of_specs), GFP_KERNEL); in ib_uverbs_ex_create_flow()
3270 uflow_res = flow_resources_alloc(cmd.flow_attr.num_of_specs); in ib_uverbs_ex_create_flow()
3278 flow_attr->num_of_specs = kern_flow_attr->num_of_specs; in ib_uverbs_ex_create_flow()
3285 for (i = 0; i < flow_attr->num_of_specs && in ib_uverbs_ex_create_flow()
3301 if (cmd.flow_attr.size || (i != flow_attr->num_of_specs)) { in ib_uverbs_ex_create_flow()
3322 if (cmd.flow_attr.num_of_specs) in ib_uverbs_ex_create_flow()
3339 if (cmd.flow_attr.num_of_specs) in ib_uverbs_ex_create_flow()
/linux/drivers/infiniband/hw/mlx4/
H A Dmain.c1446 j < flow_attr->num_of_specs; k++) { in __mlx4_ib_default_rules_match()
1468 for (j = 0; j < flow_attr->num_of_specs; in __mlx4_ib_default_rules_match()
1566 for (i = 0; i < flow_attr->num_of_specs; i++) { in __mlx4_ib_create_flow()
1578 flow_attr->num_of_specs == 1) { in __mlx4_ib_create_flow()
1628 if (ib_spec->type != IB_FLOW_SPEC_ETH || flow_attr->num_of_specs != 1) in mlx4_ib_tunnel_steer_add()
1646 (flow_attr->num_of_specs > 1) || (flow_attr->priority != 0)) { in mlx4_ib_add_dont_trap_rule()
1650 if (flow_attr->num_of_specs == 0) { in mlx4_ib_add_dont_trap_rule()
2958 flow->num_of_specs = 1; in mlx4_ib_steer_qp_reg()
/linux/drivers/infiniband/hw/mlx5/
H A Dfs.c546 ib_attr->num_of_specs < 1) in flow_is_multicast_only()
591 for (spec_index = 0; spec_index < flow_attr->num_of_specs; spec_index++) { in is_valid_ethertype()
1072 for (spec_index = 0; spec_index < flow_attr->num_of_specs; spec_index++) { in _create_flow_rule()
1192 .num_of_specs = 1, in create_leftovers_rule()
1204 .num_of_specs = 1, in create_leftovers_rule()
1246 .num_of_specs = 0, in create_sniffer_rule()
/linux/include/uapi/rdma/
H A Dib_user_verbs.h1146 __u8 num_of_specs; member
/linux/include/rdma/
H A Dib_verbs.h2090 u8 num_of_specs; member