Use different namespaces for bypass and switchdev loopback because they have different priorities and default table miss action requirement: 1. bypass: with multiple priorities support, and MLX5_FLOW_TABLE_MISS_ACTION_DEF as the default table miss action; 2. switchdev loopback: with single priority support, and MLX5_FLOW_TABLE_MISS_ACTION_SWITCH_DOMAIN as the default table miss action.
Showing the changes to include/linux (1 of 3 files). Show all
Unified · Split
| @@ -75,6 +75,7 @@ enum mlx5_flow_namespace_type { · 74 unmodified lines | ||
| 75 | 75 | MLX5_FLOW_NAMESPACE_SNIFFER_TX, |
| 76 | 76 | MLX5_FLOW_NAMESPACE_EGRESS, |
| 77 | 77 | MLX5_FLOW_NAMESPACE_RDMA_RX, |
| 78 | + MLX5_FLOW_NAMESPACE_RDMA_RX_KERNEL, | |
| 78 | 79 | }; |
| 79 | 80 | |
| 80 | 81 | enum { |