Files
linux/drivers
Jiong Wang cf599f5031 nfp: bpf: relax prog rejection through max_pkt_offset
NFP is refusing to offload programs whenever the MTU is set to a value
larger than the max packet bytes that fits in NFP Cluster Target Memory
(CTM). However, a eBPF program doesn't always need to access the whole
packet data.

Verifier has always calculated maximum direct packet access (DPA) offset,
and kept it in max_pkt_offset inside prog auxiliar information. This patch
relax prog rejection based on max_pkt_offset.

Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Jiong Wang <jiong.wang@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2018-11-09 09:16:32 +01:00
..
2018-10-16 11:13:50 +02:00
2018-10-11 12:12:55 +02:00
2018-10-31 08:54:16 -07:00
2018-11-06 11:03:51 -08:00
2018-11-03 10:44:06 -07:00
2018-10-31 08:54:16 -07:00
2018-10-11 09:16:44 -07:00
2018-10-31 08:54:16 -07:00