Searched refs:flow_attr (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/drivers/infiniband/hw/mlx5/ |
D | fs.c | 186 const struct ib_flow_attr *flow_attr, in parse_flow_attr() argument 514 flow_attr->flags & IB_FLOW_ATTR_FLAGS_EGRESS, action); in parse_flow_attr() 572 const struct ib_flow_attr *flow_attr, in is_valid_ethertype() argument 575 union ib_flow_spec *ib_spec = (union ib_flow_spec *)(flow_attr + 1); in is_valid_ethertype() 591 for (spec_index = 0; spec_index < flow_attr->num_of_specs; spec_index++) { in is_valid_ethertype() 621 const struct ib_flow_attr *flow_attr) in is_valid_attr() argument 623 return is_valid_ethertype(mdev, flow_attr, false) && in is_valid_attr() 624 is_valid_ethertype(mdev, flow_attr, true); in is_valid_attr() 712 struct ib_flow_attr *flow_attr, in get_flow_table() argument 715 bool dont_trap = flow_attr->flags & IB_FLOW_ATTR_FLAGS_DONT_TRAP; in get_flow_table() [all …]
|
/linux-6.6.21/drivers/infiniband/hw/mlx4/ |
D | main.c | 1429 struct ib_flow_attr *flow_attr) in __mlx4_ib_default_rules_match() argument 1434 u8 link_layer = rdma_port_get_link_layer(qp->device, flow_attr->port); in __mlx4_ib_default_rules_match() 1443 ib_flow = flow_attr + 1; in __mlx4_ib_default_rules_match() 1446 j < flow_attr->num_of_specs; k++) { in __mlx4_ib_default_rules_match() 1467 ib_flow = flow_attr + 1; in __mlx4_ib_default_rules_match() 1468 for (j = 0; j < flow_attr->num_of_specs; in __mlx4_ib_default_rules_match() 1521 static int __mlx4_ib_create_flow(struct ib_qp *qp, struct ib_flow_attr *flow_attr, in __mlx4_ib_create_flow() argument 1534 if (flow_attr->priority > MLX4_IB_FLOW_MAX_PRIO) { in __mlx4_ib_create_flow() 1535 pr_err("Invalid priority value %d\n", flow_attr->priority); in __mlx4_ib_create_flow() 1547 ctrl->prio = cpu_to_be16(domain | flow_attr->priority); in __mlx4_ib_create_flow() [all …]
|
/linux-6.6.21/drivers/infiniband/core/ |
D | uverbs_cmd.c | 3183 struct ib_flow_attr *flow_attr; in ib_uverbs_ex_create_flow() local 3203 if (cmd.flow_attr.flags >= IB_FLOW_ATTR_FLAGS_RESERVED) in ib_uverbs_ex_create_flow() 3206 if ((cmd.flow_attr.flags & IB_FLOW_ATTR_FLAGS_DONT_TRAP) && in ib_uverbs_ex_create_flow() 3207 ((cmd.flow_attr.type == IB_FLOW_ATTR_ALL_DEFAULT) || in ib_uverbs_ex_create_flow() 3208 (cmd.flow_attr.type == IB_FLOW_ATTR_MC_DEFAULT))) in ib_uverbs_ex_create_flow() 3211 if (cmd.flow_attr.num_of_specs > IB_FLOW_SPEC_SUPPORT_LAYERS) in ib_uverbs_ex_create_flow() 3214 if (cmd.flow_attr.size > in ib_uverbs_ex_create_flow() 3215 (cmd.flow_attr.num_of_specs * sizeof(struct ib_uverbs_flow_spec))) in ib_uverbs_ex_create_flow() 3218 if (cmd.flow_attr.reserved[0] || in ib_uverbs_ex_create_flow() 3219 cmd.flow_attr.reserved[1]) in ib_uverbs_ex_create_flow() [all …]
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | tc_tun.c | 712 struct mlx5_flow_attr *flow_attr, in mlx5e_tc_tun_route_lookup() argument 715 struct mlx5_esw_flow_attr *esw_attr = flow_attr->esw_attr; in mlx5e_tc_tun_route_lookup() 722 if (flow_attr->tun_ip_version == 4) { in mlx5e_tc_tun_route_lookup() 729 else if (flow_attr->tun_ip_version == 6) { in mlx5e_tc_tun_route_lookup() 761 if (flow_attr->tun_ip_version == 4) in mlx5e_tc_tun_route_lookup() 764 else if (flow_attr->tun_ip_version == 6) in mlx5e_tc_tun_route_lookup()
|
/linux-6.6.21/include/uapi/rdma/ |
D | ib_user_verbs.h | 1160 struct ib_uverbs_flow_attr flow_attr; member
|
/linux-6.6.21/include/rdma/ |
D | ib_verbs.h | 2526 struct ib_flow_attr *flow_attr,
|