aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorMaor Gottlieb <maorg@mellanox.com>2016-06-17 08:14:50 -0400
committerDoug Ledford <dledford@redhat.com>2016-06-23 11:02:45 -0400
commit4c2aae712cb024f9d30a1fa62e3ba2ff785c6a3e (patch)
tree9625fa34170f14f9f9234938fa83165dd2f59b0a /include/uapi
parent89ea94a7b6c40eb423c144aef1caceebaff79c8d (diff)
IB/core: Add IPv6 support to flow steering
Add IPv6 flow specification support. Signed-off-by: Maor Gottlieb <maorg@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/rdma/ib_user_verbs.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/uapi/rdma/ib_user_verbs.h b/include/uapi/rdma/ib_user_verbs.h
index 2c8bca8cd2c2..7f035f4b53b0 100644
--- a/include/uapi/rdma/ib_user_verbs.h
+++ b/include/uapi/rdma/ib_user_verbs.h
@@ -867,6 +867,24 @@ struct ib_uverbs_flow_spec_tcp_udp {
867 struct ib_uverbs_flow_tcp_udp_filter mask; 867 struct ib_uverbs_flow_tcp_udp_filter mask;
868}; 868};
869 869
870struct ib_uverbs_flow_ipv6_filter {
871 __u8 src_ip[16];
872 __u8 dst_ip[16];
873};
874
875struct ib_uverbs_flow_spec_ipv6 {
876 union {
877 struct ib_uverbs_flow_spec_hdr hdr;
878 struct {
879 __u32 type;
880 __u16 size;
881 __u16 reserved;
882 };
883 };
884 struct ib_uverbs_flow_ipv6_filter val;
885 struct ib_uverbs_flow_ipv6_filter mask;
886};
887
870struct ib_uverbs_flow_attr { 888struct ib_uverbs_flow_attr {
871 __u32 type; 889 __u32 type;
872 __u16 size; 890 __u16 size;