Message ID | 20180327150736.10718-2-Vadim.Lomovtsev@caviumnetworks.com (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.web.codeaurora.org (Postfix) with ESMTP id 1789760353 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 27 Mar 2018 15:11:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F281429EC6 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 27 Mar 2018 15:11:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EC7AB2A012; Tue, 27 Mar 2018 15:11:00 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID 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 E37D129EC6 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 27 Mar 2018 15:10:27 +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:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=W5vAAZ/bHznZdPhdwaxmmoYtQH6W6gzBTneOMJovXBo=; b=sXA0PU92Nnxirt ChTEY+9wdDhODgX9yPNgAakxBn5Lf0JPUL/LqEZ+xkUWjd/77VhThh7zITqtb4KF93//9/AkCXhG5 VMG6aEVxXonnOXra9wHdOhb3j9JnyeaG42B2ipsnw5wJ2iPBkXMhvygmk9aoXYm6xfJkQFDsLF0yO 8rCkwdcmtIfJ8/rVbw5AL/qbpS16KsIrJD/kF7o4KtRaXWc3rm1uH+sADEMMCaYs3iDJpNSiMpFON Oaq+8riWyslt0W00rGbMQ/QulPtZ4sGGjsnxPM0FrEI/IK81fJX8ijMNSRBzr9gvCTpop91Nl1OeD 96amlMgpTDcn9Y2Z109A==; 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 1f0qEr-0004lV-CW; Tue, 27 Mar 2018 15:10:17 +0000 Received: from mail-sn1nam02on0045.outbound.protection.outlook.com ([104.47.36.45] helo=NAM02-SN1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1f0qCo-0001pP-0N for linux-arm-kernel@lists.infradead.org; Tue, 27 Mar 2018 15:08:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=0+Xu3/TV3fgPigasUjND3O6NTvy/Jhruv7JyiNzLaFo=; b=fn29NS8FFzcgoBRO5cbpM5Od7N9/NbcEjX3ZFbFuWL2gOttIbKwFUntZRjUkF0nyoIE/WaCExX3w7ZlzS7YM4Zk7uFhJhRzIzXlYw2/wqW82Ai/v3FIEq/UarSsjU/euTDEygiA0Q4yUX/blxAHFVMLGEOyQzbuuNd6HFjqdJmI= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Vadim.Lomovtsev@cavium.com; Received: from localhost.localdomain.com (50.233.148.156) by CY4PR07MB2998.namprd07.prod.outlook.com (2603:10b6:903:d0::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.609.10; Tue, 27 Mar 2018 15:07:47 +0000 From: Vadim Lomovtsev <Vadim.Lomovtsev@caviumnetworks.com> To: sgoutham@cavium.com, sunil.kovvuri@gmail.com, robert.richter@kernel.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/7] net: thunderx: move filter register related macro into proper place Date: Tue, 27 Mar 2018 08:07:30 -0700 Message-Id: <20180327150736.10718-2-Vadim.Lomovtsev@caviumnetworks.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180327150736.10718-1-Vadim.Lomovtsev@caviumnetworks.com> References: <20180327150736.10718-1-Vadim.Lomovtsev@caviumnetworks.com> MIME-Version: 1.0 X-Originating-IP: [50.233.148.156] X-ClientProxiedBy: DM5PR20CA0003.namprd20.prod.outlook.com (2603:10b6:3:93::13) To CY4PR07MB2998.namprd07.prod.outlook.com (2603:10b6:903:d0::12) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: fde7692e-b7ce-491c-4e21-08d593f48074 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(2017052603328)(7153060)(7193020); SRVR:CY4PR07MB2998; X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB2998; 3:sq/dx8ovucY6nl8s5Fcwhqu3nLQUywIClssL0v5fc9QM6YWK+LYQnTieSC86c4At6kFCLasjwlaF7qkVALyQ+kKw7frqVIL8skEOSHzYsHTq66URaIZOIiriI1iekwCyxBlgS2Iau98Chp1z9hVZAHAqHYVbD5Xdv4+qnqrqqo/HnPo9meI2mwbxvPCVDZXBiyKaswTtnftMuGI6LKbb2RSO19SCGfmS0VCewCETRvCUWswcLG6IYA8huAWyWBLW; 25:6wuFrhVkvqfcXAAqzn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YVoJz7jMg1GnaRgE6KXorksHmEdH6ApKfKDgahnjLLrlWhVDwDksV6v9YEqfSGxlNz7KvYUghkXVF9vYhB45VutAKym6A71W7DJhkrTyURk8j+aNgR6dJrG8qAIchS5xGBLocknxrPhnATYJGE7F9AlTjjX3UFFgbJAFshUqSS1wfzbqYkru6gk9G/De7JWvTOxGGU=; 4:hml9eA/9d2ZBEhkC9MhDuAJT63B4B4RWTOEA9tX/MhF5mQDS0SmkT33n4qqtwsMOnPqaYqS018iWx4viveXQthnyC9i8M8uwS48kYpvNByY39UJYXeXwwY4gBInd19P9eUeFDHC6mQtGiABhseQomVzz2TSyxx523VJ86TOf48Nh6/J/aBuZBoGcBBY01alNi2OPcEJwGS4wfvI+HwWL8V8OyR7LWP4xPCFvczUQGUzULbuS8dQhRVXdeAVotMa/ePjb4gkhmR3aiGm7zPcnrw== X-Microsoft-Antispam-PRVS: <CY4PR07MB299800602AE83C31A72FF1258AAC0@CY4PR07MB2998.namprd07.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(3002001)(10201501046)(3231221)(944501327)(52105095)(6041310)(20161123560045)(20161123558120)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(6072148)(201708071742011); SRVR:CY4PR07MB2998; BCL:0; PCL:0; RULEID:; SRVR:CY4PR07MB2998; X-Forefront-PRVS: 0624A2429E X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(346002)(366004)(39860400002)(396003)(39380400002)(376002)(189003)(199004)(446003)(2616005)(6116002)(478600001)(1076002)(107886003)(3846002)(6666003)(956004)(97736004)(39060400002)(50466002)(7736002)(53936002)(16526019)(66066001)(47776003)(26005)(486005)(486005)(6486002)(6512007)(316002)(305945005)(11346002)(105586002)(42882007)(6506007)(386003)(68736007)(59450400001)(69596002)(106356001)(72206003)(25786009)(2906002)(52116002)(53416004)(76176011)(81166006)(8676002)(36756003)(476003)(2870700001)(50226002)(4326008)(5660300001)(81156014)(23676004)(8936002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR07MB2998; H:localhost.localdomain.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTRQUjA3TUIyOTk4OzIzOmtDYlZQU2J3K2FsWkhrd3FNUTczdUNiUTIr?= =?utf-8?B?aWNwSGlLNzRESlNIeWowcExCdDNsTVM0WFRaZEE2Y09iQXNrbVdmb0t2cXhK?= =?utf-8?B?ZGtjRlkzYUJCbTkrbjk3RTRxbml5SlVNSEUrcFREOTI1S0NNbkpOQVUrbnBS?= =?utf-8?B?Z0lzSWZVTExDVVZwNFFscTVGeXNlSCtOODY3MTc5OVREc2FuVGQzNnBaZXU3?= =?utf-8?B?UGQyOUNHM3FPMG5tdU1Yczk1bUxqSkhoMEtsUUsxU0QzczFUNlFsdjZ5bjdF?= =?utf-8?B?MWN2NWRvTEFSbS9VemhIaERFK3BiTngzS3ZNZjJiN2ZuVVNZRGtvaEtHdFlp?= =?utf-8?B?S2RWcUoyRE1mTmt0UUxyU0VHZ2pJUExocGVuSUJGcjBiZEdweERoMGMveTBi?= =?utf-8?B?ZDlBNnJnOTAxaUZRR2NZNDVtendJNEtCTjZZVzkwL1Y3NUlnSDVDUmZSaS9S?= =?utf-8?B?dGdDREJxTUt2RTExZ0tlQW1LcURFK2VDaitGVUFHeU1OUmdFZWYzSGFvSEdp?= =?utf-8?B?NEZ6Q0lLT1BYc2ZmaEtrV0N4NFQzb0JqbXhOOTlyYjg4SnRXUzVCMWZZQ2Nv?= =?utf-8?B?czJQS0dFZ1BZdXl5eTZYVDdabW94bk9oemdoRzhzNkM0cWthM1pZRUFpcTVa?= =?utf-8?B?c2NWaDZiVmw1aVYvcmZwUDNL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S8hNqlU2UtARHYRaO1lqPUyXRokxMY3+IbB2pdzgnkNlKDao9TwgR3qp8G6Z3sFlkEPa2VqGCfujWpweR7j+LQvEzFj6r+kHk=; 24:dzaSuErekMjYUWNBXVWZJvWSucsnx8khAt1W50MZDoeJ0Y4T8sf9k9HbIOCHJt465FqWdiAQwqa5btsFLYSWn6IdOucCENKmIIl8ej2NhTc= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB2998; 7:2xPGzLiCReqvOMCPef3yEDO7GGQ0zIuR1+XtCYN12+/tx5c0NEKGzeHm0TU6T2gjHtw97i2T4eEQDdWO8nOhiPcR31KsWl/gHzjjA27FpafBKt0Fp3OJ43oo6rJsNPF9uat15HslWIMocDLM8Rb8YBQTQVkPXbY422kfymRYp8KHXKXHaeEtvHAKBQHcBWE1MietcfJYBryw3i21XtPFPLSOCgnHBrS/gZW844FC0SJXZ+CDPRO5Somls040y4j8 X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Mar 2018 15:07:47.2952 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fde7692e-b7ce-491c-4e21-08d593f48074 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR07MB2998 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180327_080810_129669_FBBB3295 X-CRM114-Status: UNSURE ( 9.05 ) 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: dnelson@redhat.com, Vadim Lomovtsev <Vadim.Lomovtsev@cavium.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 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 |
diff --git a/drivers/net/ethernet/cavium/thunder/thunder_bgx.c b/drivers/net/ethernet/cavium/thunder/thunder_bgx.c index 91d34ea40e2c..0dd211605eb1 100644 --- a/drivers/net/ethernet/cavium/thunder/thunder_bgx.c +++ b/drivers/net/ethernet/cavium/thunder/thunder_bgx.c @@ -24,6 +24,19 @@ #define DRV_NAME "thunder_bgx" #define DRV_VERSION "1.0" +/* RX_DMAC_CTL configuration */ +enum MCAST_MODE { + MCAST_MODE_REJECT = 0x0, + MCAST_MODE_ACCEPT = 0x1, + MCAST_MODE_CAM_FILTER = 0x2, + RSVD = 0x3 +}; + +#define BCAST_ACCEPT BIT(0) +#define CAM_ACCEPT BIT(3) +#define MCAST_MODE_MASK 0x3 +#define BGX_MCAST_MODE(x) (x << 1) + struct lmac { struct bgx *bgx; int dmac; diff --git a/drivers/net/ethernet/cavium/thunder/thunder_bgx.h b/drivers/net/ethernet/cavium/thunder/thunder_bgx.h index 5a7567d31138..52439da62c97 100644 --- a/drivers/net/ethernet/cavium/thunder/thunder_bgx.h +++ b/drivers/net/ethernet/cavium/thunder/thunder_bgx.h @@ -205,17 +205,6 @@ #define LMAC_INTR_LINK_UP BIT(0) #define LMAC_INTR_LINK_DOWN BIT(1) -/* RX_DMAC_CTL configuration*/ -enum MCAST_MODE { - MCAST_MODE_REJECT, - MCAST_MODE_ACCEPT, - MCAST_MODE_CAM_FILTER, - RSVD -}; - -#define BCAST_ACCEPT 1 -#define CAM_ACCEPT 1 - void octeon_mdiobus_force_mod_depencency(void); void bgx_lmac_rx_tx_enable(int node, int bgx_idx, int lmacid, bool enable); void bgx_add_dmac_addr(u64 dmac, int node, int bgx_idx, int lmac);