From patchwork Tue Mar 3 00:15:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Saeed Mahameed X-Patchwork-Id: 11416899 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CC5D014B7 for ; Tue, 3 Mar 2020 00:15:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A23DF21556 for ; Tue, 3 Mar 2020 00:15:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=Mellanox.com header.i=@Mellanox.com header.b="YHJ/ciTb" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726752AbgCCAPs (ORCPT ); Mon, 2 Mar 2020 19:15:48 -0500 Received: from mail-eopbgr140089.outbound.protection.outlook.com ([40.107.14.89]:56068 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726890AbgCCAPs (ORCPT ); Mon, 2 Mar 2020 19:15:48 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RsRf+JKQFppjzPEbMhHYvGBUwBNiVHuhaFON4+f5/TW3k3FChSt5nucYocHxzbvRARuU1P4MczplJ/4WO++9f9PKwLpS7/7/6cB1HHNvq/7tFv4RBnWfVsazHo581oJaxsuvG5/YIX5IGRbtP3/ceG2FzVwjJJetI/fv9KTW5vwzmWFQTGKiLbgyOWpwgQ3+GSwPkrBk7nhtURxM5cYe3eEtacwSqvBHCQzLCOGUhvfKXHNCbyPtN+VTDQOioctAvBPrwHvnADpYoJAOZDSDC4rjfUpt9RGz4y8hJ9rPYulDK2CiD218oyizKXRNMGhHLSfpHDIsu074obcsYl8T7w== 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=2FK3WLnAJWcNwsVePy2Jd+1Ymd66Jq+CpORvGPZie6k=; b=k7pNqeylP+ysqkAno61+HN2hIL4PS9ZlLXXlOE4Ep13bkv8s4dsza07tQ3VQnLxLZdZWvyo9/MyFQD0gYwVaOla8VslT3q9WJ6eyLrRrLUTRhq8SuOUlDEbRBq7HqZLPBIY2JM281RMU9eJJxFu18dNgxaDunYj+gzhrYIOMSX3JwdaKm0xAOZcw2PUBKiRmgDFMo6b2djC3lo/qL7t35TorvJCFVRpRuJ773pe923DyDGmkF53qUMflPv34kN14N5Hwlx1kIwscXZeSxAIkvVCWTBZnKIxl2wT+Wmnn4YUEkYbczXY2JdRjD48+ZGh8k8lCabOjoqLWnRunCoaleQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2FK3WLnAJWcNwsVePy2Jd+1Ymd66Jq+CpORvGPZie6k=; b=YHJ/ciTb0bYcMs5nfS8M0ISBCUSazTrHIZw+DuXqdMekJyWL7DsDcA2EEmqqXjAG8BXox58wjQyxqCbIKhVjQZgnUA0P+SOy++S4pY0KrIsJ9vZe3NJpZDEDCRlXYzo6+O6OyR67pZQUPbj3fH/fVbT0A2amfvbqEpcoARphL2g= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=saeedm@mellanox.com; Received: from VI1PR05MB5102.eurprd05.prod.outlook.com (20.177.51.151) by VI1PR05MB3166.eurprd05.prod.outlook.com (10.170.237.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2772.15; Tue, 3 Mar 2020 00:15:44 +0000 Received: from VI1PR05MB5102.eurprd05.prod.outlook.com ([fe80::8cea:6c66:19fe:fbc2]) by VI1PR05MB5102.eurprd05.prod.outlook.com ([fe80::8cea:6c66:19fe:fbc2%7]) with mapi id 15.20.2772.019; Tue, 3 Mar 2020 00:15:44 +0000 From: Saeed Mahameed To: Leon Romanovsky , Saeed Mahameed Cc: netdev@vger.kernel.org, linux-rdma@vger.kernel.org, Vu Pham Subject: [PATCH mlx5-next 1/4] net/mlx5: Introduce egress acl forward-to-vport capability Date: Mon, 2 Mar 2020 16:15:19 -0800 Message-Id: <20200303001522.54067-2-saeedm@mellanox.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200303001522.54067-1-saeedm@mellanox.com> References: <20200303001522.54067-1-saeedm@mellanox.com> X-ClientProxiedBy: BYAPR08CA0018.namprd08.prod.outlook.com (2603:10b6:a03:100::31) To VI1PR05MB5102.eurprd05.prod.outlook.com (2603:10a6:803:5e::23) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from smtp.office365.com (209.116.155.178) by BYAPR08CA0018.namprd08.prod.outlook.com (2603:10b6:a03:100::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2772.19 via Frontend Transport; Tue, 3 Mar 2020 00:15:42 +0000 X-Mailer: git-send-email 2.24.1 X-Originating-IP: [209.116.155.178] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 41cea2ff-3b55-47ae-20d5-08d7bf080388 X-MS-TrafficTypeDiagnostic: VI1PR05MB3166:|VI1PR05MB3166: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8882; X-Forefront-PRVS: 03319F6FEF X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4636009)(396003)(136003)(376002)(39860400002)(366004)(346002)(189003)(199004)(110136005)(316002)(52116002)(6512007)(6506007)(8936002)(6666004)(6486002)(36756003)(86362001)(81156014)(81166006)(8676002)(1076003)(2616005)(16526019)(4326008)(450100002)(5660300002)(107886003)(2906002)(186003)(956004)(478600001)(26005)(66476007)(66946007)(66556008)(7049001)(54420400002);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR05MB3166;H:VI1PR05MB5102.eurprd05.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; Received-SPF: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: F8LXJMFseNfvC1RGX4NzToVk0TgK8x3QaI/XjlczdpobsTXSnaZ2/vF+LAfjoOIeNklvTwjP5EkgbXLrlPPUGf+bsHHpHBCusPM3p5cvvGWpOPMQ/grbaPKfRXzNfGtameHDN/l8Y8dShVK/s7lbGCcKJK4w0wFpBNXI9qLB6hvNySSu53j3ftleaBt32zj2ne6Gei7omAHyfoJKGnlCaA5q+4mKnHnFXATi2txXI6HUFD65668kon9RRVSmwe6i7ARJAYf4j1+ZUx+AgxV7jAVT0/trsYgt/M7cab9AN4U0jImqWf3skesUwgAwzSsRvom5E1enTCwrMArYCwOV/Vo+dA8EWn3M9hwjA6As81/o2/h82eE8SHhf6O+c5L50tFu+iaTEuB9xLjM7FjQ3lDnYW/Y12frJ5/fFGJqE1mYS+OEWmyai5/pDGDi1fJ0QXsrDcTWY0fqqa28K5VfCy6aR6m7/7qs8EsvpqXAOT7qwD9TPhHPo5v2J1yDvZEnQo4YzLOmX/zIjzdSwGltVSKGJmfolFZV9nvOJsrsU4Nw= X-MS-Exchange-AntiSpam-MessageData: Y0tecqGMiUZVK2h6CY9kRaabAv/44J2gBdqWiRv6cjhU71pqiXgfBve4J9stxyuo/nIA9XyxNuiDntlfwzlxoMS2sa+zVMwNprKlMOHrg6xUygok7us6dkBQh5wnm52UEpsTPV4ea2YhNhEeOi9ciA== X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 41cea2ff-3b55-47ae-20d5-08d7bf080388 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Mar 2020 00:15:44.0748 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: gzV2kJzdOJvRPjDSrNhkSAqtJRI2K/7TGJiG08PiCNFbD0x5gxaYz9vuMQkl0cBPQdERxh+ZiiLneSUzUfRLIg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB3166 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org From: Vu Pham Add HCA_CAP.egress_acl_forward_to_vport field to check whether HW supports e-switch vport's egress acl to forward packets to other e-switch vport or not. By default E-Switch egress ACL forwards eswitch vports egress packets to their corresponding NIC/VF vports. With this cap enabled, the driver is allowed to alter this behavior and forward packets to arbitrary NIC/VF vports with the following limitations: a. Multiple processing paths are supported if all of the following conditions are met: - HCA_CAP.egress_acl_forward_to_vport is set ==1. - A destination of type Flow Table only appears once, as the last destination in the list. - Vport destination is supported if HCA_CAP.egress_acl_forward_to_vport==1. Vport must not be the Uplink. b. Flow_tag not supported. c. This table is only applicable after an FDB table is created. d. Push VLAN action is not supported. e. Pop VLAN action cannot be added concurrently to this table and FDB table. This feature will be used during port failover in bonding scenario where two VFs representors are bonded to handle failover egress traffic (VM's ingress/receive traffic). Signed-off-by: Vu Pham Signed-off-by: Saeed Mahameed --- include/linux/mlx5/mlx5_ifc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h index ff8c9d527bb4..ea4a28ff5281 100644 --- a/include/linux/mlx5/mlx5_ifc.h +++ b/include/linux/mlx5/mlx5_ifc.h @@ -738,7 +738,7 @@ struct mlx5_ifc_flow_table_eswitch_cap_bits { u8 flow_source[0x1]; u8 reserved_at_18[0x2]; u8 multi_fdb_encap[0x1]; - u8 reserved_at_1b[0x1]; + u8 egress_acl_forward_to_vport[0x1]; u8 fdb_multi_path_to_table[0x1]; u8 reserved_at_1d[0x3]; From patchwork Tue Mar 3 00:15:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Saeed Mahameed X-Patchwork-Id: 11416901 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5A6C2930 for ; Tue, 3 Mar 2020 00:15:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2EADB21556 for ; Tue, 3 Mar 2020 00:15:53 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=Mellanox.com header.i=@Mellanox.com header.b="lYpmYbl3" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726974AbgCCAPw (ORCPT ); Mon, 2 Mar 2020 19:15:52 -0500 Received: from mail-eopbgr140089.outbound.protection.outlook.com ([40.107.14.89]:56068 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726890AbgCCAPv (ORCPT ); Mon, 2 Mar 2020 19:15:51 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=X6QbBFFsdVgCAQgRKkEpn7JSWd/IYeEnyC3pxZH7mhMYSVg0nuQCLb1aFaQYD2GKKaJNMK6JZkEFtn0Sob1vggzTqMUYATktuFY+fQk3lE+8JbuEYJZkmhy1W35tKmBQYHtTArZ36ysvthb5WRctVn2C94li+mP2qRNo7E9CbZBWW4wRIVN8mMOkuU5SzB0J/qPPkNPbf9sYS9eMnFcZpplHGogvf1JzJ+YGkz79aYL26ztGLYkPx2CTl0ptWPdjl3jucdgK6eU4YDTQ34zjClcwB9e/rOhJImBhz6PPJnmyrhfNhYtnrZbX0UODqebr/eomf9XlxnJc/bXgyqxUJQ== 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=LXbZ2ILvX87fAESdFMFuWrlLSuClmph+JzTBHD+Qa3k=; b=nzekEHTfrnnNl/NBY4TDOKk4AWanIxRnx8ySdfFnaGJWCtTf6w1krJ49NN0yI4lVvWctegXXDdcgxSdJnpZgr7AWSCWzkNWgiMgTqh3ltRo1Pe7rgQujRURWeLtJ8jITt3Pu/aaxOdMrNbh4EBY6dI2QfpuKGKGRvmM8s9tZ3NJ1T4DoaXkhw1c14g3BMmdk9fAfzjPC0Zu5MfrSNiatix+Ye2r2cEzlZ9uW0YyOUDzy70FwjruhKQ770jSScwjxjqxrBlgmSRpJtYpkMPmCDGaFAmuBnB3OV6aCtkYfbV0+oC+QFlKqorYLAy51o1K08EZNK/FuAgvDm6aPOoIAOg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LXbZ2ILvX87fAESdFMFuWrlLSuClmph+JzTBHD+Qa3k=; b=lYpmYbl3En6vOZ5LvXQYOmzP9QqIV2Ev5Ms4DNYVBWOchxRuphO42gq8UWI7w5/wg/u8SBZHDJeagz4+FJkIypzROg3GzBXvtdViE7LOlLeNqGSks8U2WG6NXm5vDQVJBctYOVK/vWyrSZtPw0Oes7zJa8ujMBuAFueE3Dgg9No= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=saeedm@mellanox.com; Received: from VI1PR05MB5102.eurprd05.prod.outlook.com (20.177.51.151) by VI1PR05MB3166.eurprd05.prod.outlook.com (10.170.237.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2772.15; Tue, 3 Mar 2020 00:15:46 +0000 Received: from VI1PR05MB5102.eurprd05.prod.outlook.com ([fe80::8cea:6c66:19fe:fbc2]) by VI1PR05MB5102.eurprd05.prod.outlook.com ([fe80::8cea:6c66:19fe:fbc2%7]) with mapi id 15.20.2772.019; Tue, 3 Mar 2020 00:15:45 +0000 From: Saeed Mahameed To: Leon Romanovsky , Saeed Mahameed Cc: netdev@vger.kernel.org, linux-rdma@vger.kernel.org Subject: [PATCH mlx5-next 2/4] net/mlx5: Introduce TLS and IPSec objects enums Date: Mon, 2 Mar 2020 16:15:20 -0800 Message-Id: <20200303001522.54067-3-saeedm@mellanox.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200303001522.54067-1-saeedm@mellanox.com> References: <20200303001522.54067-1-saeedm@mellanox.com> X-ClientProxiedBy: BYAPR08CA0018.namprd08.prod.outlook.com (2603:10b6:a03:100::31) To VI1PR05MB5102.eurprd05.prod.outlook.com (2603:10a6:803:5e::23) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from smtp.office365.com (209.116.155.178) by BYAPR08CA0018.namprd08.prod.outlook.com (2603:10b6:a03:100::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2772.19 via Frontend Transport; Tue, 3 Mar 2020 00:15:44 +0000 X-Mailer: git-send-email 2.24.1 X-Originating-IP: [209.116.155.178] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 65f117f2-91de-4948-a9a9-08d7bf080496 X-MS-TrafficTypeDiagnostic: VI1PR05MB3166:|VI1PR05MB3166: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6430; X-Forefront-PRVS: 03319F6FEF X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4636009)(396003)(136003)(376002)(39860400002)(366004)(346002)(189003)(199004)(110136005)(316002)(52116002)(6512007)(6506007)(8936002)(6666004)(6486002)(36756003)(86362001)(81156014)(81166006)(8676002)(1076003)(2616005)(16526019)(4326008)(450100002)(5660300002)(2906002)(186003)(956004)(478600001)(26005)(66476007)(66946007)(66556008)(7049001)(54420400002);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR05MB3166;H:VI1PR05MB5102.eurprd05.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; Received-SPF: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: sKTBbSrAwqHL1ORXgNw1xPKLm+QlM9OOYnpxZXb5JhdFCqMqDRv3NbaZW8DqwTV1VQqX2uMNAxVu9CQTREvM69AIWEqnZXzHyLGufx2dr8r1J7ZgKh1J1nk6Ff4iDFkCdg5ZkmRW/hxHqF9MyrE2oq81/2N+bexE8IQjfm0bU96xUKN0JxisrH+4M/rVSpWezQoZmVKZphrYDuGLLJ84Fnuz9ePN6FKob7hLXNhyb1ZhW0ayWVzPU/BP7QbWLhzRmWZppgsF5S1rU9GB+IR7DDs0OSrJ7SajLLqC8XK4viJ0TWrgEC2bb/tm9wTLf5Yiep2c6insHTq2aNToKhrBTaMk6Wr3BQjj5fx6ezJxzXik3ry7TBxKDx3cHQdnLGbnGq6eaWOUXXPHR9smh1Q2d3Px7orWkLyC7M2qW9jfFItKNellx6OW7+agI5Ds2BVyYCAGQacASytvLyZ9LBSfNhOlttbcUWkd0urCpe41iJlMBnJpVzsm3SRWJkFT7PYNGo8x9oCpUE29+y/+kJ8S20wErYNMVOGAtjKV1zW1qxE= X-MS-Exchange-AntiSpam-MessageData: 9J0ZkSP9I9duvfa0YUJvMq0I4dni4+4Lamb3ATzrixXDOsHdX4QGMK3tKF5wIVh4dci+WuH262iqhkyXgjxL1JvIzIPrbOvTBdufNACv/Jo0oXDUZGkpMIFt9bPiqbz1/pf2DoYnDSm3AtAG0ciQqQ== X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 65f117f2-91de-4948-a9a9-08d7bf080496 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Mar 2020 00:15:45.6939 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: HAIN8akVdxmKW5PjzNO5v2dWSFNBX1p23kTaXOhD4jP5S489uJJxYnPczjHtyqtOiHmuKPS1rFwmhuRYr1PN0w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB3166 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org Expose the TLS encryption key general object type enum correctly, and add the IPSec encryption key general object type enum. Signed-off-by: Saeed Mahameed --- drivers/net/ethernet/mellanox/mlx5/core/lib/crypto.c | 2 +- include/linux/mlx5/mlx5_ifc.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/mellanox/mlx5/core/lib/crypto.c b/drivers/net/ethernet/mellanox/mlx5/core/lib/crypto.c index 3fc575d1c3ec..dcea87ec5977 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/lib/crypto.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/lib/crypto.c @@ -42,7 +42,7 @@ int mlx5_create_encryption_key(struct mlx5_core_dev *mdev, MLX5_SET(encryption_key_obj, obj, key_size, general_obj_key_size); MLX5_SET(encryption_key_obj, obj, key_type, - MLX5_GENERAL_OBJECT_TYPE_ENCRYPTION_KEY_TYPE_DEK); + MLX5_GENERAL_OBJECT_TYPE_ENCRYPTION_KEY_TYPE_TLS); MLX5_SET(general_obj_in_cmd_hdr, in, opcode, MLX5_CMD_OP_CREATE_GENERAL_OBJECT); MLX5_SET(general_obj_in_cmd_hdr, in, obj_type, diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h index ea4a28ff5281..471e26c1e8d9 100644 --- a/include/linux/mlx5/mlx5_ifc.h +++ b/include/linux/mlx5/mlx5_ifc.h @@ -10483,7 +10483,8 @@ enum { }; enum { - MLX5_GENERAL_OBJECT_TYPE_ENCRYPTION_KEY_TYPE_DEK = 0x1, + MLX5_GENERAL_OBJECT_TYPE_ENCRYPTION_KEY_TYPE_TLS = 0x1, + MLX5_GENERAL_OBJECT_TYPE_ENCRYPTION_KEY_TYPE_IPSEC = 0x2, }; struct mlx5_ifc_tls_static_params_bits { From patchwork Tue Mar 3 00:15:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Saeed Mahameed X-Patchwork-Id: 11416903 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 532FF930 for ; Tue, 3 Mar 2020 00:15:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 287FB2467E for ; Tue, 3 Mar 2020 00:15:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=Mellanox.com header.i=@Mellanox.com header.b="C1tJV/qK" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726992AbgCCAPy (ORCPT ); Mon, 2 Mar 2020 19:15:54 -0500 Received: from mail-eopbgr140089.outbound.protection.outlook.com ([40.107.14.89]:56068 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726971AbgCCAPx (ORCPT ); Mon, 2 Mar 2020 19:15:53 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KwSRYmaL2bqT54nMjqXigLN2UJtzkhzL9c+aW++Sk+Aty7ASAFB3il5TtYuEXuFs+yhO2TWcJDnW/Zdizn5TaWgZQfFIjW7T5+h0n5lbT2gqihGp573SvWMEMkUe5+8HlIjC9CXr3zicM67zw8HtMRil8CdGwZjmU7jwekAXhz/0IZgxkZS+sL+x4aOH9pF2P1CSjtHx1Yl7e7cuDX5y5QuMp886WFTNx8IE3Y9g2gfR6zy2kMnoCC35/GcXwLMyZLBTJ4+lJdfann+5AzpnmtCCrdibnNy82fUDGsoZP3zyfpjdh0KaG3pKPJ9spO1ISyP6MTGV+ngdHUUb0fMrrg== 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=7I9FQ/54c160T03edEtnjXWns2RYtPr+IhComoYAPiU=; b=JV/8GE18e8JZsxUYLLWO3OPv3HpPy1RIZHRzS8AhXgiNGmvxyLysPyOauI7lJHDtXE6MStvMdWZ8mhnsZtQHF5Hr74vDUjwaAVxfMJtM+6ZPeH/+Z/hrQ07ijM+IZHYhgGlCmbURSa8iYC3LKjXcUv79LruEjLZi5eN4E41u/c6amW9QGV0a1BfPVf8+jHuUoQyGAN+0eYBFSx7dAlMAYEVxlUVP8e5EMClmoDugDyzB6uP7uEb0QgoOzqfhbFVtvf9YsLaYVcTp6l1f3o0hrkQ2MQclhmj5OfBlGxi3pXU0wdni42U482A89dwSR5JJEuZf1q3wM+kafOcCM1M/mg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7I9FQ/54c160T03edEtnjXWns2RYtPr+IhComoYAPiU=; b=C1tJV/qKMYjeGsSUdTdVhCzFlrv7McOYUeVAUIQ7kKAIi2K0clug9CJcF3zPS0LEegnYIQ7auY8gvWe9y7jE8bHGcXJg0Xva5pGLwNisc0XHnpOir9TfRh4Ssvt/jxFV+uWtqL5YOdioqaieE6ZWTR5C43v0y+SXzgYHyHFjGoI= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=saeedm@mellanox.com; Received: from VI1PR05MB5102.eurprd05.prod.outlook.com (20.177.51.151) by VI1PR05MB3166.eurprd05.prod.outlook.com (10.170.237.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2772.15; Tue, 3 Mar 2020 00:15:49 +0000 Received: from VI1PR05MB5102.eurprd05.prod.outlook.com ([fe80::8cea:6c66:19fe:fbc2]) by VI1PR05MB5102.eurprd05.prod.outlook.com ([fe80::8cea:6c66:19fe:fbc2%7]) with mapi id 15.20.2772.019; Tue, 3 Mar 2020 00:15:48 +0000 From: Saeed Mahameed To: Leon Romanovsky , Saeed Mahameed Cc: netdev@vger.kernel.org, linux-rdma@vger.kernel.org, Mark Bloch Subject: [PATCH mlx5-next 3/4] net/mlx5: Expose link speed directly Date: Mon, 2 Mar 2020 16:15:21 -0800 Message-Id: <20200303001522.54067-4-saeedm@mellanox.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200303001522.54067-1-saeedm@mellanox.com> References: <20200303001522.54067-1-saeedm@mellanox.com> X-ClientProxiedBy: BYAPR08CA0018.namprd08.prod.outlook.com (2603:10b6:a03:100::31) To VI1PR05MB5102.eurprd05.prod.outlook.com (2603:10a6:803:5e::23) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from smtp.office365.com (209.116.155.178) by BYAPR08CA0018.namprd08.prod.outlook.com (2603:10b6:a03:100::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2772.19 via Frontend Transport; Tue, 3 Mar 2020 00:15:46 +0000 X-Mailer: git-send-email 2.24.1 X-Originating-IP: [209.116.155.178] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: cb94919d-525a-46de-16fa-08d7bf0805ba X-MS-TrafficTypeDiagnostic: VI1PR05MB3166:|VI1PR05MB3166: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1468; X-Forefront-PRVS: 03319F6FEF X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4636009)(396003)(136003)(376002)(39860400002)(366004)(346002)(189003)(199004)(110136005)(316002)(52116002)(6512007)(6506007)(8936002)(6666004)(6486002)(36756003)(86362001)(81156014)(81166006)(8676002)(1076003)(2616005)(16526019)(4326008)(450100002)(5660300002)(4744005)(107886003)(2906002)(186003)(956004)(478600001)(26005)(66476007)(66946007)(66556008)(7049001)(54420400002);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR05MB3166;H:VI1PR05MB5102.eurprd05.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; Received-SPF: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: qff3kvPIBQgM0+K65xRfcTG1TD4h1CyBp4gGel/U4iroIf2Pe364Zygrgyab602C8JsL6k0NWg572jS6DGnftfPh5X2UUGYuX4EJIJfODH9uJzom6G1BL+7h6d5lv5hXdECEwv8RUdhY1QLgWU6KUH5eUKWUIBMHf8OuRmxlXV1l1o8+s+XgNpH32Bfr4ND84EOLKHIeT167oKAlTCB1RIwt/ew71dzKtulVl+Vw3VhzQ1PtiGbh68xbyQ1M21D4+o2JkDsKJ9z5OjR8Teqi+tPq+ynmdkPL7OVWlABxW/Mpb6pQhozslxQkho8AN/69GCX2J6NLF5f3CIzc1+TF4WTIJ2JGJixrGaqHovKiiNO2Qe9EFVtiseUWfIpZzqk8cKTbd0tktWCOrl0C8CJD8pDL4odYZtVpNGkZ1LEpMsoKD1EgI4SmRuwXtPv1p7rQ5Rh0avpwz5yDlYVpsXaVNdzvFnpTtAre9aN0sDQFT+trKTn0jA2dxmhOnKx0WDTAdZGIMkht2b4Q+F+XgBLfP8EeS7CskGv1hLFwMX8u0ug= X-MS-Exchange-AntiSpam-MessageData: pKVxAgfcCi2EMA7bH71Kw4Zk8Aa508Vg+7cBeKBSSTJ5nfjDxyKSGP2Ow/zw4Ckuj85FpGV/BkKT/RRlMyjWfaQbLc09QqeS2MhOKjks9l8mtokjByDjCU6NITZUYxEMv/zJfTWo5JKL5JfyTXeVdg== X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: cb94919d-525a-46de-16fa-08d7bf0805ba X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Mar 2020 00:15:48.1484 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: VPCvlp6gENzzzHiX/O9vtSDP9R/rzHNf8DwVyKUtkLwk/PIDGDA+dAFXV6rBQo0aHdvp5SetH1CHNBDdxMoTtg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB3166 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org From: Mark Bloch Expose port rate as part of the port speed register fields. Signed-off-by: Mark Bloch Signed-off-by: Saeed Mahameed --- include/linux/mlx5/mlx5_ifc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h index 471e26c1e8d9..c764a65e5754 100644 --- a/include/linux/mlx5/mlx5_ifc.h +++ b/include/linux/mlx5/mlx5_ifc.h @@ -8417,7 +8417,8 @@ struct mlx5_ifc_ptys_reg_bits { u8 proto_mask[0x3]; u8 an_status[0x4]; - u8 reserved_at_24[0x1c]; + u8 reserved_at_24[0xc]; + u8 data_rate_oper[0x10]; u8 ext_eth_proto_capability[0x20]; From patchwork Tue Mar 3 00:15:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Saeed Mahameed X-Patchwork-Id: 11416905 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 38B8C14B7 for ; Tue, 3 Mar 2020 00:16:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1622621556 for ; Tue, 3 Mar 2020 00:16:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=Mellanox.com header.i=@Mellanox.com header.b="Fzf4rrzs" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726971AbgCCAP7 (ORCPT ); Mon, 2 Mar 2020 19:15:59 -0500 Received: from mail-eopbgr140089.outbound.protection.outlook.com ([40.107.14.89]:56068 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726890AbgCCAP4 (ORCPT ); Mon, 2 Mar 2020 19:15:56 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Y8C+0qFeIqCm2ReuWXtWXCdpUKgSlPSpieRoyuePKqg2errKDItrwqBVImaLHWikm3AWDaYwYQ8OTzGXPwKn0xH6uG4mDEqnk0dVcu8XITPtIPRmSh9/WdQe4CJ7te43TtSi6tUmnteSChTMd+aUaJG+TfCJNcOAO+E8sSaqTgfVduLOaAP+QY8q5GDSZTqWa2wLYQwwPdHDXCb3avvQxdP+1aEfgA3kIauWK93Amo6owti6INRQ1L+mvkxO5VRBHGWCL/MyfcYqBLTFF1r5P8ADPJaElmiCnNokYmFRk7yPM4i9sSJXLHYU8xoJDnuO7dZo/hq9Fuv80DvU/C9uJA== 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=cBH5F4fnMNQu5toZdQVdSzqDfl0rPlaIZ0Ys6DME2gI=; b=dVLfxRrTiTpIraVgb8mi9WxFIY3Sy6fj3v4mWyolmXRfHJebYoEZn6SXIEb38lg6aT8vBaAdIRqGsmORT+Vza/zg3jfpYMLPLTI5wJgO5rVPjd3Ma4sM7SrM83qvS33Gx3oDjbunzJCwrKKf0hYzk2Ull2uRoQegrhjMYRIlsWkSiE23vW45XQcVGieBFvvBftOzBTkusPjXgp468nTPgZ21kUbIi5ENZF3B2vRHlgCkmpQRIKodCQdYkLyCsxcKRSjA1FW3EMwRTPs1Qv59mh/4beRC+YIwz5eUn0omXXJcG9BY1/KIdsHHAxE9IniqPaZCp1DOJqvMy9vsuVh2Bg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=cBH5F4fnMNQu5toZdQVdSzqDfl0rPlaIZ0Ys6DME2gI=; b=Fzf4rrzs4jSQsQmuUc0NseeAuQfF1EWCpYnJGwbTw5ffAoX/NoiKwo7xTABzsCmVdOtSOTAGhcyOR28Lt85w5YEPMkQwiMaubS1ow6ujSKeNa2K4BoaBpuKIV4gCTw3IMdbKzapWTUaKec+30GlQWChPiuVFeb9Fq6TLc5XKABw= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=saeedm@mellanox.com; Received: from VI1PR05MB5102.eurprd05.prod.outlook.com (20.177.51.151) by VI1PR05MB3166.eurprd05.prod.outlook.com (10.170.237.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2772.15; Tue, 3 Mar 2020 00:15:50 +0000 Received: from VI1PR05MB5102.eurprd05.prod.outlook.com ([fe80::8cea:6c66:19fe:fbc2]) by VI1PR05MB5102.eurprd05.prod.outlook.com ([fe80::8cea:6c66:19fe:fbc2%7]) with mapi id 15.20.2772.019; Tue, 3 Mar 2020 00:15:50 +0000 From: Saeed Mahameed To: Leon Romanovsky , Saeed Mahameed Cc: netdev@vger.kernel.org, linux-rdma@vger.kernel.org, Eli Cohen , Roi Dayan Subject: [PATCH mlx5-next 4/4] net/mlx5: HW bit for goto chain offload support Date: Mon, 2 Mar 2020 16:15:22 -0800 Message-Id: <20200303001522.54067-5-saeedm@mellanox.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200303001522.54067-1-saeedm@mellanox.com> References: <20200303001522.54067-1-saeedm@mellanox.com> X-ClientProxiedBy: BYAPR08CA0018.namprd08.prod.outlook.com (2603:10b6:a03:100::31) To VI1PR05MB5102.eurprd05.prod.outlook.com (2603:10a6:803:5e::23) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from smtp.office365.com (209.116.155.178) by BYAPR08CA0018.namprd08.prod.outlook.com (2603:10b6:a03:100::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2772.19 via Frontend Transport; Tue, 3 Mar 2020 00:15:48 +0000 X-Mailer: git-send-email 2.24.1 X-Originating-IP: [209.116.155.178] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: e745fc9a-767d-4246-bfbe-08d7bf08072b X-MS-TrafficTypeDiagnostic: VI1PR05MB3166:|VI1PR05MB3166: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1417; X-Forefront-PRVS: 03319F6FEF X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4636009)(396003)(136003)(376002)(39860400002)(366004)(346002)(189003)(199004)(54906003)(110136005)(316002)(52116002)(6512007)(6506007)(8936002)(6666004)(6486002)(36756003)(86362001)(81156014)(81166006)(8676002)(1076003)(2616005)(16526019)(4326008)(450100002)(5660300002)(4744005)(107886003)(2906002)(186003)(956004)(478600001)(26005)(66476007)(66946007)(66556008)(7049001)(54420400002);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR05MB3166;H:VI1PR05MB5102.eurprd05.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; Received-SPF: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 1FH/U57OGsGPlSyB3AljlIvLjTVJnUrixsRkFswJQ8jfmsc2zL2ITGzlGDeZx+GXwTJai8FFXeeFZsXs2dzlXigYA7hmF/fzgmcXTX1V6F3iz3dQ4pC3h7noMnIVWRLKLyxBLDYzqFYigajxWdBnjJWReJ5vPgMsyerjZzUx8sjgkvZ/7dYYLjLKSeZQ+D9BpvEUkcP3fGcFzpW6JA1oTamFopbLZN1iP1zaqoZAw6KiqXZxsgBEEWVEteOj0jnMNkTiR8/2GosVPQqqxqwBe2q7RC/Iq5oRhmFAqS6/qEvb5i7XzYmj7oCCWijfZ8HXt11KtsiX9modrcSske1g/HGdBe+wGUXA06rACoUl1APlJkQTAyuioZluAuSkGA0K1pcWbKWYYoy8CEMRcYawUDLaKOSrwu3TIk6rAb2ESGnrUUqGpG3Mb2cpDlhUPo8p7pbGs5vw/RnX6dYN5gW18GLeDTgbjRxsv9TSyeiUeoUAVZPgVMgSKCSWbb3sK/iV64D8rG4oEHFDUK9t7dKaW5/a+j9LD+g3IAq5RMHmE44= X-MS-Exchange-AntiSpam-MessageData: QZpO6A0sKiK0pw6Q7mk584+o+TERwejz/opKZGGU31Za16zAOtqPEwyTiSRL7I6XEQlDeYmzjwjM9zgLCVhf1MldK5cMURAV1pXdce4jJI+t3WbOPS1rFm92+T/6HpLJg7a+5q2EaUBdYJj6O5qlMA== X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: e745fc9a-767d-4246-bfbe-08d7bf08072b X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Mar 2020 00:15:50.7219 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: uA7Y1S1Uii4FhhwYnvg1KuBAzUn6xRMR5lDEo5HE76NZdzhcoG/Ncl9s0rAQkTopv/YMli1LMkAeJEsL5TXwEg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB3166 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org From: Eli Cohen Add the HW bit definition indecating goto chain offload support. Signed-off-by: Eli Cohen Reviewed-by: Roi Dayan Signed-off-by: Saeed Mahameed --- include/linux/mlx5/mlx5_ifc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h index c764a65e5754..01e7f3c8bd10 100644 --- a/include/linux/mlx5/mlx5_ifc.h +++ b/include/linux/mlx5/mlx5_ifc.h @@ -414,7 +414,8 @@ struct mlx5_ifc_flow_table_prop_layout_bits { u8 reserved_at_16[0x1]; u8 table_miss_action_domain[0x1]; u8 termination_table[0x1]; - u8 reserved_at_19[0x7]; + u8 reformat_and_fwd_to_table[0x1]; + u8 reserved_at_1a[0x6]; u8 reserved_at_20[0x2]; u8 log_max_ft_size[0x6]; u8 log_max_modify_header_context[0x8];