From patchwork Tue Mar 26 15:53:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dean Nelson X-Patchwork-Id: 1065746 Return-Path: X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 44TFyy0yv9z9sSM for ; Wed, 27 Mar 2019 02:53:13 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731471AbfCZPxM (ORCPT ); Tue, 26 Mar 2019 11:53:12 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41134 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726266AbfCZPxM (ORCPT ); Tue, 26 Mar 2019 11:53:12 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 80EDF30BC648; Tue, 26 Mar 2019 15:53:12 +0000 (UTC) Received: from [192.168.1.100] (ovpn-116-169.phx2.redhat.com [10.3.116.169]) by smtp.corp.redhat.com (Postfix) with ESMTP id D923460141; Tue, 26 Mar 2019 15:53:11 +0000 (UTC) From: Dean Nelson To: Robert Richter , Sunil Goutham , David Miller Cc: netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Vadim Lomovtsev Message-Id: <155361559092.14454.4615730926574762068.email-sent-by-dnelson@cyan> Subject: [PATCH net v2 0/2] thunderx: fix receive buffer page recycling X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.46]); Tue, 26 Mar 2019 15:53:12 +0000 (UTC) Date: Tue, 26 Mar 2019 11:53:12 -0400 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org In attempting to optimize receive buffer page recycling for XDP, commit 773225388dae15e72790 ("net: thunderx: Optimize page recycling for XDP") inadvertently introduced two problems for the non-XDP case, that will be addressed by this patch series. Dean Nelson (2): thunderx: enable page recycling for non-XDP case thunderx: eliminate extra calls to put_page() for pages held for recycling drivers/net/ethernet/cavium/thunder/nicvf_queues.c | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-)