]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net/sched: remove block pointer from common offload structure
authorPieter Jansen van Vuuren <pieter.jansenvanvuuren@netronome.com>
Tue, 7 May 2019 00:24:21 +0000 (17:24 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 May 2019 19:23:40 +0000 (12:23 -0700)
commitd6787147e15dffa7b7f3116a5bc3cbe0670bd74f
tree6c87638d50d56add45a94827c7abadd4d94a1728
parent2e7ae67b5fbbe596cb3e06410970945f975a241a
net/sched: remove block pointer from common offload structure

Based on feedback from Jiri avoid carrying a pointer to the tcf_block
structure in the tc_cls_common_offload structure. Instead store
a flag in driver private data which indicates if offloads apply
to a shared block at block binding time.

Suggested-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Pieter Jansen van Vuuren <pieter.jansenvanvuuren@netronome.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/flower/main.h
drivers/net/ethernet/netronome/nfp/flower/offload.c
drivers/net/ethernet/netronome/nfp/flower/qos_conf.c
include/net/pkt_cls.h
net/sched/cls_bpf.c
net/sched/cls_flower.c
net/sched/cls_matchall.c
net/sched/cls_u32.c