diff options
author | Maor Gottlieb <maorg@mellanox.com> | 2016-06-17 14:14:50 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-06-23 17:02:45 +0200 |
commit | 4c2aae712cb024f9d30a1fa62e3ba2ff785c6a3e (patch) | |
tree | 9625fa34170f14f9f9234938fa83165dd2f59b0a /include/uapi/rdma/ib_user_verbs.h | |
parent | IB/mlx5: Reset flow support for IB kernel ULPs (diff) | |
download | linux-4c2aae712cb024f9d30a1fa62e3ba2ff785c6a3e.tar.xz linux-4c2aae712cb024f9d30a1fa62e3ba2ff785c6a3e.zip |
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/rdma/ib_user_verbs.h')
-rw-r--r-- | include/uapi/rdma/ib_user_verbs.h | 18 |
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 { struct ib_uverbs_flow_tcp_udp_filter mask; }; +struct ib_uverbs_flow_ipv6_filter { + __u8 src_ip[16]; + __u8 dst_ip[16]; +}; + +struct ib_uverbs_flow_spec_ipv6 { + union { + struct ib_uverbs_flow_spec_hdr hdr; + struct { + __u32 type; + __u16 size; + __u16 reserved; + }; + }; + struct ib_uverbs_flow_ipv6_filter val; + struct ib_uverbs_flow_ipv6_filter mask; +}; + struct ib_uverbs_flow_attr { __u32 type; __u16 size; |