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 02EA1460C5; Mon, 20 Jan 2025 16:02:45 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8A90140A77; Mon, 20 Jan 2025 16:02:45 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by mails.dpdk.org (Postfix) with ESMTP id A54DA4021F; Mon, 20 Jan 2025 16:02:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1737385364; x=1768921364; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=ZQ16j+1TwURlWy2yZ3bVaQRY7F+Agwg5JLmUW9Px9Yo=; b=JpSULXci1a2RDMR4XpOir6J9eVMm0wKzsbrq0dF7JPIMpDjLe20U+KpJ iH2fG/FGzIVsT2igGhzAoV13irQ104lZdzcBFltlXwXt0Cf0VxFmJAhLJ wHROy1nCquJTNVU1QyLQmnJ8HnCfqiMGyu1XYZC3fdkrerUjxfIiwtp8w mlH4aEOsQq0OVsnLrAUjZaob/ND5WOsVP8pE0z6a6XqoAnC99hmC0wxh9 7Kzr1tp9UTVVFolXdwFv8ZLbPsN0IwTF2by3a22IBR4TdKR+EItXEVQlS tOIht7Fxgoeqeet1/bjnmdSbzDdiYtGezb0TZi9TBMhs6kNeyR8OyWTgv A==; X-CSE-ConnectionGUID: nA9DUIi4Q8SW7tIC+RhnAQ== X-CSE-MsgGUID: 8ZdDjrjFSpeKTIuJZF0XOQ== X-IronPort-AV: E=McAfee;i="6700,10204,11321"; a="55189247" X-IronPort-AV: E=Sophos;i="6.13,219,1732608000"; d="scan'208";a="55189247" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jan 2025 07:02:10 -0800 X-CSE-ConnectionGUID: Q2TqMX04SQ6900ekboirZQ== X-CSE-MsgGUID: NLhpgvlIQ/i6cIpWYsT0Jw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="106982763" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orviesa007.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 20 Jan 2025 07:02:09 -0800 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.44; Mon, 20 Jan 2025 07:02:08 -0800 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.44 via Frontend Transport; Mon, 20 Jan 2025 07:02:08 -0800 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.49) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.44; Mon, 20 Jan 2025 07:02:07 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=cMu1kz8PElL/Lvit3H2CO/BBdWsmomS/ecwPojGw5RHjrSM2Ph760BCwErD9ceb2pwanOqt7bj2AkpMGHpBpHd8X2o1LmCQIYsBRLK7T5s8juEwhrMez1nVhHcDlmWsnzU8hYe9ukzZ8fI55WmgZbS6dIk+L9LrwOd1WXPwwRykQ8mp/JllTmXiVaDrisCj0gai+hTEB944aSOqvK1LOQcRginDysGRjMuIa0FP/cFGvuXW8IrVPR/zNox1vadeywktGYHNEKr4xXADe3cJ4cC1Hf5p+z9M9IJ0LxycSSoh8y/SfeiC0vduIzFHW1LKSPvO3hALk6QblLSaD1MHr3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=0ItnTwZUsGqYVWmCnfANELTnUntZ5oXAOe4V7x7Vh6U=; b=BCBu8L6gdmNXHYdelfE9YIM9uXSOPpZSRX3Pi1UAhrsBxOOIcH+TzMw6hJ5R3SZoPrE9K7SHcr5tTd+5+MWwwvNeacWq/jebxZ/iXsL0xodRMs6SHo/9naqtusEBW3Uj1ICRejh61Vl1HjcZABlEBidiHEP6Dn1rJ1np+sYlQ7MajW6u6NKda9Cgf3xJWUAJ5c3mf6McLQlyTJnBiep5sHusbu3whRV1IJn0W5X6OmBKDn9reHxEmQCoVhCSd1DLSQo6zMZdCBA1xAgCPZcnUa55CXj7cYQ7lHaF5oCZt6azNwuH05kGLI3LYG+7BBot9r9OsIpFk7es3iimON4GAw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from SJ0PR11MB5772.namprd11.prod.outlook.com (2603:10b6:a03:422::8) by PH8PR11MB8257.namprd11.prod.outlook.com (2603:10b6:510:1c0::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8356.21; Mon, 20 Jan 2025 15:01:52 +0000 Received: from SJ0PR11MB5772.namprd11.prod.outlook.com ([fe80::5851:319:3da6:850b]) by SJ0PR11MB5772.namprd11.prod.outlook.com ([fe80::5851:319:3da6:850b%5]) with mapi id 15.20.8356.020; Mon, 20 Jan 2025 15:01:52 +0000 Message-ID: <20009eb6-1e85-4fc1-89a9-b97e5420f6da@intel.com> Date: Mon, 20 Jan 2025 15:01:47 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] net/iavf: remove reset of Tx prepare function ptr To: Bruce Richardson , CC: , Ian Stokes , Qi Zhang , Wenzhuo Lu , Yiding Zhou , Zhichao Zeng References: <20241213143319.686365-1-bruce.richardson@intel.com> Content-Language: en-US From: "Medvedkin, Vladimir" In-Reply-To: <20241213143319.686365-1-bruce.richardson@intel.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DU2PR04CA0260.eurprd04.prod.outlook.com (2603:10a6:10:28e::25) To SJ0PR11MB5772.namprd11.prod.outlook.com (2603:10b6:a03:422::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR11MB5772:EE_|PH8PR11MB8257:EE_ X-MS-Office365-Filtering-Correlation-Id: c48c6103-67c6-44b7-6b49-08dd39635f1c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|366016|1800799024; X-Microsoft-Antispam-Message-Info: =?utf-8?B?U0pYVWY3VTEwVTNTQzZwQzhrOURRV3BDeVZWVDdnL1FRQ0FndFpCS0RkZUZ5?= =?utf-8?B?eHFtbUdzNmhIVHhMdXVUUGttYmQ2SUxYdEdHbWpjUFFnN3RoWHo5U05LOERG?= =?utf-8?B?RjFVRitlYUZ0c3lURFhZbVRjLzVrVzFNTWhINjBOdlY1MTFWdmxHZkprNXFa?= =?utf-8?B?ODhiSHBNZDh1L2FQaC9kYUFmaFJCV09VVUhnVWk0NjhGV2xxc2hpM2RJVDg5?= =?utf-8?B?UkRLTVhzeVRNNWFJL3dqSmdMaUhNT3NRQWlEZDdhemhkdzREQW5Mb2N2emFE?= =?utf-8?B?YVphZWVxL0o2RXVGZTM3T3Zj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B?TWVaQk5SczFJUEdJdXZWekRsMTk3UG5vcTlaQ3NmRHdhdVlab0lkNGo5WWlS?= =?utf-8?B?UlN2SHVyRERxM0JKejE0ZzF3WGpOZFMwbjFtOERNb0pjdHFKeHFJMWJGRCtv?= =?utf-8?B?Tm8yZnRDcGJQdW93c2h5L2tOR2JiNDVNYmVaWjRRQ3BPRjJkdU1McW5YVFFi?= =?utf-8?B?bjU3dkdzOUdFbTcybmplaDRuYi9BRmpNWE5Ud0VNdlRLQW9VYmg3QzFUbWZo?= =?utf-8?B?NkVtRTh5UGxNTXU2U3Z6Vk5RblZDM2VxckpjS0tBd1NiY2xlWTh4TlcxYzl5?= =?utf-8?B?VTdIdGx5bkNjKzZibHFHZ01USW4yMjl6OVlsYVNJV2xxYWFIeWV5MVlJZk5j?= =?utf-8?B?SWNyNmtKZmZiMWhqdWFSc1hjdzdIWEdkRG1TWnFyQnZNbWRqWWNhWFl5dWZ3?= =?utf-8?B?R0Fxb2pZWW5GaGV5aXNtZWZmSUFDVEtzU25BTFk0SExmSm5qSFJ4R3g3NzNu?= =?utf-8?B?a1FBc2NFY0FwZk00VEpYSDFFcFZKbGJzSFhQZzdvaVA1Z2tHZjlnZ0tDMVFr?= =?utf-8?B?cW8yMXRLVjdwSzRWenVGRS91Y1UrZG13a2NIVkNEc3hNU2Yzc0lmQklvWXE1?= =?utf-8?B?V0srTllyVS9lUjQrYVNvS3JUNHQ4SElxTG5VZStXbXk0Rm5ocE0xWDJFeDZR?= =?utf-8?Q?P10sg68bG5uLM?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR11MB5772.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(376014)(366016)(1800799024); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?S3ByaWFveXo3WWVxUENZNDdkNmh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3?= =?utf-8?B?Tnl5L2ExY0tYeisrb3A2Rzk1NFg0V2h0NVg0SWlEU1d6SXhBMHJtOHVmOVl5?= =?utf-8?B?dnFSK01tZTd1SVMzRTlJQkJUb3Vma0FTTVdlTVllQjBRWURNSytHOG53UmFw?= =?utf-8?B?N2xtU1Q2RnRVbDZWRVF1cWFCTHRmdndUeW9nYWVCN2JHWk1velpiUmFwSEN3?= =?utf-8?B?ZEptSko3RFpDdlo2NFJKSEgvWjdwbWVtWXh5WnNCTXBPVXB3K2pBclQzQlZ4?= =?utf-8?B?QTI5a0hsRXRhWXZzMmwrY0luY3lvSnpvWHRZUWxwWFk3UzBMY0VybWpKdVVN?= =?utf-8?B?NkM5b1RYQlBENjdXd0ZLb2FkRXZQTGJ5TWwxSHZoUlhJS3JxSGdVb0ovdWdx?= =?utf-8?B?QkE9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: c48c6103-67c6-44b7-6b49-08dd39635f1c X-MS-Exchange-CrossTenant-AuthSource: SJ0PR11MB5772.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jan 2025 15:01:51.9386 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: CWYDI04fvTy8loKQFzBnpa3d3kjRObLgPSSnwIuwYzirVIg0JhWTxh7R+Cx+c3FXiFIjTSkCkfcWaY3rtGmVSlY+AWFRusvfzOrugNmjo9E= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR11MB8257 X-OriginatorOrg: intel.com 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 13/12/2024 14:33, Bruce Richardson wrote: > The iavf driver only contains a single Tx prepare function, so when > selecting the Tx path, there is no need to reset and reassign the > function pointer in the ethdev structure. This fixes an issue where the > pointer was reset to NULL, but never assigned back later on function > selection. > > Fixes: 5712bf9d6e14 ("net/iavf: add Tx AVX2 offload path") > Fixes: 08eb6a9cc2e1 ("net/iavf: fix Tx L4 checksum") > Fixes: 4f8259df563a ("net/iavf: enable Tx outer checksum offload on AVX512") > Cc: stable@dpdk.org > > Signed-off-by: Bruce Richardson > --- > drivers/net/iavf/iavf_rxtx.c | 6 ------ > 1 file changed, 6 deletions(-) > > diff --git a/drivers/net/iavf/iavf_rxtx.c b/drivers/net/iavf/iavf_rxtx.c > index 6a093c6746..98a1d3f69d 100644 > --- a/drivers/net/iavf/iavf_rxtx.c > +++ b/drivers/net/iavf/iavf_rxtx.c > @@ -4173,7 +4173,6 @@ iavf_set_tx_function(struct rte_eth_dev *dev) > if (!use_sse && !use_avx2 && !use_avx512) > goto normal; > > - dev->tx_pkt_prepare = NULL; > if (use_sse) { > PMD_DRV_LOG(DEBUG, "Using Vector Tx (port %d).", > dev->data->port_id); > @@ -4190,7 +4189,6 @@ iavf_set_tx_function(struct rte_eth_dev *dev) > goto normal; > } else { > tx_burst_type = IAVF_TX_AVX2_OFFLOAD; > - dev->tx_pkt_prepare = iavf_prep_pkts; > PMD_DRV_LOG(DEBUG, "Using AVX2 OFFLOAD Vector Tx (port %d).", > dev->data->port_id); > } > @@ -4203,17 +4201,14 @@ iavf_set_tx_function(struct rte_eth_dev *dev) > dev->data->port_id); > } else if (check_ret == IAVF_VECTOR_OFFLOAD_PATH) { > tx_burst_type = IAVF_TX_AVX512_OFFLOAD; > - dev->tx_pkt_prepare = iavf_prep_pkts; > PMD_DRV_LOG(DEBUG, "Using AVX512 OFFLOAD Vector Tx (port %d).", > dev->data->port_id); > } else if (check_ret == IAVF_VECTOR_CTX_PATH) { > tx_burst_type = IAVF_TX_AVX512_CTX; > - dev->tx_pkt_prepare = iavf_prep_pkts; > PMD_DRV_LOG(DEBUG, "Using AVX512 CONTEXT Vector Tx (port %d).", > dev->data->port_id); > } else { > tx_burst_type = IAVF_TX_AVX512_CTX_OFFLOAD; > - dev->tx_pkt_prepare = iavf_prep_pkts; > PMD_DRV_LOG(DEBUG, "Using AVX512 CONTEXT OFFLOAD Vector Tx (port %d).", > dev->data->port_id); > } > @@ -4251,7 +4246,6 @@ iavf_set_tx_function(struct rte_eth_dev *dev) > PMD_DRV_LOG(DEBUG, "Using Basic Tx callback (port=%d).", > dev->data->port_id); > tx_burst_type = IAVF_TX_DEFAULT; > - dev->tx_pkt_prepare = iavf_prep_pkts; > > if (no_poll_on_link_down) { > adapter->tx_burst_type = tx_burst_type; Acked-by: Vladimir Medvedkin -- Regards, Vladimir