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 B058B432FA; Sat, 11 Nov 2023 04:09:35 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9FE2142E2B; Sat, 11 Nov 2023 04:09:35 +0100 (CET) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2048.outbound.protection.outlook.com [40.107.223.48]) by mails.dpdk.org (Postfix) with ESMTP id 3AF404025C for ; Sat, 11 Nov 2023 04:09:34 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZeDObEiy5xouth49ODYQOI2cjvaXmpvpycfRgRXKT/AZ7ZDyHpR2jgJtA5scxQVPRAD2I0KhhmnUsB/cCgs0oqplNrQvOE/yLuwY79n4IiIlTPmi8zByVr4U1Wibn66MCmtV7KHdSuxqXuz1YIdKucUkp8gYznmELWAIWpZjW8e/8uZEBKXv08g/R4poO6USj6yLGwtf3/qezbLSE/kFIP1sb+9cqYrIHu2P+wNT8yE2NNtDRm9E35TdzwqpZ+KwRhjP3h/cImP0C/yu5neEnrklYo/bwcakHA4GWkmKhCCw5nZldkfW6rX7e62KkmZOusaCrO71rybEcei/4FQ5XA== 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=YHk5TTvRi/l4O3Zrbo7PWfRp9W7wMKFIl8KSaiRgmMM=; b=ZiGBrp/Ee/jL/eYkAzPnB+FF3zq/qDCRw8+pAAz2TVUtsF1ZBRVDw+SEkSyCSH5gJYZQpJwk619DEFUNza8LbB0sdMgiUrENxtpkCS+zk9TmtnPTBnS/kOPvqikD1ncEkJo8NmD3zIFPdR/HUGdJLDjQ1pIjHBbB8ocLI5myY5sjl7Ixnstc1+Ixby1uo+jbserOB94wNMpd4iM+MgCJ/HQI+/vzrh3rRoG/VUy1zb1Yc62stNsqsUOwvCnJ2vVgD26emMRJEX29cg9OZZpADNvLkCeH4+F5FAAE50eLw1Bv84BITCx3dZThzUiaITkEQNMtGNAK6F/Qm1I+nEWS5w== 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=YHk5TTvRi/l4O3Zrbo7PWfRp9W7wMKFIl8KSaiRgmMM=; b=udO6oWYuyQS68ItPbLyb7dhIqcnEyEo33GkVXCi1Dmsm5TDMNX2iJYVpNpF/r+f+n2TzKq8vue3QHpuXIXr3pGWOsEDhWEwMALINa3abfKmpJ+TSPEGmRKohg62IUecMN5lspaXgbApxE+rE/DgwlLCWis1PZgpj3QD0MsrPgu8= 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 CH0PR12MB5329.namprd12.prod.outlook.com (2603:10b6:610:d4::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6977.19; Sat, 11 Nov 2023 03:09:28 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::2569:edb2:670f:816f]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::2569:edb2:670f:816f%6]) with mapi id 15.20.6954.029; Sat, 11 Nov 2023 03:09:28 +0000 Message-ID: Date: Sat, 11 Nov 2023 03:09:03 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] app/testpmd: support config offloads for all ports Content-Language: en-US From: Ferruh Yigit To: Dengdui Huang , dev@dpdk.org Cc: stephen@networkplumber.org, aman.deep.singh@intel.com, yuying.zhang@intel.com, lihuisong@huawei.com, liuyonglong@huawei.com, liudongdong3@huawei.com References: <20231110091013.1737957-1-huangdengdui@huawei.com> <820ded2a-d934-4e3d-91c9-9d76d9294348@amd.com> Autocrypt: addr=ferruh.yigit@amd.com; keydata= xsFNBGJDD3EBEAC/M7Tk/DfQSmP1K96vyzdhfSBzlCaGtcxNXorq4fALruqVsD3oi0yfyEz9 4YN8x7py0o9EL8ZdpOX0skc0AMCDAaw033uWhCn0GLMeGRKUbfOAPvL6ecSDvGD7CJIO9j0J eZUvasBgPdM/435PEr9DmC6Ggzdzt8IuG4PoLi5jpFSfcqxZFCCxLUDEo/w0nuguk2FTuYJg B2zEZ4JTBZrw7hIHiFh8D8hr6YA6a5uTofq1tr+l048lbtdFUl8TR0aIExVzE4Z8qKZlcE+9 RQaewjK5Al1jLE4sHdmd3GN+IvgDF3D/fLsi25SKJDeGSdeHkOmaX0qGeM4WKIfU6iARRCiQ N3AmBIxZ/A7UXBKLaOyZ+/i3sE6Wb53nrO4i8+0K2Qwyh6LjTeiJAIjYKN43ppxz3DaI+QwQ vI+uyHr4Gg0Da9EPPz/YyKauSeOZCfCB5gIfICO0j6x0SCl8uQ2nLpjxcZkf0gjcwUzP3h+S 3x6NfDji9YEij0zczW/dcSpGgZ6vsFpPrtnP9ZXy6J53yp0kJtOJoOlkEFFdU2yCZnCDseum CoudmGLZVvS0/DzHDJejq+3kK3FDGktZBOxZIIpal+nFqS7lVgOZc4+huVv3jyhzoAUOEyXA XK5j6o7g8STUY+z33QNnHpdLvecMwuzmvqy0jR54yAbZ64mB9QARAQABzSNGZXJydWggWWln aXQgPGZlcnJ1aC55aWdpdEBhbWQuY29tPsLBlwQTAQgAQQIbAwULCQgHAgYVCgkICwIEFgID AQIeAQIXgAIZARYhBEm7aYjps5XG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JIZ83qkZQ795MTe2YScp9dIV7fsS5tpDwIs7BZNVM1l3NAdK+DLHqNxKuyO 8Zk= In-Reply-To: <820ded2a-d934-4e3d-91c9-9d76d9294348@amd.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: FR5P281CA0006.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:f2::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_|CH0PR12MB5329:EE_ X-MS-Office365-Filtering-Correlation-Id: bff22087-f944-496a-1772-08dbe2639dd8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: AyTi8UfoC8u2W5wboBTfGyomTHVQHYpQr9XXNvw0ej6JxfL4e+YVhfJ26y5p0pvGUJbh3tdbDEMAl66fPHmieRR1fgmIpa4RyMMhZtvpmmJiatZ+igi3fQHaF1BMPz6bRXJykXSLq+MInjXZr8/0bJRu/45HVMGPbQgkIW0hP0IW0qkcLZyxAoKLD16tWyp28lhQetP7R1GhINiiIYyRtBvep5/RjjMVCtLrzz3SFsTylgKM7dLXC7a7wZkLPB4s4nJUsXmcLaWdib23NvHHYPystdUsrUlWRAhjXAY737ujDQ0wALWe6r6qHnsU03FsCrqsLJxJCBM0hDVjiefNeLYtZ81/0o4ufJI6wNAcFm6zetFfaU57baoy6iRBZGfa0V16gDdXi/qg3jF0h6aVBpiqb+1BQpkI+yGZSzih4+xXPxEcN93pa6+5EJqnBp0FN+YS7IwjFF1WjCnz9Lk9qIhDhJ7X8HVirijpnxG8o3GjLL85DNO5MqgI9CWkrNGRMsTOqHcjUrtAgqRMha7RpMNcNoR446QzgO+T1Dhxw9L1Ke/ldtp7LaQ9nj75Wgp+8FE+PqSakEN2j1B4viSlckxoalT2ZZZSPQ0sRRtpDpjRmWEA8LNVIZoV3N5doQlpEBdCABpjf+GF6RHvBh+UZg== 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:(13230031)(346002)(39860400002)(136003)(376002)(366004)(396003)(230922051799003)(451199024)(186009)(64100799003)(1800799009)(6506007)(8936002)(4326008)(8676002)(6512007)(6486002)(31686004)(53546011)(2616005)(6666004)(26005)(44832011)(66946007)(66556008)(316002)(66476007)(478600001)(41300700001)(5660300002)(38100700002)(2906002)(4744005)(36756003)(86362001)(31696002)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Q2RRZldRUVpqbldPMmpCN0hYTmR5Q2l3NjJKUlVlNDQ5RkNCb1JUWDVOUnlt?= =?utf-8?B?V0k0b1RJOXlxTHFHWGpQM0kzM0NMMGVDeGVQdEI5Zk01cGJuYmJDMXRldTl2?= =?utf-8?B?NW1qQ0VIRHJhZzFHUmIrTkI1dVNlYXNLWVcrQythK1R5SXR0b0JMaXFrcE4z?= =?utf-8?B?Tm1CeHJSVFVUOEdMN0tsaDFSUWhXQlRjVk0yOTNpT3oxZEl4aDllRzNUZ3I4?= =?utf-8?B?d3pTVUpSUlhObitObkR1T0lwQ0JyZVJQOWR3Y25zcEcxcEJ4aUxJd01GaTRm?= =?utf-8?B?d0FkQVVxYUlkK29hUXQ5TjErWXFBeHppWmlIREVUZmRvSGZTWjRHbzVDSE0x?= =?utf-8?B?YUh0ZXkzSnVXSjFJTzVjSDBJLzJxcUJVZUo0UWcvY29pcXhPd3Z2dnhpYVFt?= =?utf-8?B?L0QreU1LZ3FXWWM1Nlh4akpTTXhibWFRSjJQdHk4Ni9VOUhKZjRwTXIzZ0FX?= =?utf-8?B?L295azU0S2NNaEJPYlFxVHdp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?B?ZEx0NXkxSUZ0dzZzeERZSzBwOUVrNFhXaXc3OFNQQWRpTkNoMnI3Vjlablps?= =?utf-8?B?RS9FbzZVMDV5NDBKZVlpOW85TkdwQ3FQaGJEMko0dFpoeXV5eTlnVk9RRUx1?= =?utf-8?B?eWhKeU52QkdSK0FNNCt1OVdkTUtodlBwdDBwTzhtRVpwV3J0ZlM4T0tyMzdF?= =?utf-8?B?N3BxWVlpVjdta2syT2xTM1JxcFFHbFBRM0d0VEFSU1JJUDA2dUJFOXhyclVr?= =?utf-8?B?TmZLeDZSRUp2ZU1PcHhFRndtS05rKzg2endzN1N5U0h5SXZpRGNtZmxUYUEr?= =?utf-8?B?ZWlrOTVIWHlPSE9qT0swQmRrVm1SejZPTGRuVUVxVGM5WmVVM0tGVi8yYzQ0?= =?utf-8?B?SGJJL25lREdXQVIyaGxiVFRIRVpuR3h2M2ZBUXYrYkY3ZmJFYkJaZWJrNlFm?= =?utf-8?B?Q2V2bEpneEhxNTZMMzY4ZjhzbTQ0eTVNZlQ3TUtpb0FhSUZxdkk5bXlzeVJ1?= =?utf-8?B?M2JXODVScWx3Vy9Tamx1aWxPZ1JBa3VuVVlybi8xSGxnQTNSNWYxays2bUIr?= =?utf-8?B?VVBlMUhMdWFkRERuYzRZRjU5TlBnWXJ2eVppblNpZG1tNW41V1pXaTc1eHFt?= =?utf-8?B?QlZlbWxmSGw2OUpEcmNLV25XRUprK054UVJZRG1YU1hUcE50T094S2hoRThk?= =?utf-8?B?UGJzb01MMzV5d093WW1Ld3pIdTAyRHZ0ZGU0bGtjQmFMdjNVYmI0UzJsSXNu?= =?utf-8?Q?1T1RdbitkZZqo5eqwoAn7YYBC?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: bff22087-f944-496a-1772-08dbe2639dd8 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2023 03:09:28.2898 (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: cNerBlX0G3QeatYEXjQ3hkMGAJUTMhwMvlN1nJOZPbhU8ePUUSjSVheZam2kJAyF X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR12MB5329 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 11/11/2023 2:50 AM, Ferruh Yigit wrote: > On 11/10/2023 9:10 AM, Dengdui Huang wrote: >> Support config Rx/Tx offload for all ports in following commands: >> 1. port config all rx_offload (offloading) (on|off) >> 2. port config all tx_offload (offloading) (on|off) >> >> Signed-off-by: Dengdui Huang >> Acked-by: Chengwen Feng >> > > Reviewed-by: Ferruh Yigit > Applied to dpdk-next-net/main, thanks.