Searched refs:flow_attr (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
D | fs.c | 196 const struct ib_flow_attr *flow_attr, in parse_flow_attr() argument 531 flow_attr->flags & IB_FLOW_ATTR_FLAGS_EGRESS, action); in parse_flow_attr() 630 const struct ib_flow_attr *flow_attr, in is_valid_ethertype() argument 633 union ib_flow_spec *ib_spec = (union ib_flow_spec *)(flow_attr + 1); in is_valid_ethertype() 649 for (spec_index = 0; spec_index < flow_attr->num_of_specs; spec_index++) { in is_valid_ethertype() 679 const struct ib_flow_attr *flow_attr) in is_valid_attr() argument 681 return is_valid_ethertype(mdev, flow_attr, false) && in is_valid_attr() 682 is_valid_ethertype(mdev, flow_attr, true); in is_valid_attr() 762 struct ib_flow_attr *flow_attr, in get_flow_table() argument 765 bool dont_trap = flow_attr->flags & IB_FLOW_ATTR_FLAGS_DONT_TRAP; in get_flow_table() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/ |
D | main.c | 1430 struct ib_flow_attr *flow_attr) in __mlx4_ib_default_rules_match() argument 1435 u8 link_layer = rdma_port_get_link_layer(qp->device, flow_attr->port); in __mlx4_ib_default_rules_match() 1444 ib_flow = flow_attr + 1; in __mlx4_ib_default_rules_match() 1447 j < flow_attr->num_of_specs; k++) { in __mlx4_ib_default_rules_match() 1468 ib_flow = flow_attr + 1; in __mlx4_ib_default_rules_match() 1469 for (j = 0; j < flow_attr->num_of_specs; in __mlx4_ib_default_rules_match() 1522 static int __mlx4_ib_create_flow(struct ib_qp *qp, struct ib_flow_attr *flow_attr, in __mlx4_ib_create_flow() argument 1535 if (flow_attr->priority > MLX4_IB_FLOW_MAX_PRIO) { in __mlx4_ib_create_flow() 1536 pr_err("Invalid priority value %d\n", flow_attr->priority); in __mlx4_ib_create_flow() 1548 ctrl->prio = cpu_to_be16(domain | flow_attr->priority); in __mlx4_ib_create_flow() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | uverbs_cmd.c | 3170 struct ib_flow_attr *flow_attr; in ib_uverbs_ex_create_flow() local 3190 if (cmd.flow_attr.flags >= IB_FLOW_ATTR_FLAGS_RESERVED) in ib_uverbs_ex_create_flow() 3193 if ((cmd.flow_attr.flags & IB_FLOW_ATTR_FLAGS_DONT_TRAP) && in ib_uverbs_ex_create_flow() 3194 ((cmd.flow_attr.type == IB_FLOW_ATTR_ALL_DEFAULT) || in ib_uverbs_ex_create_flow() 3195 (cmd.flow_attr.type == IB_FLOW_ATTR_MC_DEFAULT))) in ib_uverbs_ex_create_flow() 3198 if (cmd.flow_attr.num_of_specs > IB_FLOW_SPEC_SUPPORT_LAYERS) in ib_uverbs_ex_create_flow() 3201 if (cmd.flow_attr.size > 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() 3205 if (cmd.flow_attr.reserved[0] || in ib_uverbs_ex_create_flow() 3206 cmd.flow_attr.reserved[1]) in ib_uverbs_ex_create_flow() [all …]
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/rdma/ |
D | ib_user_verbs.h | 958 struct ib_uverbs_flow_attr flow_attr; member
|
/kernel/linux/linux-5.10/include/uapi/rdma/ |
D | ib_user_verbs.h | 1158 struct ib_uverbs_flow_attr flow_attr; member
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/rdma/ |
D | ib_user_verbs.h | 937 struct ib_uverbs_flow_attr flow_attr; member
|
/kernel/linux/linux-5.10/include/rdma/ |
D | ib_verbs.h | 2456 struct ib_flow_attr *flow_attr,
|