Re: [PATCH bpf-next 1/3] xdp: Add bulk XDP_TX queue

2019-05-23 Thread Toke Høiland-Jørgensen
Toshiaki Makita writes: > On 2019/05/23 20:11, Toke Høiland-Jørgensen wrote: >> Toshiaki Makita writes: >> >>> XDP_TX is similar to XDP_REDIRECT as it essentially redirects packets to >>> the device itself. XDP_REDIRECT has bulk transmit mechanism to avoid the >>> heavy cost of indirect call bu

Re: [PATCH bpf-next 1/3] xdp: Add bulk XDP_TX queue

2019-05-23 Thread Toshiaki Makita
On 2019/05/23 20:11, Toke Høiland-Jørgensen wrote: > Toshiaki Makita writes: > >> XDP_TX is similar to XDP_REDIRECT as it essentially redirects packets to >> the device itself. XDP_REDIRECT has bulk transmit mechanism to avoid the >> heavy cost of indirect call but it also reduces lock acquisitio

Re: [PATCH bpf-next 1/3] xdp: Add bulk XDP_TX queue

2019-05-23 Thread Toke Høiland-Jørgensen
Toshiaki Makita writes: > XDP_TX is similar to XDP_REDIRECT as it essentially redirects packets to > the device itself. XDP_REDIRECT has bulk transmit mechanism to avoid the > heavy cost of indirect call but it also reduces lock acquisition on the > destination device that needs locks like veth a

[PATCH bpf-next 1/3] xdp: Add bulk XDP_TX queue

2019-05-23 Thread Toshiaki Makita
XDP_TX is similar to XDP_REDIRECT as it essentially redirects packets to the device itself. XDP_REDIRECT has bulk transmit mechanism to avoid the heavy cost of indirect call but it also reduces lock acquisition on the destination device that needs locks like veth and tun. XDP_TX does not use indir