Message ID | 20180330115953.17154-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 4788F6055B for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 30 Mar 2018 12:07:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2B64E2A068 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 30 Mar 2018 12:07:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1FC8E2A21C; Fri, 30 Mar 2018 12:07:39 +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 080B92A068 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 30 Mar 2018 12:07:37 +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=J1nBEmwBbc/x/g h/OznpSpwj0reznodacRwRaQCpGDNn4BrFFWGtMP8jwHaRAhMQsaGVTjr8oCEM0AeQDw5IdAxhJrb zepSsucABhMNFX+owA8OfpQKUNzNodNHibLCiGNVY1USl+bqkXorHzvCSA1o/2aPL44uiSERnOca/ +6Jm5+Ly3mNVF78bVONgnYMMqcSh0Fl35YSE2ZY7KTd2tkJba44jBXt4CzYgWvmIgMvdTskuCv9I9 wjkbjR4oCRB1ZXf4NBhtqGhXJuNc/UABymBX4Z+wrBulvk9tSzKBwiM0fu/HrmFJqTjuRsTqsNAZg 7S7liPHhkYxjv6qmyqaw==; 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 1f1sob-0006nr-CW; Fri, 30 Mar 2018 12:07:29 +0000 Received: from mail-by2nam01on0081.outbound.protection.outlook.com ([104.47.34.81] helo=NAM01-BY2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1f1si7-0001YN-6d for linux-arm-kernel@lists.infradead.org; Fri, 30 Mar 2018 12:00:49 +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=cS/sg0NsuZnz7g43/1Ejm7vXSHOApSvNw2SALG9NtbnCqx56qqj8q3B9FmJvolM9OpVMCcfyu5ps+YM3qxhpsw6CyMeYBvfkB1OosniFD1ixWLJW6cVl9nlJkGWsTmo4kKLsCKZnWp6vXMvazEj9avlANOz+1bQ9vx0qRCMmETg= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Vadim.Lomovtsev@cavium.com; Received: from localhost.localdomain.com (50.233.148.156) by CY4PR07MB2997.namprd07.prod.outlook.com (2603:10b6:903:d0::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.609.10; Fri, 30 Mar 2018 12:00:20 +0000 From: Vadim Lomovtsev <Vadim.Lomovtsev@caviumnetworks.com> To: sgoutham@cavium.com, sunil.kovvuri@gmail.com, rric@kernel.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, davem@davemloft.net Subject: [PATCH v2 1/7] net: thunderx: move filter register related macro into proper place Date: Fri, 30 Mar 2018 04:59:47 -0700 Message-Id: <20180330115953.17154-2-Vadim.Lomovtsev@caviumnetworks.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180330115953.17154-1-Vadim.Lomovtsev@caviumnetworks.com> References: <20180327150736.10718-1-Vadim.Lomovtsev@caviumnetworks.com> <20180330115953.17154-1-Vadim.Lomovtsev@caviumnetworks.com> MIME-Version: 1.0 X-Originating-IP: [50.233.148.156] X-ClientProxiedBy: CO2PR04CA0006.namprd04.prod.outlook.com (2603:10b6:102:1::16) To CY4PR07MB2997.namprd07.prod.outlook.com (2603:10b6:903:d0::11) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e3da2e85-6800-44be-b58a-08d59635d023 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(2017052603328)(7153060)(7193020); SRVR:CY4PR07MB2997; X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB2997; 3:c2M8P1lhBuPgdTyyNWtqdb3kJqin17bdOjz8Bl1pf0F3SVJa1Q5dqckOFWy4I/p3LNMnQu1R6TTOYODJRu/ZRS2GO533d84O8Ym8IjGSxha3Z8ye+H01ckRzhGkeLKoAbvZyMzTqVzgXOs26MGerz3WPMu0kHr9WtozDrxOMyJeolB07SG68+XbaP8QcnMlvIbXDqw7Yyx93pDLTacO/0oXyNqr7r4kqXiOcPCE7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U+tS6zlK4ffXDe0hSkZrkbJqcDIbE9ms3nTXkMOHhvUq2L5faqzVFsuYYz3ntISG0ecJBDPokOyttsO5gT40dN09h/g0Z1KhQCxFV5lOfCeXQXC3eUFZPCORGwIOI/yZ5uq/etyc2I+SWVX34AVUWZ6H403h6Km9Kzm4Y6sSnERNeBlSusyN/ioAVZl5COdx4F3SKBgpaEkax8RSPeLNBxYMe39d8c=; 4:A58f9YoH1xRPpEfEls7XfLL71/ioMwfbSYMVZkcUK0LlCyWNAmLyVWymxVDOJ488aKa+TMwpm1AJI4EVJAcAQ5XiLKw22r7k1Dz/6awZSLat0DXTLW+LPiZe/iNwYeYoi1MCFbljz1cB3KkrfspHbCB0L4m7/Ci5Ng9VYw7emPaA/PRqeZaO0VFIodBGjq7JxSCWYhaNvs0Qm+II+fGAVvGwwlIH8i2FOiCbAsQSEFi0gq8xtPWkiM1qEd9KANjRUdqzOTJDrPNHp/tfF8LEMw== X-Microsoft-Antispam-PRVS: <CY4PR07MB2997E307633A53AFF2CAA2248AA10@CY4PR07MB2997.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)(10201501046)(3002001)(3231221)(944501327)(52105095)(6041310)(20161123558120)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(6072148)(201708071742011); SRVR:CY4PR07MB2997; BCL:0; PCL:0; RULEID:; SRVR:CY4PR07MB2997; X-Forefront-PRVS: 06274D1C43 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(396003)(376002)(39380400002)(346002)(366004)(39850400004)(189003)(199004)(3846002)(6116002)(1076002)(105586002)(81156014)(81166006)(8676002)(50466002)(53416004)(5660300001)(52116002)(97736004)(23676004)(6506007)(8936002)(59450400001)(76176011)(386003)(69596002)(2906002)(6486002)(6512007)(72206003)(39060400002)(6666003)(47776003)(316002)(7736002)(106356001)(486005)(486005)(476003)(107886003)(446003)(305945005)(53936002)(11346002)(2616005)(66066001)(16526019)(956004)(478600001)(68736007)(36756003)(50226002)(26005)(4326008)(2870700001)(42882007)(25786009); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR07MB2997; 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?MTtDWTRQUjA3TUIyOTk3OzIzOjUvUjdVcjF1UnVnRjU0azcyUDZ1VlpOb3R2?= =?utf-8?B?ZDdmSWdsUFlHeHcvM2llMEhQS1pvNFRRRHdwQmpoWlBlMU5ibTMrTnJJY2dQ?= =?utf-8?B?UmJKSUdjczI3Qm4rbHVUOFpkenpRb3NxZU9Ra0JWMFZCVnRVb1BoSFdYVEpS?= =?utf-8?B?RXBuTWt5R2hmLzFoeXN4WGlaZU9DNjljdXFTdmp1NzhJTzJ2R1NVNlNKNWZy?= =?utf-8?B?TFYrOURtRmFrT2lsT2RJTEIrZkNpV3dURlpsMVZqMlZxckFaWFRTcXYzM1px?= =?utf-8?B?ZkgwYTNmK3l1TmZLa3hnc0RLWjRsc0Z1ZFFlUndWaGc2MzI0SWhYUFFXalhV?= =?utf-8?B?Vksra2FLbDV0SWRwWnNuYm43dm5mMnFkaTlFeDBBQWhtMU1ZOHJFcnBhOXFF?= =?utf-8?B?djlpWUg5a3ZTRlhHOGV6ejUvdGk1endlWThLaWx1N1JyekZBWE44MnJpem02?= =?utf-8?B?UDhlWFBka21hN1JLZmpEWFhyNWRwbnNkVUJGaTZQbGFhZFBNQkhQQmIrSGRG?= =?utf-8?B?R2YrSG55bFM3bHA0cE8rR01zcFlOZTJ2M2F2SnVlQm5EUnpnSmJIQlJjRkwx?= =?utf-8?B?bXBKRHZPYzdUUC9nOTdybjJzUGROeHkzLzRDaFpDaDdZaTRmREx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oi3WiKkRqPvBTXG91oTOJa0nZekOJ9jR+9v0tejVKYiAAGh/rUmKSDFTVPttUTw8JVCHK2EWrqv4x8rd2OZXl/J9RtUSGGGVnT+BtG6dmIr7a6FAVFgmtWkeA64lTkFXg4Y=; 24:VmSfi56etO8Fh48lzekRV1acznLdouzotIPQ/T2YhYxaRI9QpThLKIL2gzpF/8CWBtFHWqWJXYjZ05qJEh0NzZESDKBW89nec3rVT8MqPQE= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB2997; 7:x+oDln04wiGZW4Eb7PwaD/XVSLoflX2nZmxqPgEqW28iOy6s/FvmUG5rbsNzEcN1ild3juBdF1fGLDFMvOXMDdxjCm6L5cNAwtvIqyJGAeYHzb/vveVyyj6hpEzzsLSAt8Gaze70B7O9gUVxoDrXq4ft18WRrkYA0QT3PVG8Uyx4r73Mf1yoVaSKTIR50qSxEFKaC9o2KUXjjZAgz44Ovm+881jsoZ101KHG+FNUFrUS5OBGcFJ72cs5LZJeojeY X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Mar 2018 12:00:20.6602 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e3da2e85-6800-44be-b58a-08d59635d023 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR07MB2997 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180330_050047_293378_1C4E1A6F X-CRM114-Status: UNSURE ( 8.27 ) 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, ynorov@caviumnetworks.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);