Skip to content
Snippets Groups Projects
Commit aae0b82b authored by Adrian Moreno's avatar Adrian Moreno Committed by Jakub Kicinski
Browse files

net: openvswitch: add psample action


Add support for a new action: psample.

This action accepts a u32 group id and a variable-length cookie and uses
the psample multicast group to make the packet available for
observability.

The maximum length of the user-defined cookie is set to 16, same as
tc_cookie, to discourage using cookies that will not be offloadable.

Reviewed-by: default avatarMichal Kubiak <michal.kubiak@intel.com>
Reviewed-by: default avatarAaron Conole <aconole@redhat.com>
Reviewed-by: default avatarIlya Maximets <i.maximets@ovn.org>
Acked-by: default avatarEelco Chaudron <echaudro@redhat.com>
Signed-off-by: default avatarAdrian Moreno <amorenoz@redhat.com>
Link: https://patch.msgid.link/20240704085710.353845-6-amorenoz@redhat.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 7b1b2b60
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment