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 03F8342CFB; Mon, 19 Jun 2023 17:58:58 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E4FFE40DF8; Mon, 19 Jun 2023 17:58:57 +0200 (CEST) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2072.outbound.protection.outlook.com [40.107.237.72]) by mails.dpdk.org (Postfix) with ESMTP id 9A42940E0F for ; Mon, 19 Jun 2023 17:58:56 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TkelION40Wtw/I7dj4LMSeC4oTuay1eUXmeOjlxm7orKd4dIbyqdohxOZKvpAGAKAnGn4F3C9gGaojKZnENWppSVl8jX5YYqDfFr086/cvAPFvoDZtO3koQxG4S4jdmFzTIZwf7UTzSb7HsDnxIRmdnzx7yDGlwv2kB1rElyICwjAJaicyHLC1l2NXq870ETU06ro+yYoeFf5pWpvYiwPLAbCU3lrkQjlHSL2NE+J8MRJSohk4J7uKoRguwx22brY6vvTWN1JSberwBg1y/l+tebFTJ63G4PxVS4YvLpLziM6Z+ruhrNx3Q8zFEJLjKenW07dbiEXU4b8syEYuyJ5A== 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=iA1j2L3TrOIoleHLwidcA1+Ceh//iV7Hm/Ae7cBO16o=; b=SxMNtYK33Gz3MYZ8r08tmPAuwUH7arKK36ZT9LksWa/XwDN5akGCYwz3MHRBoE3+s6BG9xeGIQuYB9B19zRJuZoVtC/MtbOkbz+arghiwfpNQuW6rA70L9VxfQynWlzoxX9DBR5sstECPvhNR3P4xW35Va3UuemVtZ/NZdJNAIqDGC0NXRDPIHm+gWZDuUhoY0CnbYst/zkfyUXAmFmXizBqa9N+uOVsA0CKbOBSUAYhMB41EMLXfIwRHmbRWoSTOoBusBdoCHTcKp7AU9ndibqhHuEq9qDjA7QoJlcQxI0wDGR3K+a+QmtlfeU1Vn7RqccjLVF7b6IqIiSwceNI3g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=iA1j2L3TrOIoleHLwidcA1+Ceh//iV7Hm/Ae7cBO16o=; b=EjNZa8X+Vd0h0UPnLuv3idVPxyUbpP7W8HAo1jzGrRZOVK4GCPrcGgrVWSm5dYpfP10a+dUp47GZI0vgiBuxKzH2wzz21WdyQ6L/MclFtsu/05qA3qpE4LNmEhPo8jvIlPCdpuWj3G1ji+wCJH7Tyir3RM58iEp25xCK1XqT8Io= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) by MN2PR12MB4143.namprd12.prod.outlook.com (2603:10b6:208:1d0::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.36; Mon, 19 Jun 2023 15:58:55 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::16e3:326c:5c2a:be42]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::16e3:326c:5c2a:be42%3]) with mapi id 15.20.6500.036; Mon, 19 Jun 2023 15:58:55 +0000 Message-ID: <4aa584b6-3cc5-f7ac-535e-951c1af2b421@amd.com> Date: Mon, 19 Jun 2023 16:58:49 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH v4 00/34] net/sfc: support HW conntrack assistance Content-Language: en-US To: Andrew Rybchenko , Ivan Malov , dev@dpdk.org References: <20230601195538.8265-1-ivan.malov@arknetworks.am> <20230607130245.8048-1-ivan.malov@arknetworks.am> <2fb8842c-7408-d304-d9c8-42513e3bb0f7@oktetlabs.ru> From: Ferruh Yigit In-Reply-To: <2fb8842c-7408-d304-d9c8-42513e3bb0f7@oktetlabs.ru> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P265CA0075.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2bd::16) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|MN2PR12MB4143:EE_ X-MS-Office365-Filtering-Correlation-Id: 2ebf8799-56ef-4fe8-db6f-08db70de156f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ftMSwdBVG8WkujGnlvmwf+VVDXOaCHp2+HQ6G5b9eBrqdYl1+NHbPKXuqXmhO+dF4xevMfjSUDOXZFjcMM4RFBMdnWNC6XXVJcpLDa9/NrHLGgRye0HOtEUUGfMPFdLCq3pfIgyTu2MqiBz2+8ShKenDd9tTMJo7SQ6Tiv5i0EacLGNkxIeQuEZPtfOdHmrOqDiLWxCb6p9eWThqcx6crrgR+7MsyBhhjOhafUKvutbI4g0U3a8lACwv3RASrLPPmmVLhW6Z/dItGvVpviSsLCFAsSpoQwmPvxHJ6OnxiKZeOwOElhKGDdcRhfRgOWC40F0jl9fD9cnM768rPOgpVIsSMBXx0GFk3RZb/FKgE9BzbWZKcmVJIaNr95binEACuhpce49ZheHEaiijprjKhFIawLj+jd/RG8RdzLA9E6eUL/uIceNZtVJaiJFKqQInR/mJLv+S5ip5/8UGo8y7dV+mS2ijc37ofr+N29dPtVK2e/ap1fjru/cQzV80w2w9CI9vsnMtkSQrm44tQ7mYuQc1NgHXDCpH+D4tbAAA13dCSilZ1vOAe+hR8a2jOr7UEOCYlki9wxBXwOQyQFu68hiePBkkihueBUxlzZMGE+3RllmrOJdrthi8mRnoDJq8poCTaXTb5+doXAM3OORWnA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR12MB4294.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(376002)(136003)(39860400002)(366004)(346002)(396003)(451199021)(31696002)(478600001)(2906002)(6666004)(6486002)(2616005)(110136005)(86362001)(36756003)(26005)(186003)(6506007)(6512007)(53546011)(8936002)(8676002)(66476007)(66556008)(66946007)(5660300002)(38100700002)(44832011)(316002)(83380400001)(31686004)(41300700001)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?a2twdGkybFkzMVZKbWN4R2prWHF2WktHK2IyYnFoMFhVL2N5SnNsWW1TNFRV?= =?utf-8?B?OGU3SjJmVG1rcWVWNEorbGlsUHpUbDEvSmplbEJLb2c5MHQvVzhkTlNUbkUz?= =?utf-8?B?MUNZZ1VPN05rUkNDbDVVYytwSUNEaTR4cHgycFQ0dVNITkxSVnd3NDIrYUJq?= =?utf-8?B?aWlNOG1VbGQwVHpmZnNTRGFoamxHU3ZFSVFUaEFZa0ZIalhDdWY0QmVCdDZL?= =?utf-8?B?R1J5N1pqZmNlbHpCN2FlK3ZrZzZzWXV3N1FJL3VjQjU5YnJZU0ZsaEFnUERa?= =?utf-8?B?OSt4djZRQ1dQR0RCbS9uTkc0NURZM0pEN2xxd1pSZ3R5NUVZ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xbvV?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2ebf8799-56ef-4fe8-db6f-08db70de156f X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jun 2023 15:58:54.9630 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: rCbaveL/vlCdVrXqonoX8ek1/tyX3vkThbv33F+fdl5O2yOQCssTNlSDUnpq8lS3 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4143 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 On 6/8/2023 1:33 PM, Andrew Rybchenko wrote: > On 6/7/23 16:02, Ivan Malov wrote: >> On EF100 hardware, match-action engine (MAE) can be equipped >> with an assistance table for connection tracking (CT). In it, >> an entry key is a set of exact match fields: an EtherType, a >> pair of IP addresses, a L4 protocol ID and a pair of L4 port >> numbers. An entry response can provide matching packets with >> a mark value and additional data to be plumbed to NAT action. >> In addition, an update to mark-and-sweep counter can be done. >> >> This table was designed with larger capacity in mind, >> so moving the above match criteria out of an action >> rule (AR) specification to a CT entry increases the >> likelihood of reusing AR entries and improves the >> total flow engine capacity. Make use of that. >> >> Changes in v2: >> * Found and fixed my own mistake in [15/34] >> * Fixed [16/34] as per 0-day robot report >> * Added missing release notes to [27/34] >> * Added missing release notes to [30/34] >> >> Changes in v3: >> * Fixed release notes in [27/34] >> * Rebased on dpdk to fix CI >> >> Changes in v4: >> * Applied review notes in [05/34], [08/34], [09/34] and [10/34]. > > My ack from the previous version is lost. > > Can you please apply Andrew's ack to each commit for next version?