Message ID | 20180831160913.325ee36b@xhacker.debian (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D5538920 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 31 Aug 2018 08:28:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BED0F2A817 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 31 Aug 2018 08:28:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ADDE72A82C; Fri, 31 Aug 2018 08:28:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 536472A817 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 31 Aug 2018 08:28:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=7C0UBhl+1vvWO47s403j6Sa5fArsTr2OJX66AQydY8s=; b=rvTPxMPlK+h+pa xwGagO1HPd1JMKVP2Idc2Qoh7Cfw9iI8/sel5NGV4XffJsp9i3BYEX7mxi7ldrEZCRvZErLJSrOmp zMHFO5coLJjHf+BLfq+o0Pp0m701NZvDY7Rjzv0/U0Uop1DacjDMKWFZqBD9xryDku6wGt1DnkmkI 7SAsP7X4NNFFvv5rKlPw9rMFeto74gMz2pA2hfKqVmssMjaTTFB+V68QFCxGppu/R4Z1M7IRN92BB PdxsbuGoZ2t9Z4nWO89DJ5RNZOAELlXdALpNXBRu15PXkzgkFSYa45xKk5qLiGZHp7iBzypjSMq5J Tkquk1FwxqOW5rwMYOpg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fvemp-0003Qb-Pv; Fri, 31 Aug 2018 08:28:11 +0000 Received: from mail-bn3nam01on0079.outbound.protection.outlook.com ([104.47.33.79] helo=NAM01-BN3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fveXf-0004R0-VH for linux-arm-kernel@lists.infradead.org; Fri, 31 Aug 2018 08:12:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Synaptics.onmicrosoft.com; s=selector1-synaptics-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8NzGt4NielWXWd5bk/EEev7uGYmuohMoKTtjY10MSxQ=; b=f61zT7FSuO6hGeUISd0tYZDm8ythcYaplw+Ok4wSIefZDUHQ6dGGxirYt1OTuH76ipalMcKpKUSdJbIEqROR9KfViHWvWJxmwPi7xEPpTWuRzjbv/tPd2T38Vmk81gMy1X8Cuv0XhASL2y7XROcTxomAvw1k9jRzjdoxsQqsPK8= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jisheng.Zhang@synaptics.com; Received: from xhacker.debian (124.74.246.114) by CY1PR0301MB1580.namprd03.prod.outlook.com (2a01:111:e400:529c::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1101.16; Fri, 31 Aug 2018 08:12:17 +0000 Date: Fri, 31 Aug 2018 16:09:13 +0800 From: Jisheng Zhang <Jisheng.Zhang@synaptics.com> To: <thomas.petazzoni@bootlin.com>, "David S. Miller" <davem@davemloft.net>, Andrew Lunn <andrew@lunn.ch>, Gregory CLEMENT <gregory.clement@bootlin.com> Subject: [PATCH net-next v2 1/3] net: mvneta: Don't check NETIF_F_GRO ourself Message-ID: <20180831160913.325ee36b@xhacker.debian> In-Reply-To: <20180831160810.2539ef4c@xhacker.debian> References: <20180831160810.2539ef4c@xhacker.debian> X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-Originating-IP: [124.74.246.114] X-ClientProxiedBy: TY2PR06CA0011.apcprd06.prod.outlook.com (2603:1096:404:42::23) To CY1PR0301MB1580.namprd03.prod.outlook.com (2a01:111:e400:529c::18) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 53a29e48-eedb-4f14-79aa-08d60f197886 X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:CY1PR0301MB1580; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB1580; 3:d0FiqA338xdkAvV70jqweho0pHy799siWYIffShpQPHb9qVA7ESmgJNFS0YDGpjrRVSetbWot3qtRVo0ejvwHmG7gBAxxpN5JEG4T5wTi6DwHu8tflPnoE1XeGoLrBXjflIognlTgQMRFMTX2F1Ffa/ewWO8jRnrYSCSoslypO0rMo74EtuGldG/jILENqEOIV4e5Sl/onsm46b6vgOEkO/femX9BkMdUfWq/ZF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gkdL9RON7yLocv+gUMlLDhjI01VC4faTr5IQ7R62AXkeujctgZDldPXsKO4XtE9cOME6gQguCzLMLrE9jFZ5ZkghBuwmGlqRclCURNbWTG0XG6DNjnwe1+o9; 4:CsofGURmWiRFaDyYFzsY5QNyn14XDhsnHQZ+nRmsEOAYNGlh+c/qsnd8k8igrG/vl0o9WZlWEvxWBGNtqKl5BQQWCfL3okg4m2V0lar7WQ3NHO/ms0biLz9nrV2IHSbIu650eoDCEj+b0w2oO4T/Sg0MsYKcgsFkwgVVzgaTpRLHAiSao89FvbZwuHw3iZjVtTAH2Q/S/ZqO8T7zCBFSE+noi2z2n1Yh9uaUjGBOTrKvqSLIFk5A7MOFFdwulDTrN75IlTw1+nXZIha/WUn2YQ== X-Microsoft-Antispam-PRVS: <CY1PR0301MB15805FFC18B317905305040CED0F0@CY1PR0301MB1580.namprd03.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(3002001)(3231311)(944501410)(52105095)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201708071742011)(7699016); SRVR:CY1PR0301MB1580; BCL:0; PCL:0; RULEID:; SRVR:CY1PR0301MB1580; X-Forefront-PRVS: 07817FCC2D X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(136003)(39860400002)(366004)(396003)(346002)(376002)(189003)(199004)(11346002)(8676002)(106356001)(105586002)(956004)(446003)(476003)(25786009)(2906002)(26005)(4326008)(305945005)(97736004)(186003)(68736007)(6506007)(50226002)(16526019)(386003)(8936002)(7736002)(7696005)(52116002)(76176011)(66066001)(33896004)(110136005)(1076002)(316002)(47776003)(72206003)(50466002)(478600001)(230700001)(5660300001)(6666003)(486006)(81166006)(81156014)(9686003)(23726003)(55016002)(86362001)(3846002)(6116002)(53936002)(39210200001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0301MB1580; H:xhacker.debian; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: synaptics.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0301MB1580; 23:DQm/37xw6ecjk5BlH9G77IA6ZNeBtTnuNe8fxZJ?= Y6YaJbuZ8xS5ZqZdehJIO3oDa3qmycpMz5yC4bc+OiHiO6Y74E1FWBVEgvUgq7c1M20rG3W/S6W85TWWCq0xENrQ0bTCx/vUfjr2uPCrviGCtKeExzZ9QMq/cF3DQ9fHqm4HM/W9j2O53rsEoG1VdN1zDjumWK1xTZ6Snk13xc7At/2A3QBbKXm3Qh7sOgPUUBFz1kOz70cvYtwMb3KVGu7SRpO5NfdIiUfwGf/4EoCj+1xQYlUjdTeAfuZ9C4fg5A7AXVIaZbjErMNQpK9YrqKkNXSsiV6xYolLxXT5FT29bGcY34vKbZMGSfPcPI1h5/vb0ULnMsVUrhMv21Bzjg9ZIgI3t3xBSUe7jpMhvzu0bMN4xNFWToP5DyuF0B6EfAcIpCZCPrmwPIse4ENOJiKkXJlBX/VwFI6COXG2ntfT8AG3TcvfYVLx1gXHVnwgvrJUz+kV1nGIXlWWI6FoWBfbdkCyLGZr3a+tlS1WkgzCOPWQNe10vs0wfpjWgPSRMX8Qqe+IuliDtKGds1lnLXI6PFrkaFiCMcwnX6YzScJ1GLzP3hCkZC0mDq7Cdc/JJrqvu26wLrQqghqMgJDHxZqgm8OmSQfh6nkKf+fsSSlDUMW3PC20tJqKHgzxX7jdzQm1vQPuCkiKvc+ihDbhdM+bBUUMozSLLkdMkDlZeA018BEMUAlDExXtcTHOV2/9BH65faAkI+26T9MtdeqGwdQXoT+WpaZaMDc+2B5wox/kz1bHl9pC/Biy8pwlqqlJTiRZBrccB6DRaCfK0o1D7aqfcCVw5CejGomzetW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qeSoz7T491IZTKqCTTbSopPYCf3abu0pKsP0WBIgWtzMfxoo32oK9UBMhVedX8B3smcL6xJkC7ReHzj2j2abW2xkPoX+i8dn+z3MiMBdusOlh3v3ERm3iNP0iqDfLh+JChCpBrdf9vegUmc0F8sg/7QEVRpZ/lnlqKaLpiBUQ4mDohBe04gf+Kck+ef6GqEJhL/sPV4Rq80q4Fn40MzZ6v1ZoO7+bYuQ==; 5:QMn+onaAS0ugz2M35Dh9imm1SNd5iw34jN7lwR5pJP30lPJsoibdEAgDht+FFZBhszT0Of6tXUI+cvui7FaR9/8vH8xh/9rrHatBeMHlBAt9WjBdrW3iFpG2pdJN7lS9KDfPwKR9EEjak8DQQsaE1ZOqlORiyw5DFw4hmHQ+q7k=; 7:w4R40LhYfo4kUbRVLJBVzoAAdJVPHUNLd8zc27GeoAOijH6IwVscv7dY6DCMFHeHFmKEw3L7uoZjY2YRuFnYVyE0c8KzgucB1n3MxLGv/0LeMojm7Nh0RKiNMOsJWKgZBAoivAAPjmuJNdsE5fTcJQ9u3/37a7fKHG5UYumSCaXfHqqGgysGRNGCGkOjGGnpqBGWUsGrXK4sDXHbgsD3b8hYJpZ09KlUsUmA0XlsVZthDFCoUjOMPMnuLBAOn5f/ SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: synaptics.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Aug 2018 08:12:17.1236 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 53a29e48-eedb-4f14-79aa-08d60f197886 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 335d1fbc-2124-4173-9863-17e7051a2a0e X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0301MB1580 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180831_011232_133177_6B72CEBF X-CRM114-Status: UNSURE ( 8.24 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
net: mvneta: some small improvements
|
expand
|
diff --git a/drivers/net/ethernet/marvell/mvneta.c b/drivers/net/ethernet/marvell/mvneta.c index bc80a678abc3..814aee92a1d3 100644 --- a/drivers/net/ethernet/marvell/mvneta.c +++ b/drivers/net/ethernet/marvell/mvneta.c @@ -2065,10 +2065,7 @@ static int mvneta_rx_swbm(struct napi_struct *napi, /* Linux processing */ rxq->skb->protocol = eth_type_trans(rxq->skb, dev); - if (dev->features & NETIF_F_GRO) - napi_gro_receive(napi, rxq->skb); - else - netif_receive_skb(rxq->skb); + napi_gro_receive(napi, rxq->skb); /* clean uncomplete skb pointer in queue */ rxq->skb = NULL;