History

net/mlx5: Add support in RDMA RX steering

Add new flow steering namespace - MLX5_FLOW_NAMESPACE_RDMA_RX. Flow steering rules in this namespace are used to filter RDMA traffic.

Maor Gottlieb committed 7 years ago

Commit d83eb501 parent ae288a46 files · +38 −1Browse files

Showing the changes to include/linux (3 of 6 files). Show all

Unified · Split

3 files
  1. include/linux/mlx5/device.h +6 −0
  2. include/linux/mlx5/fs.h +1 −0
  3. include/linux/mlx5/mlx5_ifc.h +1 −1
include/linux/mlx5/device.h+6−0
@@ -1166,6 +1166,12 @@ enum mlx5_qcam_feature_groups { · 1165 unmodified lines
11661166 #define MLX5_CAP_FLOWTABLE_SNIFFER_TX_MAX(mdev, cap) \
11671167 MLX5_CAP_FLOWTABLE_MAX(mdev, flow_table_properties_nic_transmit_sniffer.cap)
11681168
1169+#define MLX5_CAP_FLOWTABLE_RDMA_RX(mdev, cap) \
1170+ MLX5_CAP_FLOWTABLE(mdev, flow_table_properties_nic_receive_rdma.cap)
1171+
1172+#define MLX5_CAP_FLOWTABLE_RDMA_RX_MAX(mdev, cap) \
1173+ MLX5_CAP_FLOWTABLE_MAX(mdev, flow_table_properties_nic_receive_rdma.cap)
1174+
11691175 #define MLX5_CAP_ESW_FLOWTABLE(mdev, cap) \
11701176 MLX5_GET(flow_table_eswitch_cap, \
11711177 mdev->caps.hca_cur[MLX5_CAP_ESWITCH_FLOW_TABLE], cap)
include/linux/mlx5/fs.h+1−0
@@ -73,6 +73,7 @@ enum mlx5_flow_namespace_type { · 72 unmodified lines
7373 MLX5_FLOW_NAMESPACE_SNIFFER_RX,
7474 MLX5_FLOW_NAMESPACE_SNIFFER_TX,
7575 MLX5_FLOW_NAMESPACE_EGRESS,
76+ MLX5_FLOW_NAMESPACE_RDMA_RX,
7677 };
7778
7879 enum {
include/linux/mlx5/mlx5_ifc.h+1−1
@@ -598,7 +598,7 @@ struct mlx5_ifc_flow_table_nic_cap_bits { · 597 unmodified lines
598598
599599 struct mlx5_ifc_flow_table_prop_layout_bits flow_table_properties_nic_receive;
600600
601− u8 reserved_at_400[0x200];
601+ struct mlx5_ifc_flow_table_prop_layout_bits flow_table_properties_nic_receive_rdma;
602602
603603 struct mlx5_ifc_flow_table_prop_layout_bits flow_table_properties_nic_receive_sniffer;
604604

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t