Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752347AbdHNC4v (ORCPT ); Sun, 13 Aug 2017 22:56:51 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:50162 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752111AbdHNC4u (ORCPT ); Sun, 13 Aug 2017 22:56:50 -0400 Date: Sun, 13 Aug 2017 19:56:49 -0700 (PDT) Message-Id: <20170813.195649.1320361489777509765.davem@davemloft.net> To: jasowang@redhat.com Cc: mst@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kubakici@wp.pl Subject: Re: [PATCH net-next V2 0/3] XDP support for tap From: David Miller In-Reply-To: <1502451678-17358-1-git-send-email-jasowang@redhat.com> References: <1502451678-17358-1-git-send-email-jasowang@redhat.com> X-Mailer: Mew version 6.7 on Emacs 25.2 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Sun, 13 Aug 2017 19:56:50 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 746 Lines: 25 From: Jason Wang Date: Fri, 11 Aug 2017 19:41:15 +0800 > Hi all: > > This series tries to implement XDP support for tap. Two path were > implemented: > > - fast path: small & non-gso packet, For performance reason we do it > at page level and use build_skb() to create skb if necessary. > - slow path: big or gso packet, we don't want to lose the capability > compared to generic XDP, so we export some generic xdp helpers and > do it after skb was created. > > xdp1 shows about 41% improvement, xdp_redirect shows about 60% > improvement. > > Changes from V1: > - fix the race between xdp set and free > - don't hold extra refcount > - add XDP_REDIRECT support > > Please review. Series applied, thanks Jason.