On 2018年03月15日 21:32, Michael S. Tsirkin wrote:
On Thu, Mar 15, 2018 at 04:39:25PM +0800, Jason Wang wrote:
On 2018年03月14日 11:37, Michael S. Tsirkin wrote:
return NULL;
case XDP_TX:
- xdp_xmit = true;
- /* fa
On Thu, Mar 15, 2018 at 04:39:25PM +0800, Jason Wang wrote:
>
>
> On 2018年03月14日 11:37, Michael S. Tsirkin wrote:
> > > return NULL;
> > > case XDP_TX:
> > > - xdp_xmit = true;
> > > - /* fall through */
> > > +
On 2018年03月14日 11:37, Michael S. Tsirkin wrote:
return NULL;
case XDP_TX:
- xdp_xmit = true;
- /* fall through */
+ get_page(alloc_frag->page);
+ alloc_frag->offset +=
From: Jason Wang
Date: Wed, 14 Mar 2018 11:23:40 +0800
> Now we have ndo_xdp_xmit, switch to use it instead of the slow generic
> XDP TX routine. XDP_TX on TAP gets ~20% improvements from ~1.5Mpps to
> ~1.8Mpps on 2.60GHz Core(TM) i7-5600U.
>
> Signed-off-by: Jason Wang
Applied, thanks Jason.
On Wed, Mar 14, 2018 at 11:23:40AM +0800, Jason Wang wrote:
> Now we have ndo_xdp_xmit, switch to use it instead of the slow generic
> XDP TX routine. XDP_TX on TAP gets ~20% improvements from ~1.5Mpps to
> ~1.8Mpps on 2.60GHz Core(TM) i7-5600U.
>
> Signed-off-by: Jason Wang
Acked-by: Michael S.
Now we have ndo_xdp_xmit, switch to use it instead of the slow generic
XDP TX routine. XDP_TX on TAP gets ~20% improvements from ~1.5Mpps to
~1.8Mpps on 2.60GHz Core(TM) i7-5600U.
Signed-off-by: Jason Wang
---
drivers/net/tun.c | 19 ---
1 file changed, 8 insertions(+), 11 deleti
6 matches
Mail list logo