Re: [PATCH bpf-next] nfp: bpf: allow source ptr type be map ptr in memcpy optimization

2018-06-27 Thread Daniel Borkmann
On 06/27/2018 04:48 AM, Jakub Kicinski wrote: > From: Jiong Wang > > Map read has been supported on NFP, this patch enables optimization > for memcpy from map to packet. > > This patch also fixed one latent bug which will cause copying from > unexpected address once memcpy for map pointer enable

[PATCH bpf-next] nfp: bpf: allow source ptr type be map ptr in memcpy optimization

2018-06-26 Thread Jakub Kicinski
From: Jiong Wang Map read has been supported on NFP, this patch enables optimization for memcpy from map to packet. This patch also fixed one latent bug which will cause copying from unexpected address once memcpy for map pointer enabled. The fixed code path was not exercised before. Reported-