From patchwork Thu May 6 12:26:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liming Sun X-Patchwork-Id: 1474944 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=Nvidia.com header.i=@Nvidia.com header.a=rsa-sha256 header.s=selector2 header.b=bygjGH0g; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FbXrv4dfyz9sWk; Thu, 6 May 2021 22:27:11 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1led5x-0004kI-1T; Thu, 06 May 2021 12:27:09 +0000 Received: from mail-mw2nam10on2043.outbound.protection.outlook.com ([40.107.94.43] helo=NAM10-MW2-obe.outbound.protection.outlook.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1led5u-0004iL-Ov for kernel-team@lists.ubuntu.com; Thu, 06 May 2021 12:27:06 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YZwZ+B6F3VbfjgP1ZaSeNgn/xbsa/CxUjPAKfq9Lneq8+ku29kj2FfK17v/4jXCTOB7VcboaKQmw8nwBU5Ljv5SBTmWnWHHIUFByuW3XpOkccGSkPWYg+fa02fYiPtonXiUG2uwIzMoJaq1cG2H5ctLNvgg90Fk8mTJBpn1zkZGOCtgXFCrk9JQSx2xLnvDzi5q1ucwvolr0xyScVAymLr2xiAqNiuPmHtr6BppxAv1RRuJEYH+P2a+gGaDm4RP57qtTd2W8KnSnX0thpYbat5fkOCRz11SVsvryLMJrGKbCBrloXFAJcsuCurlpHhh18WjJy1IBkWqFwv/2sIb6Fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1yKbMoKDZP5HNaBIyZRunbNXDolevGPG2qCv9/l0OaY=; b=CuwbCCoXi0YlEkKrkzTCQXMzSf5LsMUuept5847VlX3j9pJQRdWkvTxGr8pAmQ57+lYChYSETCwEpqjjw2tTU8nXKiTD9S0s4l48hLbAV3R4AGaLLys6viGmq+CVgzMKxVLmlFmPo3AgweSyAMhaE4MouUDyOSXB4f9vnBltuOkGlionNu9N3Mnf32IfO1yx7Lk3WUqeg28iKGQzAwvv83c22Lx/EEzEVN7om2D9GAEKuuf3n1P6u7zJTKNyrRzgQXJAfye0kQZSzlDU7o+zIZH73cKSDKHdosIEhoH3hFOj+tZSwCuH8AWVf2nJgo8wDOeDomu/0HxV7b9CLL5/4A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.32) smtp.rcpttodomain=lists.ubuntu.com smtp.mailfrom=nvidia.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1yKbMoKDZP5HNaBIyZRunbNXDolevGPG2qCv9/l0OaY=; b=bygjGH0gg/Q+YIsAEehP/MiVpuQ16sBgW6sYCVOOIkZfRhY6qSKFXPPRHNtV5Btk3fh0SSKz6PXhy9mqVmty2mG/gSwImxNP7uzviqLB0GjFpbFpWd9yGQTH0vgweZeWiUAN6wjD+/g3JJfD2ynpgs5fgV6iOZuWkhkDEBtA8NLb2+0o87NA2ZvAcsZXWrl4aHS9kVknshqv6xshvR7SFyHQsjxN0ZV+HDs5zxmqw2JyV+x3RrmnCCXoY8l2Dm21Xb8TYJ5easaqTn+9kzLOg1WdU0cD4WPoSOWpfW+clmjtv7hA2M1YtYSHoDVrn75t5t0KIqvY9LQSu6u978vWTA== Received: from DM5PR22CA0014.namprd22.prod.outlook.com (2603:10b6:3:101::24) by BYAPR12MB3413.namprd12.prod.outlook.com (2603:10b6:a03:ab::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.24; Thu, 6 May 2021 12:27:03 +0000 Received: from DM6NAM11FT058.eop-nam11.prod.protection.outlook.com (2603:10b6:3:101:cafe::21) by DM5PR22CA0014.outlook.office365.com (2603:10b6:3:101::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.25 via Frontend Transport; Thu, 6 May 2021 12:27:03 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.32) smtp.mailfrom=nvidia.com; lists.ubuntu.com; dkim=none (message not signed) header.d=none;lists.ubuntu.com; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.32 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.32; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.32) by DM6NAM11FT058.mail.protection.outlook.com (10.13.172.216) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4108.25 via Frontend Transport; Thu, 6 May 2021 12:27:03 +0000 Received: from HQMAIL105.nvidia.com (172.20.187.12) by HQMAIL109.nvidia.com (172.20.187.15) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 6 May 2021 05:27:02 -0700 Received: from HQMAIL107.nvidia.com (172.20.187.13) by HQMAIL105.nvidia.com (172.20.187.12) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 6 May 2021 12:27:01 +0000 Received: from vdi.nvidia.com (172.20.145.6) by mail.nvidia.com (172.20.187.13) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 6 May 2021 12:27:01 +0000 From: Liming Sun To: Subject: [SRU][F:linux-bluefield][PATCH v3 0/1] UBUNTU: SAUCE: platform/mellanox: Add ctrl message and MAC configuration Date: Thu, 6 May 2021 08:26:40 -0400 Message-ID: X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ce0d5d91-a032-4ef0-f02a-08d9108a40fe X-MS-TrafficTypeDiagnostic: BYAPR12MB3413: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8273; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bCW+Rhg96xt4/aMRSH/MFMwdurve4BNr/sToeELK5U4ShGFzhG9yXwOG0ChDe5oAAK3kAtwQSa4JmQfjzre8WTzyJn7w8Elf2Dak1iG0XMjZDk22gnQbVwaejRSW/ngNdczVrni6KCuqmE42AIyZnSwas0qRhJXOAxZpuX2dvPwMkQKo7s2PqfbL6o+xkJ1+cdn+8tMpQrwbVROb9/8Ge1ueZ/6/bJyfFAmdMTq5HpEf6hURUk6lrUPSFffep2BmrCCnF4nZmhUdaLgoDqCsHsv6B/vLvAqLa9cw7rmBywKS20D1KSyo4o6KLcC140A/sugwo1ga7/E+iuk6zfvCVwVYnxUNwSRxBuRPk0GLTMGEm40EUwwY4Qf+MfAR+lzlfvSnTjXdn3LQfdAMgzzT+e8q7cLrBEql9B9uzl2TZXC9W7LH6/nUBmvXdGmccZlcc3JE0yEeOsSXchfHlI0y094sR7bD9myQ+s95MmLKoZ3ZhXk6XQ8Nqevmt+ucowZ8SdymG0wNwjxbcir9p1t2pdMUc+R1X1/1BhI1/zcyoCIKCGy+GDTxwjgZ0qvJ9a0WlmO9+tyXH6xlbV1iInum89LZWuQ8rtahANaeDPh6R/ChntNlI3cq6gVOEI7/liGXWpk8QTN/464rMZDJIajPmY+ywOv7HrgBWM8i5QINEMBb4zl1TDNIyKJreQLxfrqFBxi76G7nubAvIpazuR1nB3N6dZOiJXMpYTmKCo8xoHY= X-Forefront-Antispam-Report: CIP:216.228.112.32; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid01.nvidia.com; CAT:NONE; SFS:(4636009)(376002)(39850400004)(396003)(346002)(136003)(36840700001)(46966006)(426003)(26005)(82310400003)(2616005)(356005)(336012)(8936002)(8676002)(6916009)(82740400003)(186003)(83380400001)(36756003)(7696005)(15650500001)(86362001)(7636003)(6666004)(2906002)(36860700001)(70586007)(478600001)(47076005)(5660300002)(966005)(4744005)(316002)(70206006)(107886003)(4326008); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 May 2021 12:27:03.0457 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ce0d5d91-a032-4ef0-f02a-08d9108a40fe X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.32]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT058.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR12MB3413 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Liming Sun Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/1927253 SRU Justification: [Impact] * This is an enhancement to support ctrl message and BlueField side rshim MAC address configuration from the rshim driver. [Fix] * Additional new code for the enhancement. It doesn't have fix for existing code. [Test Case] * Set DISPLAY_LEVEL to 1 in /dev/rshim0/misc and do 'cat /dev/rshim0/misc' from external rshim driver. The rshim MAC address will show up. * echo "PEER_MAC xx:xx:xx:xx:xx:xx" > /dev/rshim0/misc to modify the MAC address. The change will take effect in next boot. [Regression Potential] * This version of the driver was tested by QA/verification for a while so no known regression at the moment.