History

IB/core: Add IPv6 support to flow steering

Add IPv6 flow specification support.

Maor Gottlieb committed 10 years ago

Commit 4c2aae71 parent 89ea94a4 files · +42 −0Browse files

Showing the changes to include/uapi (1 of 4 files). Show all

Unified · Split

include/uapi/rdma/ib_user_verbs.h+18−0
@@ -867,6 +867,24 @@ struct ib_uverbs_flow_spec_tcp_udp { · 866 unmodified lines
867867 struct ib_uverbs_flow_tcp_udp_filter mask;
868868 };
869869
870+struct ib_uverbs_flow_ipv6_filter {
871+ __u8 src_ip[16];
872+ __u8 dst_ip[16];
873+};
874+
875+struct 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+
870888 struct ib_uverbs_flow_attr {
871889 __u32 type;
872890 __u16 size;

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