From patchwork Sun Apr 10 10:29:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adham Masarwah X-Patchwork-Id: 109552 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 826D6A00BE; Sun, 10 Apr 2022 12:30:16 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0FBD24068C; Sun, 10 Apr 2022 12:30:16 +0200 (CEST) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2050.outbound.protection.outlook.com [40.107.92.50]) by mails.dpdk.org (Postfix) with ESMTP id 81AEC40042 for ; Sun, 10 Apr 2022 12:30:14 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=V3zNrpNvfdtwS1YLEtrfMsNNI6qBjwmP95PF/H9haVQsi2G35qsGEcilGSDiYPiCNwOVGsJDjHsQef+FeF+nEXjdpcFup9Y/z9FSiRcTta9UeB8x9G2UE+JH6Upn3IyIb7CU+AiuahJ00/eV0OoW87hMBs1UglIjl6RIJyQLnZ0WeVRx4uH6z+6kqbhT3pYGiJc4gevfOnmAWsofvQDnr3n9NCOGoNFMyJQBuVlltQYrAXRKZjUWUhuvt0RGfdSjAYTwvaAL1Gg+zhObInb81wnj7SvAhp/r3GZKS2UVj/+qjS882P9IkoGB69LM5YVY+ab9tImXssuueIxcyjvwpw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=pGQfV5j52T0R9OwRozB5L5FfOA9GNEkU5pdJz//0Ycc=; b=WEFeKLMRrGAwk43TbDn8LoW0xc3D99BSklLCbcMRBP/KiwKDZEulzMj8rMLRqRMjnVZtBh0U0yhC6Bi+qU60EVVIq/jXi/VP1G10m8ybKIzt+MoYvCjS1jvExqcArvXaCR2BagVx/381CEX8xfPipJUZ/BPx0ye+LRNir1lyvC7NvD0BeHsnYhyMdMTNENqSvdJNZ/OgL08VpE/6Ot3vl7/KRSyk0kCjEZuAOwIVBitGoNqjSmv1kJGzpzU2peae0tUf+Rqt9pHsOIa2IUPhMpKTYyKhUArngTZAbyFEmi/SNECwQ0o3B1CQJumI+q3H+GYZzwelA1hPGgZpiHFhKQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 12.22.5.234) smtp.rcpttodomain=monjalon.net smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject 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=pGQfV5j52T0R9OwRozB5L5FfOA9GNEkU5pdJz//0Ycc=; b=E5S9KyPT8aHMhFEAk1+6xkO0ZYiKszzG9UHApc4jRO+TVrzoFH6TOzS7YsJdO4grZdjy4mODVoPtiY9YBFlkBMSK3wRMMXq8jkMXYp8sIpyvY67jB2fwdvE2vxcPrSyl/pgSaYeIc+gqBRg0X+HF/rptYcV4MsnxaIMiAOcJyXXK3+oZRND5XDTkh78n4LpJY9KAJdSvCb5VApCiI7RZy4qwB9vU7tzvt8NsMSwouUKG/FSkFZKYLvT3Wn5G78rrw5Jlx/q6engYTgn7CEsAhGs5r3aD0yyWib7gsUyJtTnXPBsfdinY/RgGDqCD0r0e0q1ldSXQX63VR01d168d4A== Received: from MW4PR04CA0139.namprd04.prod.outlook.com (2603:10b6:303:84::24) by DM4PR12MB5133.namprd12.prod.outlook.com (2603:10b6:5:390::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5144.29; Sun, 10 Apr 2022 10:30:12 +0000 Received: from CO1NAM11FT005.eop-nam11.prod.protection.outlook.com (2603:10b6:303:84:cafe::21) by MW4PR04CA0139.outlook.office365.com (2603:10b6:303:84::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5144.28 via Frontend Transport; Sun, 10 Apr 2022 10:30:12 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 12.22.5.234) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 12.22.5.234 as permitted sender) receiver=protection.outlook.com; client-ip=12.22.5.234; helo=mail.nvidia.com; Received: from mail.nvidia.com (12.22.5.234) by CO1NAM11FT005.mail.protection.outlook.com (10.13.174.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.5144.20 via Frontend Transport; Sun, 10 Apr 2022 10:30:12 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by DRHQMAIL101.nvidia.com (10.27.9.10) with Microsoft SMTP Server (TLS) id 15.0.1497.32; Sun, 10 Apr 2022 10:30:09 +0000 Received: from nvidia.com (10.126.230.35) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Sun, 10 Apr 2022 03:30:06 -0700 From: Adham Masarwah To: CC: , , , , , Subject: [PATCH 0/2] net/mlx5: support missing functionality for Windows Date: Sun, 10 Apr 2022 13:29:53 +0300 Message-ID: <20220410102955.66448-1-adham@nvidia.com> X-Mailer: git-send-email 2.16.1.windows.4 MIME-Version: 1.0 X-Originating-IP: [10.126.230.35] X-ClientProxiedBy: rnnvmail202.nvidia.com (10.129.68.7) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: eea59b7f-79e9-4d1a-eeeb-08da1add1834 X-MS-TrafficTypeDiagnostic: DM4PR12MB5133:EE_ X-LD-Processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2t7y+wywuufSeMdVDYEm4+NSIQ8aZiFMMzC3Om3O+HrEnMsys0dq+as+937Uhr7c5VRdgKZKlI3CELo05CeCty1Qw7CFvwBwwEKewdiBfqegxp0HH47uzNTLMlqPhLsUNuKVp7yxnLCv7k+8sfPNWhPCGETi2klvPm9NUYtQ3A8QCJbzKNYNMXOlD0e0Qpt9A/0jHoAjQioitCUhXnfudkFyr1aWZYjs8uwcTGCHtkf2IEbycIFO2H1YrcDjfhaD5fQi/n5csVKM7NApcey+MeXmtgM6L6v/5OpyXVElfvnU7ALaPm7JDeW2WLKBBpU++ePbHy6aYP0CoX9awlNZ9gufE4lw50/B6MKhmk3IOm/sJ+T33SWTI4FJObnkqBsjP29eFBrrZuwu8NTrqRdvYcRUlYF94Lq/tRNXBdFIjliRARXwaheqIolbZeHRSa8+A2kfpL9ukQk6Z1v1Dfl5CmnngCeiar7VNot5p7jNjKxeoHhYNcDGUjJtO1vqe/pwYaanRBhgczGg2/uoqqZA13c4USgYZmXwsfGq4L+/BlGFxtx++H8VE36HX3l6wCXy4L1/NruyTC6i3U1yP5gllA5pKzeAFihLN0drQaQXtLo48grnP+bU/pePZ14lcaGWpjkZriQwee6iR003EucOc+B4gCGEEcMnb4sr/pWaMrNQM+OBGHWj4sgmuQwynOJRyFwyEEq1udIfqazGmSKVvw== X-Forefront-Antispam-Report: CIP:12.22.5.234; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:mail.nvidia.com; PTR:InfoNoRecords; CAT:NONE; SFS:(13230001)(4636009)(40470700004)(36840700001)(46966006)(8676002)(40460700003)(508600001)(2906002)(82310400005)(356005)(55016003)(5660300002)(70206006)(54906003)(81166007)(6916009)(4326008)(4744005)(70586007)(316002)(426003)(2616005)(36860700001)(16526019)(186003)(83380400001)(336012)(1076003)(107886003)(26005)(47076005)(86362001)(7696005)(6666004)(6286002)(36756003)(8936002)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Apr 2022 10:30:12.1469 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: eea59b7f-79e9-4d1a-eeeb-08da1add1834 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[12.22.5.234]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT005.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5133 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 Adding support for set promiscuous modes and for MTU set/get Adham Masarwah (2): net/mlx5: add support for set promiscuous modes in Windows net/mlx5: add support for set and get MTU in Windows drivers/common/mlx5/windows/mlx5_glue.c | 86 +++++++++++++++++++++++++++++++ drivers/common/mlx5/windows/mlx5_glue.h | 8 +++ drivers/net/mlx5/windows/mlx5_ethdev_os.c | 31 +++++++++-- drivers/net/mlx5/windows/mlx5_os.c | 15 +++--- 4 files changed, 127 insertions(+), 13 deletions(-)