On 6/5/24 22:23, Adrian Moreno wrote: > Use the newly added emit_sample to implement OpenFlow sample() actions > with local sampling configuration. > > Signed-off-by: Adrian Moreno <[email protected]> > --- > ofproto/ofproto-dpif-lsample.c | 17 ++++ > ofproto/ofproto-dpif-lsample.h | 6 ++ > ofproto/ofproto-dpif-xlate.c | 163 ++++++++++++++++++++++++--------- > ofproto/ofproto-dpif-xlate.h | 3 +- > ofproto/ofproto-dpif.c | 2 +- > 5 files changed, 144 insertions(+), 47 deletions(-)
Not a full review, just a note that this patch needs tests in ofproto-dpif.at that would check that we generate correct datapath flows. Best regards, Ilya Maximets. _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
