On 12/4/21 00:06, Mike Pattrick wrote: > Currently ingress policing uses the basic classifier to apply traffic > control filters if hardware offload is not enabled, in which case it > uses matchall. This change changes the behavior to always use matchall, > and fall back onto basic if the kernel is built without matchall > support. > > The system tests are modified to allow either basic or matchall > classification on the ingestion filter, and to allow either 10000 or > 10240 packets for the packet burst filter. 10000 is accurate for kernel > 5.14 and the most recent iproute2, however, 10240 is left for > compatibility with older kernels. > > Signed-off-by: Mike Pattrick <m...@redhat.com> > Acked-by: Eelco Chaudron <echau...@redhat.com> > --- > lib/netdev-linux.c | 32 +++++++++++++++++++++----------- > tests/system-offloads-traffic.at | 20 +++++++++----------- > 2 files changed, 30 insertions(+), 22 deletions(-) >
Thanks, Mike and Eelco! I added a NEWS entry for this change and I also re-named a patch to better describe what is going on as the current name is a bit misleading. New name: "netdev-linux: Use matchall classifier for ingress policing." With that, applied. Best regards, Ilya Maximets. _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev