Re: [PATCH net-next] tuntap: Fallback to automq on TUNSETSTEERINGEBPF prog negative return

2019-09-23 Thread Matt Cover
On Sun, Sep 22, 2019 at 10:16 PM Jason Wang wrote: > > > On 2019/9/23 上午11:18, Matt Cover wrote: > > On Sun, Sep 22, 2019 at 7:34 PM Jason Wang wrote: > >> > >> On 2019/9/23 上午9:15, Matt Cover wrote: > >>> On Sun, Sep 22, 2019 at 5:51 PM Jason Wang

Re: [PATCH net-next] tuntap: Fallback to automq on TUNSETSTEERINGEBPF prog negative return

2019-09-22 Thread Matt Cover
On Sun, Sep 22, 2019 at 7:34 PM Jason Wang wrote: > > > On 2019/9/23 上午9:15, Matt Cover wrote: > > On Sun, Sep 22, 2019 at 5:51 PM Jason Wang wrote: > >> > >> On 2019/9/23 上午6:30, Matt Cover wrote: > >>> On Sun, Sep 22, 2019 at 1:36 PM Michael S.

Re: [PATCH net-next] tuntap: Fallback to automq on TUNSETSTEERINGEBPF prog negative return

2019-09-22 Thread Matt Cover
On Sun, Sep 22, 2019 at 7:32 PM Jason Wang wrote: > > > On 2019/9/23 上午9:20, Matt Cover wrote: > > On Sun, Sep 22, 2019 at 5:46 PM Jason Wang wrote: > >> > >> On 2019/9/23 上午1:43, Matt Cover wrote: > >>> On Sun, Sep 22, 2019 at 5:37 AM Michael S.

Re: [PATCH net-next] tuntap: Fallback to automq on TUNSETSTEERINGEBPF prog negative return

2019-09-22 Thread Matt Cover
On Sun, Sep 22, 2019 at 5:46 PM Jason Wang wrote: > > > On 2019/9/23 上午1:43, Matt Cover wrote: > > On Sun, Sep 22, 2019 at 5:37 AM Michael S. Tsirkin wrote: > >> On Fri, Sep 20, 2019 at 11:58:43AM -0700, Matthew Cover wrote: > >>> Treat a negative return fro

Re: [PATCH net-next] tuntap: Fallback to automq on TUNSETSTEERINGEBPF prog negative return

2019-09-22 Thread Matt Cover
On Sun, Sep 22, 2019 at 5:51 PM Jason Wang wrote: > > > On 2019/9/23 上午6:30, Matt Cover wrote: > > On Sun, Sep 22, 2019 at 1:36 PM Michael S. Tsirkin wrote: > >> On Sun, Sep 22, 2019 at 10:43:19AM -0700, Matt Cover wrote: > >>> On Sun, Sep 22, 2019 at 5:37

Re: [PATCH net-next] tuntap: Fallback to automq on TUNSETSTEERINGEBPF prog negative return

2019-09-22 Thread Matt Cover
On Sun, Sep 22, 2019 at 3:46 PM Matt Cover wrote: > > On Sun, Sep 22, 2019 at 3:30 PM Matt Cover wrote: > > > > On Sun, Sep 22, 2019 at 1:36 PM Michael S. Tsirkin wrote: > > > > > > On Sun, Sep 22, 2019 at 10:43:19AM -0700, Matt Cover wrote: > > >

Re: [PATCH net-next] tuntap: Fallback to automq on TUNSETSTEERINGEBPF prog negative return

2019-09-22 Thread Matt Cover
On Sun, Sep 22, 2019 at 3:30 PM Matt Cover wrote: > > On Sun, Sep 22, 2019 at 1:36 PM Michael S. Tsirkin wrote: > > > > On Sun, Sep 22, 2019 at 10:43:19AM -0700, Matt Cover wrote: > > > On Sun, Sep 22, 2019 at 5:37 AM Michael S. Tsirkin > > > wrote: > &

Re: [PATCH net-next] tuntap: Fallback to automq on TUNSETSTEERINGEBPF prog negative return

2019-09-22 Thread Matt Cover
On Sun, Sep 22, 2019 at 1:36 PM Michael S. Tsirkin wrote: > > On Sun, Sep 22, 2019 at 10:43:19AM -0700, Matt Cover wrote: > > On Sun, Sep 22, 2019 at 5:37 AM Michael S. Tsirkin wrote: > > > > > > On Fri, Sep 20, 2019 at 11:58:43AM -0700, Matthew Cover wrote: > &

Re: [PATCH net-next] tuntap: Fallback to automq on TUNSETSTEERINGEBPF prog negative return

2019-09-22 Thread Matt Cover
On Sun, Sep 22, 2019 at 5:37 AM Michael S. Tsirkin wrote: > > On Fri, Sep 20, 2019 at 11:58:43AM -0700, Matthew Cover wrote: > > Treat a negative return from a TUNSETSTEERINGEBPF bpf prog as a signal > > to fallback to tun_automq_select_queue() for tx queue selection. > > > > Compilation of this e

Re: [PATCH net-next] tuntap: Fallback to automq on TUNSETSTEERINGEBPF prog negative return

2019-09-20 Thread Matt Cover
On Fri, Sep 20, 2019 at 11:59 AM Matthew Cover wrote: > > Treat a negative return from a TUNSETSTEERINGEBPF bpf prog as a signal > to fallback to tun_automq_select_queue() for tx queue selection. > > Compilation of this exact patch was tested. > > For functional testing 3 additional printk()s were

Re: [RFC {net,iproute2}-next 0/2] Introduce an eBPF hookpoint for tx queue selection in the XPS (Transmit Packet Steering) code.

2019-09-19 Thread Matt Cover
On Thu, Sep 19, 2019 at 7:45 PM Matt Cover wrote: > > On Thu, Sep 19, 2019 at 6:42 PM Jason Wang wrote: > > > > > > On 2019/9/20 上午8:05, Matt Cover wrote: > > > On Thu, Sep 19, 2019 at 3:45 PM Matthew Cover > > > wrote: > > >> W

Re: [RFC {net,iproute2}-next 0/2] Introduce an eBPF hookpoint for tx queue selection in the XPS (Transmit Packet Steering) code.

2019-09-19 Thread Matt Cover
On Thu, Sep 19, 2019 at 6:42 PM Jason Wang wrote: > > > On 2019/9/20 上午8:05, Matt Cover wrote: > > On Thu, Sep 19, 2019 at 3:45 PM Matthew Cover wrote: > >> WORK IN PROGRESS: > >>* bpf program loading works! > >>* txq steering via bpf progra

Re: [RFC {net,iproute2}-next 0/2] Introduce an eBPF hookpoint for tx queue selection in the XPS (Transmit Packet Steering) code.

2019-09-19 Thread Matt Cover
On Thu, Sep 19, 2019 at 3:45 PM Matthew Cover wrote: > > WORK IN PROGRESS: > * bpf program loading works! > * txq steering via bpf program return code works! > * bpf program unloading not working. > * bpf program attached query not working. > > This patch set provides a bpf hookpoint with