Re: [PATCH net-next] bpf, i40e: Report bpf_prog id during XDP_QUERY_PROG

2017-06-21 Thread Daniel Borkmann
On 06/21/2017 08:23 PM, Alexander Duyck wrote: On Wed, Jun 21, 2017 at 10:54 AM, John Fastabend wrote: On 06/21/2017 10:27 AM, Daniel Borkmann wrote: [...] drivers/net/ethernet/intel/i40e/i40e_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/intel/i40e/i40e_m

Re: [PATCH net-next] bpf, i40e: Report bpf_prog id during XDP_QUERY_PROG

2017-06-21 Thread Alexander Duyck
On Wed, Jun 21, 2017 at 10:54 AM, John Fastabend wrote: > On 06/21/2017 10:27 AM, Daniel Borkmann wrote: >> Fill the bpf_prog with the id just like we do in other XDP enabled >> drivers. >> >> Signed-off-by: Daniel Borkmann >> Cc: Martin KaFai Lau >> Cc: Alexander Duyck >> --- >> drivers/net/e

Re: [PATCH net-next] bpf, i40e: Report bpf_prog id during XDP_QUERY_PROG

2017-06-21 Thread John Fastabend
On 06/21/2017 10:27 AM, Daniel Borkmann wrote: > Fill the bpf_prog with the id just like we do in other XDP enabled > drivers. > > Signed-off-by: Daniel Borkmann > Cc: Martin KaFai Lau > Cc: Alexander Duyck > --- > drivers/net/ethernet/intel/i40e/i40e_main.c | 1 + > 1 file changed, 1 insertio

[PATCH net-next] bpf, i40e: Report bpf_prog id during XDP_QUERY_PROG

2017-06-21 Thread Daniel Borkmann
Fill the bpf_prog with the id just like we do in other XDP enabled drivers. Signed-off-by: Daniel Borkmann Cc: Martin KaFai Lau Cc: Alexander Duyck --- drivers/net/ethernet/intel/i40e/i40e_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b