aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/udp.c
diff options
context:
space:
mode:
authorPaul Blakey <paulb@mellanox.com>2018-04-30 14:28:30 +0300
committerDavid S. Miller <davem@davemloft.net>2018-05-01 14:14:15 -0400
commit05cd271fd61a0bb64fc20c46c9c87b8272fb980c (patch)
tree4980aa913dc74d863b5bca843e6139030a188a23 /net/ipv4/udp.c
parentMerge branch 'sctp-unify-sctp_make_op_error_fixed-and-sctp_make_op_error_space' (diff)
downloadlinux-dev-05cd271fd61a0bb64fc20c46c9c87b8272fb980c.tar.xz
linux-dev-05cd271fd61a0bb64fc20c46c9c87b8272fb980c.zip
cls_flower: Support multiple masks per priority
Currently flower doesn't support inserting filters with different masks on a single priority, even if the actual flows (key + mask) inserted aren't overlapping, as with the use case of offloading openvswitch datapath flows. Instead one must go up one level, and assign different priorities for each mask, which will create a different flower instances. This patch opens flower to support more than one mask per priority, and a single flower instance. It does so by adding another hash table on top of the existing one which will store the different masks, and the filters that share it. The user is left with the responsibility of ensuring non overlapping flows, otherwise precedence is not guaranteed. Signed-off-by: Paul Blakey <paulb@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/udp.c')
0 files changed, 0 insertions, 0 deletions