From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id EC518A0C47; Tue, 6 Jul 2021 09:47:09 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D073941228; Tue, 6 Jul 2021 09:47:09 +0200 (CEST) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2077.outbound.protection.outlook.com [40.107.94.77]) by mails.dpdk.org (Postfix) with ESMTP id 89B3E4067E; Tue, 6 Jul 2021 09:47:07 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=i+Kty6bjMNOhC3n0gk3SgJm2TTT1osvvgwuXwI3+7d61PLaWuTAtXzd7gSI/78wBYPw0mqCylwILVRa8p71RG7UQp6TeMNsKZGf4txaG7gNbGJC88i1yCYHTYYAqKMR4jiUoQ8mSGmGFCgwQrRoFXluGoh8OucDprtJUgbHPUa1NQDsPnTZGCsKKNX1ABqCrfHFSU5L/Wn6+tmZ0wLbXr2C2r2V89zE9YunRVlq4eLjag5/KSsrdZNLCCM74XeY+nJ1kiu4zOkp5c5mRAP5lxl0HOVEdiaSf4In8yftkTdEGzc//2KjBZFoH8FfWjbzCm/JjJK+6Z7hv4+F3kPqeMg== 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=+JX1JKJ2/j3c4VD8apzlK76chsfpOtzMHhJLj6IWiyg=; b=IVVNmaljeMtS59I30H2wZA+smw7d6y0sBRRKHcYyYJKo32ho75VJ5JI5dbVHPdQcEsEutrx3tiKt3i3ZedRuaE9cakgG14RUQjxngCjJOS3wCjeGupI0Y2pSIYEdxmiYT3TtwgXWXAYWVFLZkgxLG5w9ry2a4cewDPU0vm3+c+xoHZHd3va+fCmvYf/wLT5VcHsJOORjSiCy3aDhV4D0J04POeUQZ0Gf7LPUBp6QTPadnWGkX0a5sWgCDK1DrqX3xutF/HxQAWZ+jewcOxwnBhggKLAqefWFxyrlNO2xgOG2WeJc//b3jJB4PTB50LeavuGoj74KrvHerk1WbXe29Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; 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=+JX1JKJ2/j3c4VD8apzlK76chsfpOtzMHhJLj6IWiyg=; b=s6ojLe9Y2Is1zFpgeGcCcQkuCsCAw1KLcZ2Eqjkx6pemfbhcvodl7tlg93FBweC/fBDNbmyT9I5AD9MnYOeN4thicDNpsGfvgRBTVUn2YrO8Ay3mAJxtVYwQzK/0ViYEonbVIqemGnsizrek1IYXYJHovHM4AIAyias24WU3LTBxiYH7gxYKoP6RuyLIzo0YfOHAZ4VvjnmzoHhihfsRTQ6svAF7QrGqzg+AYpnSaszIy+jCAQ4FDlUL7MmZmKR+hv1+cBkYELhKZLd1vZAu3Dh3Q+Zdoltv0wxZ+DfZy+K+mY5IfCvmoTBg0MCiqp7OG/wEXMyJDyjCMI7IkwZKxA== Received: from DM4PR12MB5054.namprd12.prod.outlook.com (2603:10b6:5:389::24) by DM4PR12MB5151.namprd12.prod.outlook.com (2603:10b6:5:392::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.23; Tue, 6 Jul 2021 07:47:06 +0000 Received: from DM4PR12MB5054.namprd12.prod.outlook.com ([fe80::584f:2720:1100:666a]) by DM4PR12MB5054.namprd12.prod.outlook.com ([fe80::584f:2720:1100:666a%4]) with mapi id 15.20.4287.033; Tue, 6 Jul 2021 07:47:06 +0000 From: Raslan Darawsheh To: Dmitry Kozlyuk , "dev@dpdk.org" CC: "stable@dpdk.org" , Slava Ovsiienko , Matan Azrad , Shahaf Shuler Thread-Topic: [dpdk-dev] [PATCH] net/mlx5: document workaround for ConnectX-4 with L2 encap Thread-Index: AQHXbX3JDzBaaKfCxEGQJ1KA6CFgAKs1myrQ Date: Tue, 6 Jul 2021 07:47:06 +0000 Message-ID: References: <20210630070106.661928-1-dkozlyuk@nvidia.com> In-Reply-To: <20210630070106.661928-1-dkozlyuk@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [188.161.229.97] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e7083bf4-f579-4cf8-2e6a-08d940524063 x-ms-traffictypediagnostic: DM4PR12MB5151: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:901; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: P6MkUqKDRpLyMOKrPYP7nPgBeZy4OxB8cXrLUo/Og9h1QkruGNHMCHCuVNddvCutPpNpvFMXkg0rf9ySTN66fjkPFMQn3FVMTk6l6iDGqZtGb6Tih7e7Zu6gNHuEz942tbfE5Q3dzPTRoj/tnOVQ3t+zerg+2CwmWLNOFXGNHz6Jk+Z0I+PQaJHkJ6ZULVoHQ02Q3C3rMWSCKOOswsIwVE0Lg4E+vtFK6kQywAFsZGM4fixVJ1krrbo3ypP9Wfd/c0tavLfoBVsV9Beyv2o6uK+V4J68TN9vJOmlqjeuoaQTYCQbM/mBrWTlhVxRIsPbqICVuPhOqbeNCmRlwIY0ZQhLNqebokjcU7uRYuuhl6E67NgPS678d0izVpSXTIJCZ44fiSgsUfLJJTUKvw/RmocRi6wT8mVRw2UFPvHcxlcuGgeloeb4xMHvCJZFcYcg73RBREKidlQ77HgrgPVNInvZVgCaTSZJZUgI60LEGbM4iUCblDgixz09+qOsrl6FPuQh8tpYfb3nVONaAAzNF3tAg8d65gbLZFIRun3wXgePG/VApnkh7Uf6/Kln3D5dDuHqHYk25fH+zf6FY0bzl1fRQTQSscceNyJ+tbCdEfiH30Qp5VPjmM0R8mjqDP8C9gr4MzG0MK6hpkbCXXYt0g== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB5054.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(39860400002)(366004)(396003)(346002)(376002)(8676002)(8936002)(83380400001)(107886003)(86362001)(66446008)(71200400001)(66556008)(122000001)(38100700002)(2906002)(52536014)(54906003)(6506007)(64756008)(53546011)(7696005)(26005)(478600001)(5660300002)(55016002)(4326008)(66946007)(4744005)(66476007)(450100002)(9686003)(110136005)(316002)(186003)(33656002)(76116006); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?XwXtOJHd3K2Z+sw8bYe6mxttnzbLc02twHZg9A/ycAticsuO/0Z+o8zcSduM?= =?us-ascii?Q?djSk+rXEX+Se/WjfzwvbdBq/O3/VkqfvBzNZIi8/5h6uglPfLuBbA6fOREqT?= =?us-ascii?Q?z6HIQLgr2PWgK4I0OqeVlLFKU+H1HucUIh/Aer5EsQFmpn1dQOuCInXlr96N?= =?us-ascii?Q?3uElpwb7nhZnW26TsjdRE6EnHkOtDKFIY0rivveJuXiOp64nz2yFqwxfa0q/?= =?us-ascii?Q?YIO9My6KyepRyrzP4sdyef+okt8LY6CwSshdzPzGVy8zuhE1qsbI0JSWgPUO?= =?us-ascii?Q?ZVEZOBVWHw5OZQTuCst6A0wq8W9D5kHFJV7noTXI2iutsywxD167mMbRDhQU?= =?us-ascii?Q?7ozaMJFVShrd/mSxDiq1opuWKy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?Q?R5lUkPlu5q86HUXk6J00xYFLAcaqUDfOieFat2BTaGNEyZ2JLn27huOU49Tb?= =?us-ascii?Q?J/4gi3XwaG5DI/oXVcCXgacP?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR12MB5054.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e7083bf4-f579-4cf8-2e6a-08d940524063 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Jul 2021 07:47:06.0885 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: V6F9mJqIbYtOUftqhz7qYJgzrix9lsDTjKDrVRICFC56d5/gJqE9l/pxE2X/nl9NoV8CTd7seStJoqqLqoiGWQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5151 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: document workaround for ConnectX-4 with L2 encap X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi, > -----Original Message----- > From: dev On Behalf Of Dmitry Kozlyuk > Sent: Wednesday, June 30, 2021 10:01 AM > To: dev@dpdk.org > Cc: stable@dpdk.org; Slava Ovsiienko ; Matan > Azrad ; Shahaf Shuler > Subject: [dpdk-dev] [PATCH] net/mlx5: document workaround for > ConnectX-4 with L2 encap >=20 > ConnectX-4 and ConnectX-4 Lx NICs require all L2 headers of transmitted > packets to be inlined. By default only first 18 bytes are inlined, > which is insufficient if additional encapsulation is used, like Q-in-Q. > Thus, default settings caused such traffic to be dropepd on Tx. > Document a workaround to increase inlined data size in such cases. >=20 > Fixes: 505f1fe426d3 ("net/mlx5: add Tx devargs") > Cc: stable@dpdk.org >=20 > Signed-off-by: Dmitry Kozlyuk > Reviewed-by: Viacheslav Ovsiienko Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh