Re: [PATCH net-next 3/3] bpf: make xdp sample variable names more meaningful

2016-07-20 Thread Alexei Starovoitov
On Wed, Jul 20, 2016 at 05:22:35PM -0700, Brenden Blanco wrote: > The naming choice of index is not terribly descriptive, and dropcnt is > in fact incorrect for xdp2. Pick better names for these: ipproto and > rxcnt. > > Signed-off-by: Brenden Blanco Thanks! Acked-by:

[PATCH net-next 3/3] bpf: make xdp sample variable names more meaningful

2016-07-20 Thread Brenden Blanco
The naming choice of index is not terribly descriptive, and dropcnt is in fact incorrect for xdp2. Pick better names for these: ipproto and rxcnt. Signed-off-by: Brenden Blanco --- samples/bpf/xdp1_kern.c | 12 ++-- samples/bpf/xdp2_kern.c | 14 +++--- 2