Skip to content
Commit 5b33f488 authored by Amir Vadai's avatar Amir Vadai Committed by David S. Miller
Browse files

net/flower: Introduce hardware offload support



This patch is based on a patch made by John Fastabend.
It adds support for offloading cls_flower.
when NETIF_F_HW_TC is on:
  flags = 0       => Rule will be processed twice - by hardware, and if
                     still relevant, by software.
  flags = SKIP_HW => Rull will be processed by software only

If hardware fail/not capabale to apply the rule, operation will NOT
fail. Filter will be processed by SW only.

Acked-by: default avatarJiri Pirko <jiri@mellanox.com>
Suggested-by: default avatarJohn Fastabend <john.r.fastabend@intel.com>
Signed-off-by: default avatarAmir Vadai <amir@vadai.me>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 10f79037
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment