mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
IB/core: Add more fields to IPv6 flow specification
Add the following fields to IPv6 flow filter specification: 1. Traffic Class 2. Flow Label 3. Next Header 4. Hop Limit Signed-off-by: Maor Gottlieb <maorg@mellanox.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:
parent
989a3a8f91
commit
a72c6a2b0e
3 changed files with 15 additions and 2 deletions
|
|
@ -886,8 +886,13 @@ struct ib_uverbs_flow_spec_tcp_udp {
|
|||
};
|
||||
|
||||
struct ib_uverbs_flow_ipv6_filter {
|
||||
__u8 src_ip[16];
|
||||
__u8 dst_ip[16];
|
||||
__u8 src_ip[16];
|
||||
__u8 dst_ip[16];
|
||||
__be32 flow_label;
|
||||
__u8 next_hdr;
|
||||
__u8 traffic_class;
|
||||
__u8 hop_limit;
|
||||
__u8 reserved;
|
||||
};
|
||||
|
||||
struct ib_uverbs_flow_spec_ipv6 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue