Message ID | 20190206224347.17054-3-manishc@marvell.com |
---|---|
State | Accepted |
Delegated to: | David Miller |
Headers | show
Return-Path: <netdev-owner@vger.kernel.org> 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=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=marvell.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 43vxPZ4kcCz9sLw for <patchwork-incoming-netdev@ozlabs.org>; Thu, 7 Feb 2019 09:46:10 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726642AbfBFWqJ (ORCPT <rfc822;patchwork-incoming-netdev@ozlabs.org>); Wed, 6 Feb 2019 17:46:09 -0500 Received: from mail-eopbgr740040.outbound.protection.outlook.com ([40.107.74.40]:38448 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726448AbfBFWqI (ORCPT <rfc822;netdev@vger.kernel.org>); Wed, 6 Feb 2019 17:46:08 -0500 Received: from BYAPR07CA0045.namprd07.prod.outlook.com (2603:10b6:a03:60::22) by CY4PR07MB2904.namprd07.prod.outlook.com (2603:10b6:903:26::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1601.21; Wed, 6 Feb 2019 22:46:05 +0000 Received: from CO1NAM05FT038.eop-nam05.prod.protection.outlook.com (2a01:111:f400:7e50::201) by BYAPR07CA0045.outlook.office365.com (2603:10b6:a03:60::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1601.17 via Frontend Transport; Wed, 6 Feb 2019 22:46:05 +0000 Authentication-Results: spf=fail (sender IP is 199.233.58.38) smtp.mailfrom=marvell.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=fail action=none header.from=marvell.com; Received-SPF: Fail (protection.outlook.com: domain of marvell.com does not designate 199.233.58.38 as permitted sender) receiver=protection.outlook.com; client-ip=199.233.58.38; helo=CAEXCH02.caveonetworks.com; Received: from CAEXCH02.caveonetworks.com (199.233.58.38) by CO1NAM05FT038.mail.protection.outlook.com (10.152.96.151) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA) id 15.20.1580.2 via Frontend Transport; Wed, 6 Feb 2019 22:46:04 +0000 Received: from dut1171.mv.qlogic.com (10.112.88.18) by CAEXCH02.caveonetworks.com (10.67.98.110) with Microsoft SMTP Server (TLS) id 14.2.347.0; Wed, 6 Feb 2019 14:43:56 -0800 Received: from dut1171.mv.qlogic.com (localhost [127.0.0.1]) by dut1171.mv.qlogic.com (8.14.7/8.14.7) with ESMTP id x16MhtZf017099; Wed, 6 Feb 2019 14:43:55 -0800 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id x16Mhtf9017098; Wed, 6 Feb 2019 14:43:55 -0800 From: Manish Chopra <manishc@marvell.com> To: <davem@davemloft.net> CC: <netdev@vger.kernel.org>, <aelior@marvell.com>, <mkalderon@marvell.com>, Sudarsana Reddy Kalluru <skalluru@marvell.com> Subject: [PATCH net 2/6] qed: Assign UFP TC value to vlan priority in UFP mode. Date: Wed, 6 Feb 2019 14:43:43 -0800 Message-ID: <20190206224347.17054-3-manishc@marvell.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20190206224347.17054-1-manishc@marvell.com> References: <20190206224347.17054-1-manishc@marvell.com> MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-Matching-Connectors: 131939667651866166; (abac79dc-c90b-41ba-8033-08d666125e47); (abac79dc-c90b-41ba-8033-08d666125e47) X-Forefront-Antispam-Report: CIP:199.233.58.38; IPV:CAL; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(346002)(39860400002)(136003)(396003)(376002)(2980300002)(1110001)(1109001)(339900001)(199004)(189003)(476003)(47776003)(2906002)(305945005)(2616005)(4326008)(11346002)(446003)(6862004)(336012)(486006)(53936002)(14444005)(26826003)(498600001)(87636003)(1076003)(86362001)(26005)(42186006)(36756003)(16586007)(105606002)(85426001)(68736007)(2351001)(8676002)(356004)(36906005)(81166006)(81156014)(6666004)(316002)(48376002)(107886003)(8936002)(126002)(54906003)(76176011)(69596002)(50226002)(106466001)(97736004)(80596001)(51416003)(50466002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR07MB2904; H:CAEXCH02.caveonetworks.com; FPR:; SPF:Fail; LANG:en; PTR:InfoDomainNonexistent; A:1; MX:1; X-Microsoft-Exchange-Diagnostics: 1; CO1NAM05FT038; 1:BQ6Cd21QNk/DC9L/gBPJ3MXdUry3KH1uwRhcHcT0Vi9kYFzoV/kSbl5WGXjQjWU8kJWUiBtg2QXSHnJ5hCLXU0CTDtFGnTxyeX0fyDObfWW+BAwMJkJ4LY7DficlBL26kIEzMdKhVBP3fsZNiuyo+Q== X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8804c6ad-0957-41be-e02a-08d68c84e0a2 X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(5600110)(711020)(4605077)(2017052603328); SRVR:CY4PR07MB2904; X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB2904; 3:1VG0RYkpr8rIh5Oft+fSsJiAmczbfROa8g7e0rdfeY1NcSej3vLWTJFqJAbPmSwiTZiBwS3Ek4bNN2ejDyGYNyLa6WRj0liS/Z0t6SVgMZdbgk02IT4Ji0IcQuzBaeLUMEDml/O3tvUoakQDh7pcowlPkmLNruAI0I9XzJcpY8qoQsJD+KQA/ARb2EuHzKqb29z+QxjAj42DKWg0xh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zUoMZzpN8wf/YbZEbN3FjiOLUAnk31/HAFhWHwBiFII593XWpNmiYTfqPOtxStTLKx8XH0J X-Microsoft-Antispam-PRVS: <CY4PR07MB290498E5BD63363C6888193BAB6F0@CY4PR07MB2904.namprd07.prod.outlook.com> X-Forefront-PRVS: 0940A19703 X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB2904; 23:gHNgEtwiJQxojf5B10SuBcJCsnrrIlQmSA9NKmvwxIVctkPOP4Cl/KPlUih33oI7W2ImRbRHT6gMmwoixomLprPdPkM4oqC6nFM7RXdscodG8S2oym1r5UKqKWY9HOYKvqtoRRPgYnOghz+XGmraW858wulSwAe07pmwJTpI5bCvT7RzbLswsjq1rpTFnqD1x4UD0UGTut2Oq7rW3yk1G2m4E053DPjAwhIgyo5yGy98AQGBX53omLT+ghs2RW1LGqkPHwDa+S+YItsY/ICQF3byv+0Wh1ZILZM2WalqJ6dcUMYxiH2s6dqUvdlwhoVfu1MNp1P1/h9v2JtuLv1bqbTAjYo3IpICMAXRtr4NVe08yOvIg4jjJbxA9CucAwh9R+xo97OGEwl9t9Itq2dREp3L7A2NHggJ8ainHfpCSL2+5+tndmP6NLuLrgIfXVYtWNocN9OMzKfO3ViXBoqpwVDYflijZcF/ITbgtBzBZvz3ouTPBzH7oM1HUq9kn/3IoiZR2J/4yJE1MSVDhKa21AlkTiUmispS+fHRX6tW9WjuolLNodceWoA9eU5aBrHabkjliEIFl+XFE28T2Lq22fenzO3wr2TuthlJ0eVAcua3jxfS0yhWONns3bFOv9F+e8tCnMaZl5eCV6uRy0HAKsSP608ifcVph3gzYeWdFE+fXSGaQs7t6qV//uZXjqsT/l2fN2W2ZkCLW+6ZT83JE5u1kdaCVE8OTWx6YnysAtA9sNgX6HFG89HITkrPRRqhwjELLFseHsVsAnxC62+obfcBgONnQ+ZkYOKMlBXHRbh+lo2NJ7Hojn6JNzSrGimGSFrxkFwWcFTSDGGhfTwOU/TfDCuNXBmPm1YUumnRtkX9rQv7J1mPCNp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HvD8ToTniK2A/HJvrIpwOTZYU8GFfPYle9uYszz2egF5rDciu/8PT1Q5+9ZBCY5kDavYFRlVbbHeyTfjEu5htENCLUtaxkEcio67OjXx6xoocWRxzMTzKiGeq6u7Y9QyjJYJWhXOy3yYJ6YAhTc04tPN9XHVZf09GAQD3Ifw4VE0bGoQ5+YyU5Mixq5QmTsjzrDHbqHkPM64Jg4mVdSunR5FPudBLwxHbjfKkc6We5KsDwcbo7ySgz1vriRIaz4UnooTtr2e/sju7w==; 5:hGUHB2Ypg3MUcPL5J9bG3yeeQpAUZpyrQauZD64uXfD+oFpOg6FDjS5JJgri1cIAWLEaDc5roig6oh3KXzV74d6qN8Z+LbMDmO8Q/WwlNVNAYjsXxNhu3kHUi2USWefId/FAuw1a3YidbniIaukrk7ytHsslpdkOcB10KuE0YUQspm/jmWPDy/fDRAjRelbmBk2h6Swak6TjSI71JoxQvw==; 7:OYemXrVd0D1Mm/IqJsft+H45Pr71M752QNRNyytRoiupHsi4YnAocRR6X7Dd93TEtgjJzVIcmxGuM4eBPKRV98WaVuantD7txLMTl0ZvK12AsmVPjm/95oa9LBobpuHHFuhEm10oXn0Tx35ckosr0g== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Feb 2019 22:46:04.9254 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8804c6ad-0957-41be-e02a-08d68c84e0a2 X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[199.233.58.38]; Helo=[CAEXCH02.caveonetworks.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR07MB2904 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: <netdev.vger.kernel.org> X-Mailing-List: netdev@vger.kernel.org |
Series |
qed*: Bug fixes.
|
expand
|
diff --git a/drivers/net/ethernet/qlogic/qed/qed_sp_commands.c b/drivers/net/ethernet/qlogic/qed/qed_sp_commands.c index 888274f..5a495fd 100644 --- a/drivers/net/ethernet/qlogic/qed/qed_sp_commands.c +++ b/drivers/net/ethernet/qlogic/qed/qed_sp_commands.c @@ -604,6 +604,9 @@ int qed_sp_pf_update_stag(struct qed_hwfn *p_hwfn) p_ent->ramrod.pf_update.update_mf_vlan_flag = true; p_ent->ramrod.pf_update.mf_vlan = cpu_to_le16(p_hwfn->hw_info.ovlan); + if (test_bit(QED_MF_UFP_SPECIFIC, &p_hwfn->cdev->mf_bits)) + p_ent->ramrod.pf_update.mf_vlan |= + cpu_to_le16(((u16)p_hwfn->ufp_info.tc << 13)); return qed_spq_post(p_hwfn, p_ent, NULL); }