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 6B2EBA0350; Mon, 28 Feb 2022 08:10:17 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CA44F41159; Mon, 28 Feb 2022 08:10:12 +0100 (CET) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2048.outbound.protection.outlook.com [40.107.93.48]) by mails.dpdk.org (Postfix) with ESMTP id 799134068C for ; Mon, 28 Feb 2022 08:10:10 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lAz+SDcrKBmXv3B4EmVfdtMFlWNt04dfk+OVhCEOENKFiITnlabwqXtOB0oooEEgzeECGrx5YBolNA2qcUVsck0DCLnFkp4Vh5MosOW4kLq9cllr0fHAJXgS6ytiB9XCD3mtfJgjCVv9gHv98G4q+6P1jpPHoQnje4evyfVDHoNNPPA3mo2DBcCDT7TtHk4R/Pi8u2DT3pAljAgQvO7q2AWkfqSmaTup9zqNkttNKB24ciEkCO/PlAiJeXrUHH4oB1xU5UoLYR9Nwf9ocOjLavMTI5ksX5qKhNjJ+ocusC7NbWdCtJv5jHyaihXisY2nUwURsgA+P8MI7LiDBsl3Ag== 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=xd4bGU0Y8VDxO33WnJVOw21EQf8XD2c895TEpGizRN0=; b=nMaPYc97FHCN0CRQhgHeWMNcgPLSlHLJ0nIT8gPBhbD96KNlnPOVe0Tcxgs3Pl5FWcWhUYvGpTMHT+sInYvSSXNbNwRyD/CIB4xjBFI2ILS0sy+RHdsewTKCvgtHnCPa0p0cKAJbGvyWoEEe7Po1WsYyORPUUIDhMCq2eSOjiTTb1X4KYXT7QapIDIrRNwBhgxs0GYxC68R6yWu/2uKYsPdmpaHvztVsS4f9mzHXe5xox9Wo7PhNYHs9mRIXw3kUIYCmFMNnehle02imqJosuQCEuADjZv0tk9az+b/4MtCm2NXqa1KIZdrbkgyZezuS4264WeemE+EgP6A7JdKMWQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 12.22.5.238) smtp.rcpttodomain=dpdk.org 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=xd4bGU0Y8VDxO33WnJVOw21EQf8XD2c895TEpGizRN0=; b=iH3qTSz8yYa42O3/dF3CHue7h5wM+c4cJGpofk2cZ/lU7mLcVzwF7wnd1NQrIeX2J+2Z/Ubplnwgl1aylsVidL4hKkYuClYD21/1JdcCJufL2iwYz+wGhnn0zt/dP2d5Ve8kh+RK6Df4su7G4+8rL670vyLOn83hri/du50lUvpPNuH8D2n+3Wlu0u+OfeAbHOR1if5o3/0hQS+CPqRa9eeC5/+rZTL+sfIDr0roEGMI6rjqIFgZ6FJVh2mJoHgwxmdBPL9tMgPBGf1rq/ukbL+joDJvfspppeYDCVqOHjeQTMYx1ormdcxMVKTirMQ5yJTSoRN/0dOEudXeLFIJbw== Received: from BN6PR13CA0053.namprd13.prod.outlook.com (2603:10b6:404:11::15) by BY5PR12MB5527.namprd12.prod.outlook.com (2603:10b6:a03:1d5::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.24; Mon, 28 Feb 2022 07:10:08 +0000 Received: from BN8NAM11FT045.eop-nam11.prod.protection.outlook.com (2603:10b6:404:11:cafe::11) by BN6PR13CA0053.outlook.office365.com (2603:10b6:404:11::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.10 via Frontend Transport; Mon, 28 Feb 2022 07:10:08 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 12.22.5.238) 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.238 as permitted sender) receiver=protection.outlook.com; client-ip=12.22.5.238; helo=mail.nvidia.com; Received: from mail.nvidia.com (12.22.5.238) by BN8NAM11FT045.mail.protection.outlook.com (10.13.177.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.5017.22 via Frontend Transport; Mon, 28 Feb 2022 07:10:07 +0000 Received: from rnnvmail202.nvidia.com (10.129.68.7) by DRHQMAIL105.nvidia.com (10.27.9.14) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Mon, 28 Feb 2022 07:10:02 +0000 Received: from rnnvmail203.nvidia.com (10.129.68.9) by rnnvmail202.nvidia.com (10.129.68.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.9; Sun, 27 Feb 2022 23:10:01 -0800 Received: from nvidia.com (10.127.8.13) by mail.nvidia.com (10.129.68.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.9 via Frontend Transport; Sun, 27 Feb 2022 23:09:59 -0800 From: Michael Baum To: CC: Matan Azrad , Raslan Darawsheh , Viacheslav Ovsiienko Subject: [PATCH 0/2] net/mlx5: fix validation of count and AGE actions combination Date: Mon, 28 Feb 2022 09:09:52 +0200 Message-ID: <20220228070954.3813602-1-michaelba@nvidia.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a35c86e3-f865-4356-6b54-08d9fa895a3e X-MS-TrafficTypeDiagnostic: BY5PR12MB5527:EE_ 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: nkIGSvKN48bTcHlqCjW25r5QBrLaY0w5+aPWFcM++N8mhqwH6WBglrzEta0ZAmgLs1MCb/TZ970abZfPyznCqnj6megbI4q4PkXK53k163jZOAh00CrpzNYQJOpbtv8xJqUVWTl5vE0Ndp12a0BOovGsEDYD7H7OrWKuLk5WxHYaCHsGBvXImEWzH9mNJB/98N8/wlqwDi0zFSfhDGNxXoY1ojrezWYb9s69DGGnNTGKYV6IO+h6RZIcvXB53oyAgJYomfwGGylYOU3ntcgUxUVQRiYMyIyJ6LY3pBjiQ6IruZNiwAPPpBIFcGyRqPJa4EMyAO5kwb764kDj8VJ2sUf2r+uo0KRBtGKs9YwaGCY94lfcywMynBRGjJISlCWxbvfjyLao+13TFgU7GcKoP77MaDixmKNYwnkIOZ0xzQRX8FePKndVvGDeSfglja8NbDgZK2TMY450korNUee99BF3cmCWGrlVjBHoxim5DygTXE7eh9z7atGj5gb/RBvJGqwaxX94Mqtz88CJmn6BsUyyvb3e7d3yqkdC/zmYQ9VFcWza0+3lF275FxRT48mZrUZmRTY/sTfbe79F15HBEwITvot90cTnVPjShV3r+NBvupWGBPYotmJJGmrJZ6E6529EdGRYYDtoFmJjYQYD3+UY1uZLtridhU2b/mDrdbUkCfurHJKmHPa7BljVg/kBSw7TDOZlAHrnjdEkTuqI2Q== X-Forefront-Antispam-Report: CIP:12.22.5.238; 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)(4744005)(81166007)(356005)(2906002)(86362001)(55016003)(36756003)(82310400004)(40460700003)(6286002)(2616005)(186003)(26005)(426003)(508600001)(336012)(1076003)(107886003)(36860700001)(6666004)(7696005)(8676002)(6916009)(4326008)(47076005)(8936002)(5660300002)(83380400001)(316002)(70206006)(70586007)(54906003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Feb 2022 07:10:07.9264 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a35c86e3-f865-4356-6b54-08d9fa895a3e 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.238]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT045.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB5527 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 Fix mistakes done in floe_dv_validate() for count and AGE actions combination checking. Michael Baum (2): net/mlx5: fix overridden flag in flow validation net/mlx5: fix insufficient check in count action validation drivers/net/mlx5/mlx5_flow_dv.c | 43 ++++++++++++++++++++++++--------- 1 file changed, 32 insertions(+), 11 deletions(-) -- 2.25.1