Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp337641imm; Fri, 31 Aug 2018 01:41:14 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYif+BFWJ2iUgTudcOsYdaSanKnW6SJ6hfhUVO2JkfC78RXoE9Pgmy5AXEa4GPrmPQd2zhQ X-Received: by 2002:a63:560e:: with SMTP id k14-v6mr11648687pgb.189.1535704874294; Fri, 31 Aug 2018 01:41:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535704874; cv=none; d=google.com; s=arc-20160816; b=OjCKjWqY+W9n0xO6HdjLE+RHiiwKA7BnXSBqt9l22ksQexV/hmN8b+Q9tlPFitEtHA eZnNFw6CJNCiAA5SleHUXXoDQCWYF60xOP0H1soEaNvbM4U9h6sh8BVDku9pe+qJZsck haGavQHL9ESDG/OGH5bQpseIMszO+wavaJwuwlS2jpsi2YR1C/QpR/WOaRw2KNFr5pVo Hxr+UVhUq+WtLZ1zXUsLocrb1TKYTM7+iCn2tdeAQd0V0kHms+heUvcRK362aebdHPlH g0QpmMLIxSPBIDremDyQ5enWFvPEjQA4sBTU5xsG3667Ti97ujmSoU7UthvB13iL5VeH nE3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:content-transfer-encoding:mime-version :message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=GvOGfJpDKs+gi5Rq8WSXZkhdWUYFGnV8nsR6r+7oxRc=; b=t/Q4zhAQ6d4PkaBoM3W60yBRhnKU+cyRVHduFCscWfr0uo2/5dkqEXRXLMPdz/1I3n VeROmsQ9ewLgfItlHemdQyJdUghRS9fwe2jJKrDrmkkS7xALkqS738O2zdANral7hXip oGXp1vgNE20akQdsoT190PCbl+YZwf5Bpo7ojveZh32RS40jZSMkP6Sv4Y2Qq1s33FIC bEFZrR0iJ+efI7FJ0I55UvlOtsNqbxUmsF8z+RN+2RtTyCnblIOm1Y5SpAI+tLomixkP N5jYLBfkGo/b/FBr8x1GjtDR+YXu1rw5EL1rlPHh19xVrGBEnD7QJPn/0a9i9qiI2tN9 7sPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@Synaptics.onmicrosoft.com header.s=selector1-synaptics-com header.b=qw9CMlXR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a6-v6si8623702pgc.659.2018.08.31.01.40.59; Fri, 31 Aug 2018 01:41:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@Synaptics.onmicrosoft.com header.s=selector1-synaptics-com header.b=qw9CMlXR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727634AbeHaMRr (ORCPT + 99 others); Fri, 31 Aug 2018 08:17:47 -0400 Received: from mail-bn3nam01on0088.outbound.protection.outlook.com ([104.47.33.88]:34587 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727178AbeHaMRq (ORCPT ); Fri, 31 Aug 2018 08:17:46 -0400 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=GvOGfJpDKs+gi5Rq8WSXZkhdWUYFGnV8nsR6r+7oxRc=; b=qw9CMlXRYk7tpmrE7mr+yjL73EaAjQ+zi3s9+rXvDpHkAUwvs0te/cFwo4gxAri2Z5u/wiRImRD4LoZ2GUyt80RkUj4dTmnl9Vj/y+oulzcO4kCmcMz8oKo/D6j0Iewv3FHOQXys4MvwXwjKlooS8iYoLQwOMWJwqXI4Q4fEcLE= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jisheng.Zhang@synaptics.com; Received: from xhacker.debian (124.74.246.114) by BLUPR0301MB1571.namprd03.prod.outlook.com (2a01:111:e400:52a9::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1101.14; Fri, 31 Aug 2018 08:11:14 +0000 Date: Fri, 31 Aug 2018 16:08:10 +0800 From: Jisheng Zhang To: , "David S. Miller" , Andrew Lunn , Gregory CLEMENT Cc: netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next v2 0/3] net: mvneta: some small improvements Message-ID: <20180831160810.2539ef4c@xhacker.debian> X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Originating-IP: [124.74.246.114] X-ClientProxiedBy: KAXPR01CA0002.jpnprd01.prod.outlook.com (2603:1096:402:19::12) To BLUPR0301MB1571.namprd03.prod.outlook.com (2a01:111:e400:52a9::17) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 45b655b5-0d55-4d06-1d16-08d60f195376 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(2017052603328)(7153060)(7193020);SRVR:BLUPR0301MB1571; X-Microsoft-Exchange-Diagnostics: 1;BLUPR0301MB1571;3:qcuIxDMnmh6g40WWF7Wq7MG2I70xOacPYpBeHjawBQPCU/X7W4UFI51q9x97fPcdg4Mg8oEL7TKyVFlLohM9Pg+4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dEx9/WNRLuBZ6g5A4oEA4e8/k6Tgl+oW6UuOM54MlS7TEtFw4Rsm9tMKKWBOLSV4LI80tYiN+GSLglr3eSZH/1+S/FWLRVjG+71GzFgTuMSdAOLp97IL+H9jVsNzK8IR1lZNFkilvYUnoWV9KHptH4LjLxORndQEwn99YitJd97g/kFGg+SMB2apiPjQh99ASii91VOwHSinK2QT90h3U7kbKu77ombfZsCaVi+5+sRzUJrWc9WquXCAopmI06GeFrEoZtHnN7OFs;4:bcMqnoipVhlB3G3G3oHKceuMaEVMpoJYTGobt7YL6Cdt5RDyeL2kv3pK8r4oEiWpe+bbDRPDhqQISYognnhbh4Ou3W/e908jlJQ2VD0qM+rYiGNz6lMIOKenFfGf3IcxJxvoTp1Ml+QQDMWCGjggX8YnzCHjS/B0yRf3RYCe/JDIqvT3TKPmAf8DzAWj5UN0/MQUG87bAZXDv4TLLRvVB+4i5dGDN34aDLaQ7Iaz2LV2fwg9kzHR0lDdeqqI6Ag7I0AFl8JuunWw1gWbfszS8Q== X-Microsoft-Antispam-PRVS: 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)(10201501046)(93006095)(93001095)(3231311)(944501410)(52105095)(3002001)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123564045)(20161123558120)(20161123560045)(201708071742011)(7699016);SRVR:BLUPR0301MB1571;BCL:0;PCL:0;RULEID:;SRVR:BLUPR0301MB1571; X-Forefront-PRVS: 07817FCC2D X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(346002)(396003)(376002)(39860400002)(136003)(366004)(189003)(199004)(230700001)(50226002)(86362001)(1076002)(47776003)(81166006)(81156014)(23726003)(8936002)(3846002)(6116002)(50466002)(6666003)(2906002)(25786009)(72206003)(105586002)(6506007)(386003)(4326008)(106356001)(8676002)(5660300001)(53936002)(26005)(68736007)(97736004)(9686003)(16526019)(55016002)(305945005)(478600001)(7736002)(186003)(956004)(486006)(476003)(33896004)(110136005)(52116002)(7696005)(316002)(66066001)(39210200001);DIR:OUT;SFP:1101;SCL:1;SRVR:BLUPR0301MB1571;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;BLUPR0301MB1571;23:4BAKKoNahT4RYD3QIq3H3vDDjFKaDAuPCio3nyN?= =?us-ascii?Q?Zh3bcQKV3G7Eysm7hLsS+VB7m98clxNrJVPKeVM3QRFdCtkU2Kmhdms02+/J?= =?us-ascii?Q?CbtMBKc6Cf4eWmGXSNDRBMp/NmmWGpFOPKZ8KNbRLFpBwOdPBjSx+/CQf95F?= =?us-ascii?Q?1MqXBsHrOIO14xGV5OsgOc65xbJp08nz4IhQbotrID6NvW67FVcuP44ymZl2?= =?us-ascii?Q?4CL19LQBEwKaMos3IiVhRNMCREIA3JTdU2GsRLmV6qGz5KhjRfSEiLY/sWir?= =?us-ascii?Q?2zbNhmBOJ22o6/m0NCY9TWCg/CFk+pjF1yZZtR3BhFK/yizMGgNYRwHFGcMo?= =?us-ascii?Q?EmyM5h0nTfNVRUy5yy+LTS8Et1Yu0cbf95shHJOmOXM0QlIyhbazr5UotNUI?= =?us-ascii?Q?z2yAJl1B0CO6ygnV9tnV9eIuGZ2/LDqHtDA9T852srC05ES6V1ij+VeetRAW?= =?us-ascii?Q?vor5optGBrGQzIioSE7ZN05UTzfu0U2ABepQwt1vNS4YCKLsQm+1/Nt3uodL?= =?us-ascii?Q?D2uceZv8/QJo8nENnzg0knPyIu6uXlaB5s3QgZNRLIWopY4HHJdIP9cZ88sz?= =?us-ascii?Q?w1aUX0gMzaVcozeBxhAKgJzAPRoEHuyzf/VbHZtDZBMWmNdPnIKQy7XA/XQQ?= =?us-ascii?Q?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: 1;BLUPR0301MB1571;6:j6vIVBzYB0Pp6L622lknXoaiXTEht2X7gUDvxL3kZ9SS2CjeHwXt9DJ7KlKvHTbGpt0ORRsBLo3iNLFTnb+OX5Mv4aVqILsnj7pZOvXRQxPCoUMaHtq2WFs299JBLVC8UehAmmjBmCo+9YL8wse36rQN42YbIVtHMhftvQ6MLGNEf8//seZzgjCCKsa48RtkcwxDIIHFpG/0PH7WNYZtO47dGmVeRm2g1cCa4KXOJsNFuf/tucB6c+vLVlzm644Rc+GsE657zAaJ3obOCcn0zvXcHdPgUIcpDEOux+f+fnv+6iSYC8aY+DVktNC487V9zZXgEoNXyGp+jJ+AEjWga8W0+L6ZQT3oLsV/R0V/HZYjouvV+AcykxvJ64f3m0rCz3xNXufq0m3usgjWlcHpa42zDBy0t1yEg15sZhxRB9JChscL8HiuBfWRpBtHj7Y4gOjK1dlUx2VrxYoyqz6tuA==;5:Xnaf6lLqfzYy/g4PliGS6O/IS7DP8c4Sn8JobWqOdrp8GxLvxFTns75zqNd3oOVJqE4HO2ZoauSc6igzXGrBDnEvhH9pOt3FA/Dk3l4WIPmiSy/3qhgQ547xZ+n/wulWsdeSRDri8I4w92gow5vGQGuWLP38c8kPD8h7t01A6j0=;7:CZCn+fWCPRM8PEpoPQWUBjtOgOSKrqnwQyFJqbO6Z4lPbhMamOtnh67UPwkTooX4hJi0NDIPNRq7TfnK9mC/fvwvqXUo8s/TraYPxHQvoNYStH/0V6m0wxwrpiLAtzR6XBIt5bjNYwPN4qRYD4o+mHz79KJ6p0+DG4jBto7cJUArEdQqSrJ1N13swJxFCkglToq4P7JlHFkUZJJCKVF7LIPjEtaLeYqUbQ9Kiw8ev0JnOvKu8LD4xDAIuDGSnMro SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: synaptics.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Aug 2018 08:11:14.4132 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 45b655b5-0d55-4d06-1d16-08d60f195376 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 335d1fbc-2124-4173-9863-17e7051a2a0e X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0301MB1571 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org patch1 removes the NETIF_F_GRO check ourself, because the net subsystem will handle it for us. patch2 enables NETIF_F_RXCSUM by default, since the driver and HW supports the feature. patch3 is a small optimization, to reduce smp_processor_id() calling in mvneta_tx_done_gbe. since v1: - based on net-next tree - remove the fix patches, since they should be based on net branch. - Add Gregory's Reviewed-by tag Jisheng Zhang (3): net: mvneta: Don't check NETIF_F_GRO ourself net: mvneta: enable NETIF_F_RXCSUM by default net: mvneta: reduce smp_processor_id() calling in mvneta_tx_done_gbe drivers/net/ethernet/marvell/mvneta.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) -- 2.18.0