Re: [RFCv2 02/16] net: cls_bpf: add hardware offload

2016-08-29 Thread Daniel Borkmann
On 08/26/2016 08:06 PM, Jakub Kicinski wrote: This patch adds hardware offload capability to cls_bpf classifier, similar to what have been done with U32 and flower. Signed-off-by: Jakub Kicinski Acked-by: Daniel Borkmann [...] diff --git a/include/net/pkt_cls.h b/include/net/pkt_cls.h inde

[RFCv2 02/16] net: cls_bpf: add hardware offload

2016-08-26 Thread Jakub Kicinski
This patch adds hardware offload capability to cls_bpf classifier, similar to what have been done with U32 and flower. Signed-off-by: Jakub Kicinski --- v2: - drop unnecessary WARN_ON; - reformat error handling a bit. --- include/linux/netdevice.h | 2 ++ include/net/pkt_cls.h | 14 ++