From patchwork Wed Mar 17 17:44:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Oltean X-Patchwork-Id: 403761 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, MSGID_FROM_MTA_HEADER, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BCA97C433E9 for ; Wed, 17 Mar 2021 17:46:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9408E64F70 for ; Wed, 17 Mar 2021 17:46:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232537AbhCQRpa (ORCPT ); Wed, 17 Mar 2021 13:45:30 -0400 Received: from mail-eopbgr20050.outbound.protection.outlook.com ([40.107.2.50]:58097 "EHLO EUR02-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S232478AbhCQRpO (ORCPT ); Wed, 17 Mar 2021 13:45:14 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=C14YoO1JSTLUMR5q0NN4vsHfbVvWgyoJtNtXvG8m5DHGNxjESNQulYApNWx1NlMxgtaO0GyE2OvmfZ+s0CHgnREflWFBzBdyWYXTe51+vQKd6lymPbJLpY7c07UFInPZ+9NVm6wGou4Vhz2gsdeqM+sqYTkuF2IAygSOect0G5zh0lef4zb07eJ8TG1IyjnH4pw30BstYJpsUMJVi2bao38jInmp03FbhO9+X55iaVz17UEiulCM2WiV/WPubUBhS/62L+ZLXlFWzxXpnjTNHM/3JJxpknF2kVHzItLQ7b+xUPiUQFt5Cuy3zkqMbjgNO4Rki7zuHwkQxSKVSC8yWQ== 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=v5wcGEJ07XR1ymkJju7e9Tj3ME9u2rg67Z4wU6Yh6Wo=; b=E2AgU7iLWsMTj45KSZX9tQ6+ArUIrPM9KuwJcsvs8Lb4gohQcVzoPGtAyVgUrzrEB/CpzSC0KTl6BtWUFGzKa+DRkxupcXc+wjugFssKAfZDi9Cv3kub0kK0+r7dG7mPya/g8+kOTF/q+hEwWIoFdYnD6aDezv662XDDKPHA7F++GoyFNd9kRR3z17Zfz3/PJJkJ6bGF5sImwL5HH3XWP1NLeaHgl1B5dvPnX0EHLWSQmdLQ/BEPJuB2gPU/3jgajZVLLmX97HI5NDQPii3l+V8CnfUlXGK1YL8Fvnjfrt+YIdZQ6VAIVb09OtwTZsvmOCPLOsoNqq5aFXYkLKBD+g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=v5wcGEJ07XR1ymkJju7e9Tj3ME9u2rg67Z4wU6Yh6Wo=; b=M1pqT0x5MuRpBes3K/jj71FLYMA+zePcklUgg5asEraigrextPGO+BKIuUlfltdzA3dHYurKID/KB28Q/TefG83Eln0Zw3lvE0rBP3lTtRV1QEjSci64IN6wbNZpuvDWYiWuE0awe/xid0ZRY7eP+Y05I5izIduf1X53K+XImRs= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none; vger.kernel.org; dmarc=none action=none header.from=nxp.com; Received: from VI1PR04MB5136.eurprd04.prod.outlook.com (2603:10a6:803:55::19) by VI1PR04MB7119.eurprd04.prod.outlook.com (2603:10a6:800:12e::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3933.32; Wed, 17 Mar 2021 17:45:12 +0000 Received: from VI1PR04MB5136.eurprd04.prod.outlook.com ([fe80::f0c0:cb99:d153:e39b]) by VI1PR04MB5136.eurprd04.prod.outlook.com ([fe80::f0c0:cb99:d153:e39b%7]) with mapi id 15.20.3933.032; Wed, 17 Mar 2021 17:45:12 +0000 From: Vladimir Oltean To: netdev@vger.kernel.org, "David S . Miller" , Jakub Kicinski Cc: Andrew Lunn , Florian Fainelli , Vivien Didelot , Jiri Pirko , Ido Schimmel , Stephen Rothwell Subject: [PATCH net-next 1/5] Documentation: networking: switchdev: separate bulleted items with new line Date: Wed, 17 Mar 2021 19:44:54 +0200 Message-Id: <20210317174458.2349642-2-vladimir.oltean@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210317174458.2349642-1-vladimir.oltean@nxp.com> References: <20210317174458.2349642-1-vladimir.oltean@nxp.com> X-Originating-IP: [5.12.16.165] X-ClientProxiedBy: AM0PR06CA0106.eurprd06.prod.outlook.com (2603:10a6:208:fa::47) To VI1PR04MB5136.eurprd04.prod.outlook.com (2603:10a6:803:55::19) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (5.12.16.165) by AM0PR06CA0106.eurprd06.prod.outlook.com (2603:10a6:208:fa::47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3955.18 via Frontend Transport; Wed, 17 Mar 2021 17:45:11 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 4a8e756e-831c-43bf-bd44-08d8e96c6a61 X-MS-TrafficTypeDiagnostic: VI1PR04MB7119: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7219; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: PajYJ/hTPb5LFm62G03TBR5SpIgAqv5FVBLPHdKpSRheiSULWkhNmov4d4pQB1D86FfeXbWLrRj/Otetq5Dkh2GelvfFDe/v0guZmcTt8ZmzlqY2BNuO9z5Zqmv/wZsdFueTFdosi1ZpQAuvWiEnx5VHbi2OJSalNzGNuIWRyg8fOnHair01iDUAD+q2VZcJlF/K6aODIooQrkj3d+t5v+nDbdLWUtHPouMBc4avrK5hMKtnif1EE4B7U6itZbVkwZxTXgJo7iZDLrkUCIUi/bIyv/HZ0U+zq3HiRT7YZWkEME4nLLTW0v1P3r4nTi7vEgFi0Juxp6VEFmjXzSPe3oNeR7oHqgWUKYtZ93klsLrJK01XnFFNhGyCEjvY6Q5+A8AiUBF8iVpKikw3aropLijVFSpgK/5FG72cO7H+sMX6KB/WtnVU9k9WSRE+zFJSaZwfbQKYNI+t9+c6KtkL7F/6UYPXN0g4pVY9Zr+trFAtSZakqmw4mn7HBL2I+UTt2Oh2i1viA2qgbwGAuwkrmjYxzI0nPo9BXqDrADYL5EKD7/gTYm7lwtVkY+iJl4qF8CeLzK6BuYneuEjd/Z5Q+xxbjLqyPN6M2atyKZUXOyIYLuWkyyFj9HZRG9kLzskX X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB5136.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(39850400004)(346002)(376002)(136003)(396003)(86362001)(110136005)(83380400001)(69590400012)(6506007)(36756003)(52116002)(6666004)(1076003)(186003)(16526019)(54906003)(66946007)(66556008)(2906002)(26005)(5660300002)(6512007)(2616005)(8676002)(956004)(4326008)(316002)(44832011)(66476007)(6486002)(478600001)(8936002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: 7/SVE2puIRwQA8G89TRtFpCD52lroqT9tXgYrvLvCpoEXfzqiF9AHEcyDft0Tdtv7ifzHBC4FJ+UZe97rnSHV7CQh6cU8RPYQ0OrMnOnI02AxM0O4RIY1ogeKpWT+FFE6TZXT3JblSehcXK2VQRUa0UL/cE60cacziHlGPu/1OpVDxSVzieFlAlxMCid/hr3Mv386JcaAWlT3MiJSNuUXNH+l2awcPY7NySSGZ3FtRWTjuO7WMmZ1yHiE7vzzSCY366870Q2fXnlIydX/JJ8FacvWdVm0/f87wnPQjEknfEbnSCWevRS62TK0nJuHQ4PTQhc0JehIhC730o/Uz7iyfwK/ZcoaB9PxdVpd+t5KyAVhYYzdqAUbvvI6ntDrdhlIoTj1Hs/JtZO4wK/XCnsl+NSZrZ68TSBp7Ho/iswHo5HGFYSh46Skt9Oa19EKzPfSxvD7XbXDOQt++Mh0RuH3cjT/b4l40WnB1HEbLuXdO+9H7UKoOlZ446pTzsXtyZvBikUAvWfkwb/1mIII4Tb6Ah4/pt08rjrRGmrUYmx53SRpnz/aW8pQBhNu2ZjNGFOCJoUYL+HssSh8oy0n9/QdLDLcApuluMinjNMVG/CvgWrWNGK8eVTiwQjtJ78DgsQs5wMGrW1N93Qxdv8TlTOHB6OzGeSA+dqBNPWVuRBDOkwlUZtkwlbvvRigm3CYUYl4gci1vf4IcdYvdc5H2eLLXavhBYdrUSWcl8tNRL064gcaT32CRLdb0Vo8hLmcJ8gdP79nXd4uBnX7bN50cRb/vK8RWna6E0BPuHlPedEHTQ76WkkeU3eYDlwG/QDloWv2AJmcOs2VJB5mdTk108VFutjy7yz6yj8rUQVHsnrePDeH9vRmZtjvp9g6c4z6TsXmKH1VgqOwIOwAyHnK6HJfmX1essO432O+fVpQQB804JpiKaUv8iAGrDXhCPo9EgprDHGiK+pYCzrdKHoSIYKh3w5OuuRviCCv7g4+Gww/9Kl626S7r4VHUinZCe3OnYrTLt5/Ao2Y4nPF+TQkvcxqkPb2MWp5bsB9TTyQoqqlsywIUvNaTawgsBGvL11koAWlkoWcX97lZX7nVH61kC6b+i+enEyX3zGmZMNXtrGD7ztJ1LPHi6ug/gJcoR8tExHe9tWhjH3QgByIS7QTfLkQrmwmCpfA3QZxmChr+EHWjLsEWuZEOf000h7BOOsvuP0GAwPUr5k138xVDyKEzZLHA9zBxtB3UZX7QUVMMN3xATSOe0GKN88INpO+FVU9x0Tb8/zc/jDRxYkopRSATn2vAHBLB4OBuiL8wGHeA5MuKrlGU1c4iZD/7AVsfAwMpRF X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4a8e756e-831c-43bf-bd44-08d8e96c6a61 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5136.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Mar 2021 17:45:12.5334 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: juy4qgvUBE3c7riKA5QB5dkbBJGJomBrzH+9V2bvAiT5D5ToSnQsOJCMYq1BuvfACbCmWaanqK+zdogZ4ROVVA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB7119 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org It looks like "make htmldocs" produces this warning: Documentation/networking/switchdev.rst:482: WARNING: Unexpected indentation. Fixes: 0f22ad45f47c ("Documentation: networking: switchdev: clarify device driver behavior") Reported-by: Stephen Rothwell Signed-off-by: Vladimir Oltean --- Documentation/networking/switchdev.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/networking/switchdev.rst b/Documentation/networking/switchdev.rst index 1b56367d85ad..aa78102c9fab 100644 --- a/Documentation/networking/switchdev.rst +++ b/Documentation/networking/switchdev.rst @@ -479,6 +479,7 @@ is not possible. be added to a second bridge, which includes other switch ports or software interfaces. Some approaches to ensure that the forwarding domain for traffic belonging to the VLAN upper interfaces are managed properly: + * If forwarding destinations can be managed per VLAN, the hardware could be configured to map all traffic, except the packets tagged with a VID belonging to a VLAN upper interface, to an internal VID corresponding to From patchwork Wed Mar 17 17:44:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Oltean X-Patchwork-Id: 403763 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, MSGID_FROM_MTA_HEADER, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F296BC43381 for ; Wed, 17 Mar 2021 17:46:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BFCC064EF9 for ; Wed, 17 Mar 2021 17:46:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232600AbhCQRpb (ORCPT ); Wed, 17 Mar 2021 13:45:31 -0400 Received: from mail-eopbgr20050.outbound.protection.outlook.com ([40.107.2.50]:58097 "EHLO EUR02-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S232483AbhCQRpP (ORCPT ); Wed, 17 Mar 2021 13:45:15 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Hd997BUrElwW2CreKuaYzYPrZ19fmR2J474XYWxlFeZDSqaDl49wBbaaxNCKcb5guhdu85G4PmJVhYP/O3sc8YKQNMDGNzzWoYMlrL5Iuhbkpi4XUbStd3y5K6Vav/DBag2SQLuoXo76KzhFHt0gPwUBsrZXWyRq/J0sm65Oz+pa6o4EklORQPMz6QYW5FhzKCZnuvVLAv+sWZaj7T5IiP3+F1R2cBmRKCtX5bojMK9JhgsKswrMwIWmDXqpjLg5dF891+zjXOr2O5AhP30M7E65NURuFGby8n40V8Bbg1ZeOrNtzjKruU0JISc985ckLvHEOjYXezhRf32kHb4yzQ== 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=3GgcDkJ3KXA+pTMpcEUf40v7I/gQHitYZMwDKqA5hao=; b=MkPMtR5InClHZ7n/FG46jNJwNX7zw6/8XJJxNTHXpYc8EXevanHD0nTy4ptm7QvWUaTLfnlTdf54YA3ktUSNgfUh/oa0LkB15MPmMJIHeRde+Q2pgQYTNYpQd1B9jXSLBLLWsN88kftBz3XtOH667h3I6sZwxxX6Wj12YGNRHQ3AvwY4SSaecN9l9pvXON7b2VHjgEDiRV7v+l67+yjGTddYwV6JRzge07Ul8ECRWEhXhcpwJF8uM1/b4tx7TukgPLLZYN6sceEVlAavGRaIl3RNxbYlkLk95b+CeZsYknJsDnChNB9VFZsb2igSr3VtL+yV87Z/axc5HBgwU1J1aw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3GgcDkJ3KXA+pTMpcEUf40v7I/gQHitYZMwDKqA5hao=; b=dTka7u9k1dHAcoXkpJHtqYJSHzDg+Z6E3bFHU4wc5iOglXsmP7TJsZU9tDbRsGbPSCCUcxm+ZMjVFIY6YyS1XtzW8LhKE2eXJcWw2F7AKHUCha+lKWGCHOr1U67OvG0Leh6sYBgndoDCJTvdvULjhgPcbocVoBPwMXfqPLa/Drw= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none; vger.kernel.org; dmarc=none action=none header.from=nxp.com; Received: from VI1PR04MB5136.eurprd04.prod.outlook.com (2603:10a6:803:55::19) by VI1PR04MB7119.eurprd04.prod.outlook.com (2603:10a6:800:12e::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3933.32; Wed, 17 Mar 2021 17:45:13 +0000 Received: from VI1PR04MB5136.eurprd04.prod.outlook.com ([fe80::f0c0:cb99:d153:e39b]) by VI1PR04MB5136.eurprd04.prod.outlook.com ([fe80::f0c0:cb99:d153:e39b%7]) with mapi id 15.20.3933.032; Wed, 17 Mar 2021 17:45:13 +0000 From: Vladimir Oltean To: netdev@vger.kernel.org, "David S . Miller" , Jakub Kicinski Cc: Andrew Lunn , Florian Fainelli , Vivien Didelot , Jiri Pirko , Ido Schimmel , Stephen Rothwell , Ido Schimmel Subject: [PATCH net-next 2/5] Documentation: networking: switchdev: add missing "and" word Date: Wed, 17 Mar 2021 19:44:55 +0200 Message-Id: <20210317174458.2349642-3-vladimir.oltean@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210317174458.2349642-1-vladimir.oltean@nxp.com> References: <20210317174458.2349642-1-vladimir.oltean@nxp.com> X-Originating-IP: [5.12.16.165] X-ClientProxiedBy: AM0PR06CA0106.eurprd06.prod.outlook.com (2603:10a6:208:fa::47) To VI1PR04MB5136.eurprd04.prod.outlook.com (2603:10a6:803:55::19) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (5.12.16.165) by AM0PR06CA0106.eurprd06.prod.outlook.com (2603:10a6:208:fa::47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3955.18 via Frontend Transport; Wed, 17 Mar 2021 17:45:12 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 0e18a86e-c862-4e6a-ed59-08d8e96c6b14 X-MS-TrafficTypeDiagnostic: VI1PR04MB7119: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7691; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +Kgw2VsRSnec+xad/KKu5+17VBuRZ46g2gBLCUJaP6PdGtduA4bfZI7x5tTKe7w6Cz2ETQn/XA4Hl5b0+UA+//VIfCHPl5LeeR7wUy1CioFtkcJWthL59rlf3GrVeu4g+Y1Cy0hzbdHUvSvfUlUaeGuYhfyQFNjL11xsSlCqaRfDRArzoyWxUhYg6bssi80+055ZumQzvgBWw7jN2h8XdGu07fziBHQGNJeZS3F191sgwXaUx1sUAU2ijEV7Ta717zmy6RYy1gKqNZbnha/n0WKBc1xzHE8+ijEEQhdNLBycok9MVJ+I4DgcQY04N5+Tx6miBOfm0z+GFBHOW7uVv3Q5Dj/D+6NtR+ZuZRPNMMTRryG0nFDnOEfAvl870u9gNCRPhC/+U7CP9wAz9qCPiS02HVNzA6Gzb41rAbn0vEWY0WwhzpPhtr0AVyMBqj/XSFfaq6U83/5iLjzA4EWVBGHab4DKdE9bftsbVsY15IxsLgsFxqiw61D6b2w0ES6f5M4oiW0JKS0zyIG5BusPQjjy3FaaLQfGroCw5liWA9ldWEeYYcfye6TGgdB81KUTHlpS9w5zdTtJF3rzu3vfe71ujE+PBJwzfyxQ0F2zuuITgfS8RgwcgUMBzyzm/Sgk X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB5136.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(39850400004)(346002)(376002)(136003)(396003)(86362001)(110136005)(83380400001)(69590400012)(6506007)(36756003)(52116002)(6666004)(1076003)(186003)(16526019)(54906003)(66946007)(66556008)(2906002)(26005)(5660300002)(6512007)(2616005)(8676002)(7416002)(956004)(4326008)(316002)(44832011)(66476007)(6486002)(478600001)(8936002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: PoCTxDlKgRnvLKCZ14D2UAEVoFShA3/ZnWlvuZF2+442L7WwsgJh8h1WUGmlhuA4K7dfAvb+JYzlCZg9H7cw8UcEtfawg/U/AMgtWQytk1a2+cFs4LgefQvFDHulazMixf9w6jc9qxAJr8GX2N6xLIs41RbpP+Wvf9jVGbcbYWVWUvu88H0n4Zz+IUhbj67R1OFHJPRIW8m1c/4XSIhnWj4Re+Y3C78AmXTTHvuJJhHJLn+LTELfYt2oYOCk/wgiDULOO0v/2kfB+mkjjntxFA8VfJlwmPLiN/4xl9cOT5pUtajF8PWevpKzaDcz0CZTHCp+3SEpLPpKCmXKdE2T8i7hQk2FS9cXEbZnn7U6tNRzvBD9RB/EnGLEE60zmCziwkYVvaxbj6DBnGn0Yl2ZGwVDb3RXwFlOxEMKpCQ4AaZx37BLWoOY8aUNmT8TscN5EuxowIIjUlGa0wYXw9rvm4cILjXneDGgVRZXWNItCFXnG9sI6n7anwiUrZUaszt1wEhpxQUGHOFfy3728A6OReEHwsQyPC6MPllF5L23Q8vXaSIAknfuu2GGEXYcisjgZgLyy5yCYWLw1BmEbVAqU3YNlc5VdMU4WxCZUSDZr1/pjt2zxyx9m3WYiU/KBykhO7d0t7j4eARPCHxnMDblNhxsqaIn8Hkl1KY/BHfJq2wQKCJUD4z0X/wfTE42X2IPk81riGRYgQ3tiZy/CciqxmvBkj4J2t9Tz4OKUKmQ7zntEWcwG5kJ3Ao7uEJFN/Xa77vOAtpcZcRGWUK18MyQaiZ9dIYIAg/zq27Nff+VShmDt7T/qPKjM3wtjj2QV8OL+Bt54I7GoZ+1BKwoAQZyQSIpShZqrzaTLHS8wv+pSHQPiYZ9gT9sqOFyqCrxEqV0xm9khW25syvdUnqyF+7D9YrtRMk8tWhUbej72Oa1sQGHh6RWXF4OghTL/CworGUW0ssBLUeBOe5tpCZ9LzQi74xmHxP1Ck9rsmP1C0RiaE6LkkXgR0bK5pdWfYuaoVpLilRO4XfDM5bWehzJ8Hhsc85ebzMBYHY3MANHQgnN0V56YHnKHG3NnCZGzax5ReHYmgXACP4CTTQBGL540hAHF8MeI4o5IyH2S60oqhN6hq+0PxvmlpQL+k+qnnsVV+9c+cEdcUHa0Jb1mPqqI7GLAGeGhyLTrfB7tb7nmB1NWFmkSOtpGwwFUVjgmkkxi9FVvWmQ6tRhvtlmAMBUh/Ec02hqa4vDydK4THrcFP2dZ60sg63pXe/SIZX9R0Vj7QbRPqi1A+iRL2pQ/uELG1p3oYB+2TORShbJLC0RY1dL+EXUTPBoMGSmwSOA9o3iIWPW X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0e18a86e-c862-4e6a-ed59-08d8e96c6b14 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5136.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Mar 2021 17:45:13.7137 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 9dI5YQzHlHHkB83WLCGmLPgumxAu4ANH4+uSEEGKPvhclyhEBCK7DdeRVX55VYUN/d9DNVo+h0GKCht6GM7Q1Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB7119 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Even though this is clear from the context, it is nice to actually be grammatically correct. Fixes: 0f22ad45f47c ("Documentation: networking: switchdev: clarify device driver behavior") Reported-by: Ido Schimmel Signed-off-by: Vladimir Oltean --- Documentation/networking/switchdev.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/networking/switchdev.rst b/Documentation/networking/switchdev.rst index aa78102c9fab..f1f4e6a85a29 100644 --- a/Documentation/networking/switchdev.rst +++ b/Documentation/networking/switchdev.rst @@ -523,7 +523,7 @@ as untagged packets, since the bridge device does not allow the manipulation of VID 0 in its database. When the bridge has VLAN filtering enabled and a PVID is not configured on the -ingress port, untagged 802.1p tagged packets must be dropped. When the bridge +ingress port, untagged and 802.1p tagged packets must be dropped. When the bridge has VLAN filtering enabled and a PVID exists on the ingress port, untagged and priority-tagged packets must be accepted and forwarded according to the bridge's port membership of the PVID VLAN. When the bridge has VLAN filtering From patchwork Wed Mar 17 17:44:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Oltean X-Patchwork-Id: 403762 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, MSGID_FROM_MTA_HEADER, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 191D9C4332D for ; Wed, 17 Mar 2021 17:46:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D325964F07 for ; Wed, 17 Mar 2021 17:46:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232678AbhCQRpd (ORCPT ); Wed, 17 Mar 2021 13:45:33 -0400 Received: from mail-eopbgr20050.outbound.protection.outlook.com ([40.107.2.50]:14215 "EHLO EUR02-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S232502AbhCQRpS (ORCPT ); Wed, 17 Mar 2021 13:45:18 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=I6t0tNczol0Y/O1jjR+Dxytpr3cQZYKzmfAj7BBGz/b35VQ34XPgIhmUWibZMV68VCRt0nhi57uEoW7ELgwOQlaXKPAWKdd1uCeQz/vRmZV3f49Dwx2Kghun5coKISm7RDTK7T0FDGzDGxP8t7Q+jOWPYsKNO9mUmYIaosxjec8JiapY1oeT4g9V6oyS3EljDMN6uWAsehw1mUXkCEhkkh8QestCiIRnJbfVTqfxiLs5yvBv8zvGijVk59S8PTMpH6KOnbSnkP9+aiYhqJ3hNxHQ0zyVdMSI3ksk8txYkHg6K/b90LMmbb8rV3k8E/WWiwzqKr0nJNy5f/OKg/ci7A== 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=s341QlzRYOtdIvGZ2jG9BJQVHHZaOqelliAvD/fhO2k=; b=ecdC+yM+l/hwCiF15W8dTM7qi5f3rJQmBkJJ5Lsaj8rswDWODJsYqLbeS8vu8u1FYiIDfy4XM/8S4M6ElXIPR8a+Dgp3nDZOSjQAxgOKMIOrspRE6CMQrLdV22ajKLxeQMvHMh1JUPru3GL5Ry8at9sJIqyrz+gij4CwQD62xYNMzyjtns8q8PVg7v0JXhz32VAAjvIM38vVgAKgipNecovuHokDwdoK4lDzcH0u3nTBt7KVPfYsCLmZzwb1AAU9Q4O1JYAgIp5RKVr6c61kxfvP7b3i0ki3WRTNTsr1XGcfFGHY6Qz8PmAyrjQQ9OMLMg9DR8MTtYwo9P+tT2vHZQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=s341QlzRYOtdIvGZ2jG9BJQVHHZaOqelliAvD/fhO2k=; b=Uv1vaqEgw1XoB2wUXQhNNh2boaoZ0M+LaXWNnVsSKfrtygF9aDT8kddkIOuxNDc5xpUXvypmZhDTaFhavVutZholQjxp2udp0QEe4R7FkzpimTm2BRy0+jgH3+yHP/nD8BPXHIGUhCQgxxyP3594ScWSG0L7khGz6sysyOIO4GA= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none; vger.kernel.org; dmarc=none action=none header.from=nxp.com; Received: from VI1PR04MB5136.eurprd04.prod.outlook.com (2603:10a6:803:55::19) by VI1PR04MB7119.eurprd04.prod.outlook.com (2603:10a6:800:12e::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3933.32; Wed, 17 Mar 2021 17:45:17 +0000 Received: from VI1PR04MB5136.eurprd04.prod.outlook.com ([fe80::f0c0:cb99:d153:e39b]) by VI1PR04MB5136.eurprd04.prod.outlook.com ([fe80::f0c0:cb99:d153:e39b%7]) with mapi id 15.20.3933.032; Wed, 17 Mar 2021 17:45:17 +0000 From: Vladimir Oltean To: netdev@vger.kernel.org, "David S . Miller" , Jakub Kicinski Cc: Andrew Lunn , Florian Fainelli , Vivien Didelot , Jiri Pirko , Ido Schimmel , Stephen Rothwell Subject: [PATCH net-next 5/5] Documentation: networking: dsa: mention that the master is brought up automatically Date: Wed, 17 Mar 2021 19:44:58 +0200 Message-Id: <20210317174458.2349642-6-vladimir.oltean@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210317174458.2349642-1-vladimir.oltean@nxp.com> References: <20210317174458.2349642-1-vladimir.oltean@nxp.com> X-Originating-IP: [5.12.16.165] X-ClientProxiedBy: AM0PR06CA0106.eurprd06.prod.outlook.com (2603:10a6:208:fa::47) To VI1PR04MB5136.eurprd04.prod.outlook.com (2603:10a6:803:55::19) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (5.12.16.165) by AM0PR06CA0106.eurprd06.prod.outlook.com (2603:10a6:208:fa::47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3955.18 via Frontend Transport; Wed, 17 Mar 2021 17:45:16 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: bb193765-ce14-4ef6-3da2-08d8e96c6d1f X-MS-TrafficTypeDiagnostic: VI1PR04MB7119: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:849; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5aADx31OlW0KlOYPjva4cEHbh3tFb+TPoWjfCejgbT3Zhpzipey4MPLHWmi4fM0v571nCy7UFj9gdfeYPOZj/U+O+O2BlcoKaQ1JS32TUXbz2yKjaWFkBIRIO8o9puqCLAwAUSwwiOKegwayr8zQC+GTZVaGHcASo3mgzFsl4PQf7OO7dL8QrTwPUZHSxX1uGlcYqTtGSkrOSOxrDwm/z9C3XCZKnb4+iZUa6mej95VYzCfmbEB3ATPMpp1NifqWeuDMIV1fb/f6oUhs7bsRohNpIvWadFs7vkN916WzAj7CQKWXrCUJtZLEm8pCUs0qFNvnZtDejnJkvxlXOaGKNX8wXmSFH/buUuMZnEHlSExyMUqsyEdhlxoOPaTfMX9X/1awyyCgFUzVTvyq1YqXTl0StbZEZMAeCYLiYnwp1hlWrL7NFnmgrZ3M+DFMWdSftELlGElKx8vlcF+aUPe5F8J4ZqGwSIB/QSfaAiZKaLjgjTUGq0WYQhL/1sNX4ns04UsIRdcyIYbJ3S5LCbZRehTnrY8cU5cn3wor7Wb6fXccpCCs1hU0UYPJCHDmkNXrm/r8ASU3IhwBlbmTACnxpAwFB7rniKQH8qq3sqsvQXk= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB5136.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(39850400004)(346002)(376002)(136003)(396003)(86362001)(110136005)(83380400001)(69590400012)(6506007)(36756003)(52116002)(6666004)(1076003)(186003)(16526019)(54906003)(66946007)(66556008)(2906002)(26005)(5660300002)(6512007)(2616005)(8676002)(956004)(4326008)(316002)(44832011)(66476007)(6486002)(478600001)(8936002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: ga5zAVzsamQSm6Nm3oKet0lpPpN7CqS/DDts70K9z3xvl8Kv5nIxnSJZ2PVarX8S3sNpzAxjMuPGknjBmKCpY4k5Ix6JQZvDAe41ga1WpdUjz2IXvEMp2WInGLyol8KA/5elv9fySanXUW5eAPJUhCJArKgMQcifA+7fzC9UUNFaYGeeMyoVVPaTFKjcQTiuQUPb2u54BvL/DKKoD7GubhwD9O6i6C+r7LfqAHt+Crq23VR9sgW3K2m0pcBtdjHOGp2L9/yFa+Y0wpUrEpNTBqldjVqx+21V3V8G/bDR2wIPROfBUMPkKcpLQzKT96pk1Yq20kIRzSPs6lAUvBIorQcLlYRed4CDPY0h6ruUzDxzwm9s2LuvB2aEeRkWJtNxlU7qss5sITvhh06m4LOflAlEWVGjHrNrXaCbNvAmPlhoq14lfDR7KwNn7jo+AG5pq/TQRp5SowrzHpseQaMc6Qbvx4ek5zpjcMtEgfPHTH/sS11NvzBfL+be0YoGvamLtKn6SS5Dho1zxV9wwYz80DBSfH9DFnitaWZmHROY+D222qVnEeqpuFxPSAnvpMMYPEW6aJayv49nqbLM6FYB9CaTNfHRyaYzQfF1IU/tN6RwLIK6maa2vCzCxTCqQv0lhBycA/bLVVNamzlP+KaL25par1TuRZEEq/vZSHnDFkGaMR/rrhSEJZsc4pEGwGwakLX/jWx8Kh/vPwef/vnDxEO4uf/7MmHSnYGSw5uJTi2KaGj3+EQM/5+D6HvC6N6OZ2vo3kT5xLYQeT9lXvr1ahOS8Bjfbow5wiUDJp8AFmCzMayO764burEFCrFKfiRqfaVaGDQLQNkG4DUH7AxBP+T+6vtByKUKrRFa1MadatrEEM0bRp+C4Gutfa7BYnXE0CtPyTbDJ4LweOWVu+4hajwdcxsmzUC5r9lflppKI+Sp+AMPfsA1i4v4W/piAmrca88bG4v0roBpRBqAE5wWd+KWpcj+J1aFH45NCGiwAM8j8k6o8rnubwZfFooBkF2Q2sKEzsBFnzBjsBAbzWKSlZ+Y8B0/pFKNTILD14NQu5s6ulCHPXg+29p4iBe8mDHFsgFg9VIgaXnBB+Kyz92L/6q1JYKpNztfcTxDbH9P/V8z58OS5Kpxsgm7Cedr0syVjxAT80oip/W0PqyuXcGGxrzjAX+VC94dpPA+HLce17q+xIWlV7jxAnBshFBSZy7xH0NgUEdcpil+6f9hs49Lcbem64NL6cEh8vxrerSH7HQvj5NrCvcQVDKFzqm1F8IVY2pjZl6bdoxxsl2KWFvLgEAhx3uiyqnd7ZLG0elYYzfIMj6gaYf+eQCCYAog1ifp X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: bb193765-ce14-4ef6-3da2-08d8e96c6d1f X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5136.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Mar 2021 17:45:17.0918 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: TstHPhrySrYaDbSxmwBUW+nPCbiEPfAdbRCkf9pzWK63h5QyVLbqKxHKpPdDMW/Xls5G2Wx1lqIw/9jByUnmow== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB7119 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Since commit 9d5ef190e561 ("net: dsa: automatically bring up DSA master when opening user port"), DSA manages the administrative status of the host port automatically. Update the configuration steps to reflect this. Signed-off-by: Vladimir Oltean --- .../networking/dsa/configuration.rst | 29 ++++++++++++++----- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/Documentation/networking/dsa/configuration.rst b/Documentation/networking/dsa/configuration.rst index d20b908bd861..774f0e76c746 100644 --- a/Documentation/networking/dsa/configuration.rst +++ b/Documentation/networking/dsa/configuration.rst @@ -34,8 +34,15 @@ interface. The CPU port is the switch port connected to an Ethernet MAC chip. The corresponding linux Ethernet interface is called the master interface. All other corresponding linux interfaces are called slave interfaces. -The slave interfaces depend on the master interface. They can only brought up, -when the master interface is up. +The slave interfaces depend on the master interface being up in order for them +to send or receive traffic. Prior to kernel v5.12, the state of the master +interface had to be managed explicitly by the user. Starting with kernel v5.12, +the behavior is as follows: + +- when a DSA slave interface is brought up, the master interface is + automatically brought up. +- when the master interface is brought down, all DSA slave interfaces are + automatically brought down. In this documentation the following Ethernet interfaces are used: @@ -86,7 +93,8 @@ without using a VLAN based configuration. ip addr add 192.0.2.5/30 dev lan2 ip addr add 192.0.2.9/30 dev lan3 - # The master interface needs to be brought up before the slave ports. + # For kernels earlier than v5.12, the master interface needs to be + # brought up manually before the slave ports. ip link set eth0 up # bring up the slave interfaces @@ -97,7 +105,8 @@ without using a VLAN based configuration. *bridge* .. code-block:: sh - # The master interface needs to be brought up before the slave ports. + # For kernels earlier than v5.12, the master interface needs to be + # brought up manually before the slave ports. ip link set eth0 up # bring up the slave interfaces @@ -122,7 +131,8 @@ without using a VLAN based configuration. *gateway* .. code-block:: sh - # The master interface needs to be brought up before the slave ports. + # For kernels earlier than v5.12, the master interface needs to be + # brought up manually before the slave ports. ip link set eth0 up # bring up the slave interfaces @@ -165,7 +175,8 @@ configuration. ip link add link eth0 name eth0.2 type vlan id 2 ip link add link eth0 name eth0.3 type vlan id 3 - # The master interface needs to be brought up before the slave ports. + # For kernels earlier than v5.12, the master interface needs to be + # brought up manually before the slave ports. ip link set eth0 up ip link set eth0.1 up ip link set eth0.2 up @@ -207,7 +218,8 @@ configuration. # tag traffic on CPU port ip link add link eth0 name eth0.1 type vlan id 1 - # The master interface needs to be brought up before the slave ports. + # For kernels earlier than v5.12, the master interface needs to be + # brought up manually before the slave ports. ip link set eth0 up ip link set eth0.1 up @@ -246,7 +258,8 @@ configuration. ip link add link eth0 name eth0.1 type vlan id 1 ip link add link eth0 name eth0.2 type vlan id 2 - # The master interface needs to be brought up before the slave ports. + # For kernels earlier than v5.12, the master interface needs to be + # brought up manually before the slave ports. ip link set eth0 up ip link set eth0.1 up ip link set eth0.2 up