Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1585551

Re: [PATCH net-next] virtio-net: switch to use build_skb() for small buffer

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH net-next] virtio-net: switch to use build_skb() for small buffer
Date 2017-02-21 18:30 +0100
Message-ID <tdmqe-5F2-15@gated-at.bofh.it> (permalink)
References <tdeiZ-6w-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Jason Wang <jasowang@redhat.com>
Date: Tue, 21 Feb 2017 16:46:28 +0800

> This patch switch to use build_skb() for small buffer which can have
> better performance for both TCP and XDP (since we can work at page
> before skb creation). It also remove lots of XDP codes since both
> mergeable and small buffer use page frag during refill now.
> 
>                        Before   | After
> XDP_DROP(xdp1) 64B  :  11.1Mpps | 14.4Mpps
> 
> Tested with xdp1/xdp2/xdp_ip_tx_tunnel and netperf.
> 
> Signed-off-by: Jason Wang <jasowang@redhat.com>

Applied.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH net-next] virtio-net: switch to use build_skb() for small buffer Jason Wang <jasowang@redhat.com> - 2017-02-21 09:50 +0100
  Re: [PATCH net-next] virtio-net: switch to use build_skb() for small  buffer "Michael S. Tsirkin" <mst@redhat.com> - 2017-02-21 15:40 +0100
    Re: [PATCH net-next] virtio-net: switch to use build_skb() for small  buffer Jason Wang <jasowang@redhat.com> - 2017-02-22 04:00 +0100
      Re: [PATCH net-next] virtio-net: switch to use build_skb() for small  buffer "Michael S. Tsirkin" <mst@redhat.com> - 2017-02-22 04:10 +0100
        Re: [PATCH net-next] virtio-net: switch to use build_skb() for small  buffer Jason Wang <jasowang@redhat.com> - 2017-02-22 04:20 +0100
          Re: [PATCH net-next] virtio-net: switch to use build_skb() for small  buffer Jason Wang <jasowang@redhat.com> - 2017-02-22 04:40 +0100
          Re: [PATCH net-next] virtio-net: switch to use build_skb() for small  buffer "Michael S. Tsirkin" <mst@redhat.com> - 2017-02-22 04:50 +0100
            Re: [PATCH net-next] virtio-net: switch to use build_skb() for small  buffer Jason Wang <jasowang@redhat.com> - 2017-02-22 11:40 +0100
  Re: [PATCH net-next] virtio-net: switch to use build_skb() for  small buffer David Miller <davem@davemloft.net> - 2017-02-21 18:30 +0100
  Re: [PATCH net-next] virtio-net: switch to use build_skb() for small  buffer John Fastabend <john.fastabend@gmail.com> - 2017-02-22 18:20 +0100
    Re: [PATCH net-next] virtio-net: switch to use build_skb() for small  buffer Jason Wang <jasowang@redhat.com> - 2017-02-23 03:50 +0100

csiph-web