Re: [PATCH bpf-next v7] samples: bpf: add max_pckt_size option at xdp_adjust_tail

2019-10-07 Thread Daniel T. Lee
On Tue, Oct 8, 2019 at 12:24 PM Alexei Starovoitov wrote: > > On Mon, Oct 7, 2019 at 10:21 AM Daniel T. Lee wrote: > > > > Currently, at xdp_adjust_tail_kern.c, MAX_PCKT_SIZE is limited > > to 600. To make this size flexible, static global variable > > 'max_pcktsz' is added. > > > > By updating n

Re: [PATCH bpf-next v7] samples: bpf: add max_pckt_size option at xdp_adjust_tail

2019-10-07 Thread Alexei Starovoitov
On Mon, Oct 7, 2019 at 10:21 AM Daniel T. Lee wrote: > > Currently, at xdp_adjust_tail_kern.c, MAX_PCKT_SIZE is limited > to 600. To make this size flexible, static global variable > 'max_pcktsz' is added. > > By updating new packet size from the user space, xdp_adjust_tail_kern.o > will use this