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 EE40542C12; Fri, 2 Jun 2023 20:16:11 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 72D4940ED8; Fri, 2 Jun 2023 20:16:11 +0200 (CEST) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2053.outbound.protection.outlook.com [40.107.243.53]) by mails.dpdk.org (Postfix) with ESMTP id F1802406B8 for ; Fri, 2 Jun 2023 20:16:09 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MdItPWvAoNwRfUTxaBMwLLlB2Z1Ocjj5VHxuwwqIr4B5iotQA+3Zww82Xg4HkM+fPrs61rSgYhORhYxkbRkvo8V/CKivR2B/0KoTXZMHHiE15LDKb6v3yMcM/zptijkObQlOIgzadGeckY9g2v+R5GaieOsbjHszH8QEBRlqOoAHDQTuA0Ojg4RbScr4oGpQltFflIjPI79Q7sL9jGwsA0qsh+kDC2JlpXYrKRD2nuAiihzl9qURe3dUV/+gbhiiYDgIDM/cnGQd9CM9ujj3fsOixf+OLbCslNmS8Oow1aV1uDvzoPm2K1+tLIk4a/J8Xg5yvj0TF6Hq9Sxxva2FqA== 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=qnYeFfaGaekTKshqLVQz86NncFKceF1GiumkKTzkrpA=; b=XSUWVKsckEAR4ZrVXJX82aegRpRZuZg0Mrjihog0z86a0zbfm+HemRPsFjmxdsD1n/5SUgvKfHZ/oemmepJ5TRXC0iaJfjnab83HNknVLaG8leIMrv/Aa86PrRS56jOkxiTwB1WqhO+vyzZ/v5hsvRAj8rIVo/y1beDd2XSIcnEzD3qdGGF2RKM1qJqSmwTnRiZGpA6wFr/CSndWb/v9HxjKfJ7GH8Zv61ZclJGs5JHITzHTnZTdzi4tbXbpdm3L7Vn6Ik/yqX8v5wK5VdXFvm3xPpRUZtoAwr46J/OAuACJHD1hpBym254Uy537pR1bICB59Rre/Tb+tCE67w0Mkg== 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=qnYeFfaGaekTKshqLVQz86NncFKceF1GiumkKTzkrpA=; b=JVLkHDjB66ppuShHd5u470hXJBHwpoXXULxxYcovmLI6YNFKmwTWFmM+sY2zar0f8BE6a3VTm4iFYb+U4poPBGNl4J2StwdWzMDVj0MXNw4vP+HvRiIRZLuIytXNbB5wxdVnt5s2cwuNZZCJZQw19IT5GCt4hg9ZcrdWhzvwH8s= 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 BL1PR12MB5377.namprd12.prod.outlook.com (2603:10b6:208:31f::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.26; Fri, 2 Jun 2023 18:16:04 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::7957:641d:6aba:3f9a]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::7957:641d:6aba:3f9a%4]) with mapi id 15.20.6433.022; Fri, 2 Jun 2023 18:16:04 +0000 Message-ID: Date: Fri, 2 Jun 2023 19:15:58 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Content-Language: en-US To: Ori Kam , Rongwei Liu , "dev@dpdk.org" , Matan Azrad , Slava Ovsiienko , "NBU-Contact-Thomas Monjalon (EXTERNAL)" , Andrew Rybchenko Cc: Aman Singh , Yuying Zhang , Olivier Matz References: <10910654.BaYr0rKQ5T@thomas> <20230328122742.738048-1-rongweil@nvidia.com> From: Ferruh Yigit Subject: Re: [PATCH v2] app/testpmd: set srv6 header without any TLV In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO2P123CA0052.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1::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_|BL1PR12MB5377:EE_ X-MS-Office365-Filtering-Correlation-Id: feb2b3a6-dc78-441a-a7b6-08db63956d4c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: GN+uQ7RDs1CNTSBI+10UKqq4+4rZYHehrNkUporvlXShwzrNg6O1Bd+/EjlDumbTdwCvRePmZZz20+NaM+ibrVqnGJqCekyJK6m4PCmkkATKTdGd2WYCt8uN8pKa2D+juRcGS0woEpk0PH2KUyAjJ6Xvy1xGLVn0lNEGQylv52cYNNYm1rMUmQXS3TsF6VKZ5ra7HZenb/HfC/de0XDOssK1BJKaXbCHQxy+mKLJGdHs14FvZYG1ZGZvyu+dRd26iRA+Lb4KZdhRETIOOVZqoCKfPKokYn7sKRYcAedxTrrfmVrf7U5bvvQSnuwzOkC697MwNpq5EgCWhO1d/duvajWPSeDNWxUUyr/xRqc/OKLlaUzKLQfV9hqxVb6iwFtpxbNTmxgR6kOYQmynWpkYdJUgSgDFcDRTPVsUt++YkZcvpteQH5WTRyaRZgq7+ndz6NSPCxLe3/kVqmBWlwUXV1FTAaA1kCfrNhKPVu60jTgMhl7XVG85yRMaw04XUWELrvRRI3mtW9qTANiiwMi2sWgG3WJbJzuneIQbRwTb6GkmhRVIRtANmt7ut+chAvQOcE4Y3MJWNeVjakzLNQWtX+7GPOILKge2gyx6GYeW0vmQNHND0fnLpmfcU03b/OKYNfQl7b9H8gy3wA0rEiGRrw== 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)(136003)(376002)(396003)(39860400002)(346002)(366004)(451199021)(6506007)(53546011)(6512007)(86362001)(31686004)(186003)(31696002)(66946007)(66556008)(66476007)(4326008)(7416002)(2616005)(5660300002)(8936002)(8676002)(478600001)(4744005)(2906002)(6486002)(38100700002)(44832011)(316002)(54906003)(110136005)(41300700001)(26005)(6666004)(36756003)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?NXd6ek1rYng1RUtHK0VScTI1TDV6czJzZmkyZnpHTFZCMlRmRU8zRkRpNmhM?= =?utf-8?B?Y3VUeEtsZzJoaHV0VDJiZm8ydmRGdEtZVUhIcnAza3lRMHFRMmllT1IyblBu?= =?utf-8?B?cnpWSmRMakFtRW9jdWx4bTRFT2dwNkdPWVV0S3BtaFMxYkhSQWxIbVFjMGhw?= =?utf-8?B?bDR6d1Z2T0ZnRTlQcCtoYTkrSi90MzNjVFVyNVRlZ3JGZkhTeUhpcnhnekU4?= =?utf-8?B?elRoL2grNytuY3g0T2tIdlhvWnAwbkFJTEVaVUhHL0dIWjAwMnFTUzhSajFm?= =?utf-8?B?aXMwRG5zMXd6b3ZnRk9ZRGV4YnY1N1Y2WExWTWxDSHVTTUp2REVuZWJWRzZI?= =?utf-8?B?MGovaWdV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ant-Network-Message-Id: feb2b3a6-dc78-441a-a7b6-08db63956d4c X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Jun 2023 18:16:04.1552 (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: 3W0ukXjGNzPNP/1AJGJlsGFF+o+asl8CNTp3xMN/C0OG7n3APQ7Kue/On/1vGiL5 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR12MB5377 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 5/28/2023 3:39 PM, Ori Kam wrote: >>> >>> When the type field of the IPv6 routing extension is 4, it means segment >>> routing header. >>> >>> In this case, set the last_entry to be segment_left minus 1 if the user >> doesn't >>> specify the header length explicitly. >>> >>> Signed-off-by: Rongwei Liu >>> > > Acked-by: Ori Kam > Applied to dpdk-next-net/main, thanks.