Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/core/
Duverbs_cmd.c3206 if (cmd.flow_attr.num_of_specs > IB_FLOW_SPEC_SUPPORT_LAYERS) in ib_uverbs_ex_create_flow()
3210 (cmd.flow_attr.num_of_specs * sizeof(struct ib_uverbs_flow_spec))) in ib_uverbs_ex_create_flow()
3217 if (cmd.flow_attr.num_of_specs) { in ib_uverbs_ex_create_flow()
3259 cmd.flow_attr.num_of_specs), GFP_KERNEL); in ib_uverbs_ex_create_flow()
3264 uflow_res = flow_resources_alloc(cmd.flow_attr.num_of_specs); in ib_uverbs_ex_create_flow()
3272 flow_attr->num_of_specs = kern_flow_attr->num_of_specs; in ib_uverbs_ex_create_flow()
3279 for (i = 0; i < flow_attr->num_of_specs && in ib_uverbs_ex_create_flow()
3295 if (cmd.flow_attr.size || (i != flow_attr->num_of_specs)) { in ib_uverbs_ex_create_flow()
3316 if (cmd.flow_attr.num_of_specs) in ib_uverbs_ex_create_flow()
3333 if (cmd.flow_attr.num_of_specs) in ib_uverbs_ex_create_flow()
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dfs.c547 ib_attr->num_of_specs < 1) in flow_is_multicast_only()
592 for (spec_index = 0; spec_index < flow_attr->num_of_specs; spec_index++) { in is_valid_ethertype()
1075 for (spec_index = 0; spec_index < flow_attr->num_of_specs; spec_index++) { in _create_flow_rule()
1195 .num_of_specs = 1, in create_leftovers_rule()
1207 .num_of_specs = 1, in create_leftovers_rule()
1249 .num_of_specs = 0, in create_sniffer_rule()
/linux-6.1.9/drivers/infiniband/hw/mlx4/
Dmain.c1442 j < flow_attr->num_of_specs; k++) { in __mlx4_ib_default_rules_match()
1464 for (j = 0; j < flow_attr->num_of_specs; in __mlx4_ib_default_rules_match()
1562 for (i = 0; i < flow_attr->num_of_specs; i++) { in __mlx4_ib_create_flow()
1574 flow_attr->num_of_specs == 1) { in __mlx4_ib_create_flow()
1624 if (ib_spec->type != IB_FLOW_SPEC_ETH || flow_attr->num_of_specs != 1) in mlx4_ib_tunnel_steer_add()
1642 (flow_attr->num_of_specs > 1) || (flow_attr->priority != 0)) { in mlx4_ib_add_dont_trap_rule()
1646 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()
/linux-6.1.9/include/uapi/rdma/
Dib_user_verbs.h1130 __u8 num_of_specs; member
/linux-6.1.9/include/rdma/
Dib_verbs.h2093 u8 num_of_specs; member