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 3546AA0C43; Fri, 22 Oct 2021 09:55:56 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BFA0041103; Fri, 22 Oct 2021 09:55:55 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 299524069D for ; Fri, 22 Oct 2021 09:55:53 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10144"; a="228019141" X-IronPort-AV: E=Sophos;i="5.87,172,1631602800"; d="scan'208";a="228019141" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Oct 2021 00:55:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,172,1631602800"; d="scan'208";a="663088332" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by orsmga005.jf.intel.com with ESMTP; 22 Oct 2021 00:55:52 -0700 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) by ORSMSX606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Fri, 22 Oct 2021 00:55:52 -0700 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX609.amr.corp.intel.com (10.22.229.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Fri, 22 Oct 2021 00:55:51 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Fri, 22 Oct 2021 00:55:51 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.101) 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.2242.12; Fri, 22 Oct 2021 00:55:51 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Z9DRHiTPRXsifp/hnbeqnnkLKjfmzUM9/f5li8jK+Ug+u6xR5+5ePuri9lJeU93UlmHhQeqB2XtoyJ1PYEEdEq0JvbU6ZRsq9x5bi3PDNTI7t2NMWDEshJpfbkO4c8NT2H7N5k+EGucM4kTKZPPr8DcC2Z4EDeZKXJB++qiim+cEKktcmlUW6fLhGdhG3TqmpIndeBdFYQ4IDswuCEqt8XCxtVlt7tX6MYcr83lektq/JbLofpL/+GfnkVAiC7vxGFFg1Ytqt7nxXorytmad/7g2ENozpb6NJ2flSBpo9c6kwnabzv4pIZJE9kDK/fwXg0/gwYl4Dr5XLpzbteABBw== 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=s/gauKDsHZotaiU/V5ELLGaqrYgqa30LbhBSNYUt6/8=; b=gZ79gO1vtyqcjO6VkRZ7oQ2fQOojl8r/TpGPOxl39Fho2LgJTFWfaAb9gAbg+Gt+k2e5SK93QBh0dfff6ArA1WZbeKBjvWARVIb+nbmhEgl2jI6jqZeiVGnfcTQoZsldL5PI7VuyhNhg3TXSZaVDBajQhebMLwgxtmGVKKppqitRBgCqikmYpz0QxCUkClXgvQhBjEF6iHPm7ls+Z+K5NdKPU0aSGLjUqld7EGJ9qSir2F/NHvuF2RNp8otz10+99G5RFsXalt0GZU1HtMV3oH75nvshKVY1WFpPiAcwEFmmPGiDvl6q2BuuGr+z+KmbeXQ2ZwFnTu54WX8E0tyDsw== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=s/gauKDsHZotaiU/V5ELLGaqrYgqa30LbhBSNYUt6/8=; b=ZXo3rcUyXAqqE4zKWBsMuzISGJwps8NZpeHN9lvi6xfwLi9XDdlC0ujSJ4iZKuRVffQ755zlWWOwYPLHlv1qxef+INalb6JqG0CGHTXb4jt3tq+Z4VLgnDfFeM+WLJ82xu4PSKJ1I54v2iT77Ej2P6yVC5UnWGgseyB4/yfZp/A= Received: from DM4PR11MB5518.namprd11.prod.outlook.com (2603:10b6:5:39f::18) by DM5PR11MB1275.namprd11.prod.outlook.com (2603:10b6:3:15::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.18; Fri, 22 Oct 2021 07:55:47 +0000 Received: from DM4PR11MB5518.namprd11.prod.outlook.com ([fe80::a1a3:f5ec:2121:415c]) by DM4PR11MB5518.namprd11.prod.outlook.com ([fe80::a1a3:f5ec:2121:415c%7]) with mapi id 15.20.4628.018; Fri, 22 Oct 2021 07:55:47 +0000 From: "Wang, Haiyue" To: "Yu, DapengX" , "Yang, Qiming" , "Zhang, Qi Z" CC: "dev@dpdk.org" , "Yu, DapengX" , "stable@dpdk.org" Thread-Topic: [dpdk-stable] [PATCH] net/ice: fix function pointer in multi-process Thread-Index: AQHXxizGHfyWMBAQbkeRXYBwqa6/iqvepjfg Date: Fri, 22 Oct 2021 07:55:47 +0000 Message-ID: References: <20211021033527.177448-1-dapengx.yu@intel.com> In-Reply-To: <20211021033527.177448-1-dapengx.yu@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.200.16 authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6c6bb247-6432-43b0-48d5-08d995315bb8 x-ms-traffictypediagnostic: DM5PR11MB1275: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: CoRIlBWrOqvPsr0roQ5fLvQnLKameS6oD8QrQs7v3I7iv8en0WecKu1zI33QQCDLKviCRGdFvI+sn2W46Yi/EmxOY5fULLz4YcWIE/t2u4/dYnw553bguCkEKfXqO30OCHLCnNQlzMMUL3P1mzG9Ad8mjaQNDpUGOir+f8Lb6XZxLsOkKQ7frgsNF8mnR2etQ2Zy3kNc/hrC8ZdUmDuPwsfoGX054lzWZqLxqgrpEWwzQW3Rkfka2leiViLjYeCX80NrNvlEyptY7TwmVHj488/pMaDCKQXZPLDRqpr+UWbkRhPdaS5Lx1AmIYPjIS97qb1ssL6lVAlmmGnkTdU99jvUNx9H9Belt+9gh+gnP8ZLILHGsW2soq6biTMGsENvmBJswYwLNh2741FAjjeT/O3OXPyxnUaBFKdpB0SzNbxycmYzPpzwFB/UUfApWvFLdLTl/LylCBqA9OlV6LIgUbxHPWWG9lZ8/hiVCJj97UYPHvWMs+X2XOJaK0MypI0VTDAcSrKF5OlH6umuu/KUz5N/R7Hl9fxjpi3+7SbRKxtY6yGdAApscoju8b/J1gXTzM/2ztqZyNBzCemooEZJswHsDHPsJt4lq9dQiqfT61F7wt0GNioMSl0zrvvAEVMX6Q0Io8saxxSti262tzIU5hU7ScsixqkAAoXsLW9+LviUi1FwSsyrwX4NJpwF4+pTPLIBMqZRWCEYTpLaVjS9WkoYeJxt2q7aHvKhWEroGNk= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR11MB5518.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(5660300002)(26005)(8936002)(83380400001)(53546011)(33656002)(110136005)(71200400001)(450100002)(82960400001)(2906002)(7696005)(6506007)(186003)(316002)(6636002)(52536014)(8676002)(54906003)(38100700002)(66446008)(122000001)(9686003)(86362001)(508600001)(66556008)(4326008)(76116006)(66476007)(66946007)(55016002)(64756008)(38070700005)(21314003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?PrXLBgD6GxBOfhq+TRcmt4kyx6ukFE9uhbSVw3SPRIWiGPgLJDmI4L2c/Q6x?= =?us-ascii?Q?PpIox+dmGDHZ/gxInJ74NFEz4euC0PfKw3jnbxmgLKYpnUgOGQ0JrouEihaz?= =?us-ascii?Q?4+dxj0GmMrzVTB0qVF8Xg1yb62QZJT/7toV0kUx064nH1tUrW9HLRK8XL/8k?= =?us-ascii?Q?OTedT6tIjhKh396Al3n2HP95JLoZOM1oo9i6t9Rgc4q2ibZzvujCvBz+IjZJ?= =?us-ascii?Q?V9G6CkYy/eg4Lgiw3ecJd5R8jkK0kDH+edZKVTRutGwtWmSenb9i7a+XjxNn?= =?us-ascii?Q?H1uISQ9h90MAdh5hBCglPrC5ZKryyWKB4KQn7ukGfV5kPsNYDZTrYZ+IkFR1?= =?us-ascii?Q?ELAdycqD5fodkddQyzhrI6t8Q55TJhjuOi1SSdn92TkewUuieztlgkhCewv6?= =?us-ascii?Q?lWNKwEZl+SrBY5caKcmkPQIcAH5nRJujCgn5kNS/YBozCMHGdnczqZWu2Rwp?= =?us-ascii?Q?tdwgcu6q69ybWLUwui6m9nUIpGrb8Kjc6YePpuNvjGtalQ1ZsMaEZGZ+L7IY?= =?us-ascii?Q?ij7GNMvVVEuyn+Rhb5M+2bYwNcoD6a+P8ZgNLNCVXryb6MGPXXeDks6dSvby?= =?us-ascii?Q?Ji5YJdqU6vzlbupisDcY6JumilA+SOf1rf3YwHaLMn6Arfy3MFaO1OMXdFnF?= =?us-ascii?Q?vaEz15g3HOPKT2r+NGv9lxsA02CWeXSAL+qn++hKUpMrqDlUpSjwPnVTrMsC?= =?us-ascii?Q?rFPK+vXogQ5mS4FbGUqcgfQgzgQiVXrhywNW39qqB14ZuIWA1vb1gyPLGUx5?= =?us-ascii?Q?B+orkFZ+D+e5EnTBFjRLJJJtt/xpoMKBjIJiYQ+nKo2OOrN64JZZDG5QLFPt?= =?us-ascii?Q?0xcxYyEU4WVY/rFbQ7N28clhUjjdA+WzEpUOD74B4xqepyFaao35Pc2JLH5C?= =?us-ascii?Q?TKuZqeHIE3GgD+2QD6oygCOcMKiXTEQnnnLTbJc5GCy4OJl0myQ4BYMIk02k?= =?us-ascii?Q?GxHy9eAuaTYi4XKfV4mo6gvrfV1Dy7xTW/Tam3L9qjmL7nEiIZ8ypJjf6zRe?= =?us-ascii?Q?zzfssGN91HHQAqUEycGsZm9i4VeJG4wT0SmK0daGOEqpo/H8XDSVbDneyDGM?= =?us-ascii?Q?/9+2n9rtT4ZLYHQta9c9sZkYPIys/k/NOStYkLgEfCzCFlszqPwuRQdc2qQu?= =?us-ascii?Q?Mg1jw4aUR2gGyynNSwKJH1wWgqZ1Ro/IhN+TmP/ss5DD5gCsYCd7UOViaEPt?= =?us-ascii?Q?+5jqTD79BDdHDtCsn3t6g22H4l+oowmoUaF0UHYDKrrPAUz4sOup2A8GPlLq?= =?us-ascii?Q?/fyK0Ovoq15tjHFgyoFEcpKlznmOpWvh0Dnh6AjYp/z48VBNzmtT8jz4U6Hx?= =?us-ascii?Q?M2cBfGWpLHBnnAvb1bwvC+UF?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR11MB5518.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6c6bb247-6432-43b0-48d5-08d995315bb8 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Oct 2021 07:55:47.2693 (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: haiyue.wang@intel.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR11MB1275 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH] net/ice: fix function pointer in multi-process 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 Sender: "dev" > -----Original Message----- > From: stable On Behalf Of dapengx.yu@intel.com > Sent: Thursday, October 21, 2021 11:35 > To: Yang, Qiming ; Zhang, Qi Z > Cc: dev@dpdk.org; Yu, DapengX ; stable@dpdk.org > Subject: [dpdk-stable] [PATCH] net/ice: fix function pointer in multi-pro= cess >=20 > From: Dapeng Yu >=20 > The sharing of function pointer may cause crash of secondary process. > This patch fixes it. >=20 > Fixes: 7a340b0b4e03 ("net/ice: refactor Rx FlexiMD handling") > Cc: stable@dpdk.org >=20 > Signed-off-by: Dapeng Yu > --- > drivers/net/ice/ice_rxtx.c | 35 +++++++++++++++++++++++------------ > drivers/net/ice/ice_rxtx.h | 2 +- > 2 files changed, 24 insertions(+), 13 deletions(-) >=20 Basically LGTM. Just some comments. > diff --git a/drivers/net/ice/ice_rxtx.c b/drivers/net/ice/ice_rxtx.c > index ff362c21d9..7bb0ac4de3 100644 > --- a/drivers/net/ice/ice_rxtx.c > +++ b/drivers/net/ice/ice_rxtx.c > @@ -205,51 +205,62 @@ ice_rxd_to_pkt_fields_by_comms_aux_v2(struct ice_rx= _queue *rxq, > #endif > } >=20 > +static const ice_rxd_to_pkt_fields_t rxd_to_pkt_fields[] =3D { Let's rename it as "rxd_to_pkt_fields_ops", the original name looks like a = variable. ;-) > + [ICE_RXDID_COMMS_AUX_VLAN] =3D ice_rxd_to_pkt_fields_by_comms_aux_v1, > + [ICE_RXDID_COMMS_AUX_IPV4] =3D ice_rxd_to_pkt_fields_by_comms_aux_v1, > + [ICE_RXDID_COMMS_AUX_IPV6] =3D ice_rxd_to_pkt_fields_by_comms_aux_v1, > + [ICE_RXDID_COMMS_AUX_IPV6_FLOW] =3D ice_rxd_to_pkt_fields_by_comms_aux_= v1, > + [ICE_RXDID_COMMS_AUX_TCP] =3D ice_rxd_to_pkt_fields_by_comms_aux_v1, > + [ICE_RXDID_COMMS_AUX_IP_OFFSET] =3D ice_rxd_to_pkt_fields_by_comms_aux_= v2, > + [ICE_RXDID_COMMS_GENERIC] =3D ice_rxd_to_pkt_fields_by_comms_generic, > + [ICE_RXDID_COMMS_OVS] =3D ice_rxd_to_pkt_fields_by_comms_ovs, > +}; > + > void > ice_select_rxd_to_pkt_fields_handler(struct ice_rx_queue *rxq, uint32_t = rxdid) > { Only use: rxq->rxdid =3D rxdid; Then remove all case ICE_RXDID_xxx, just keep the default:=20 rxq->rxdid =3D ICE_RXDID_COMMS_OVS; > switch (rxdid) { > case ICE_RXDID_COMMS_AUX_VLAN: > rxq->xtr_ol_flag =3D rte_net_ice_dynflag_proto_xtr_vlan_mask; > - rxq->rxd_to_pkt_fields =3D ice_rxd_to_pkt_fields_by_comms_aux_v1; > + rxq->rxdid =3D ICE_RXDID_COMMS_AUX_VLAN; > break; >=20 > case ICE_RXDID_COMMS_AUX_IPV4: > rxq->xtr_ol_flag =3D rte_net_ice_dynflag_proto_xtr_ipv4_mask; > - rxq->rxd_to_pkt_fields =3D ice_rxd_to_pkt_fields_by_comms_aux_v1; > + rxq->rxdid =3D ICE_RXDID_COMMS_AUX_IPV4; > break; >=20 > case ICE_RXDID_COMMS_AUX_IPV6: > rxq->xtr_ol_flag =3D rte_net_ice_dynflag_proto_xtr_ipv6_mask; > - rxq->rxd_to_pkt_fields =3D ice_rxd_to_pkt_fields_by_comms_aux_v1; > + rxq->rxdid =3D ICE_RXDID_COMMS_AUX_IPV6; > break; >=20 > case ICE_RXDID_COMMS_AUX_IPV6_FLOW: > rxq->xtr_ol_flag =3D rte_net_ice_dynflag_proto_xtr_ipv6_flow_mask; > - rxq->rxd_to_pkt_fields =3D ice_rxd_to_pkt_fields_by_comms_aux_v1; > + rxq->rxdid =3D ICE_RXDID_COMMS_AUX_IPV6_FLOW; > break; >=20 > case ICE_RXDID_COMMS_AUX_TCP: > rxq->xtr_ol_flag =3D rte_net_ice_dynflag_proto_xtr_tcp_mask; > - rxq->rxd_to_pkt_fields =3D ice_rxd_to_pkt_fields_by_comms_aux_v1; > + rxq->rxdid =3D ICE_RXDID_COMMS_AUX_TCP; > break; >=20 > case ICE_RXDID_COMMS_AUX_IP_OFFSET: > rxq->xtr_ol_flag =3D rte_net_ice_dynflag_proto_xtr_ip_offset_mask; > - rxq->rxd_to_pkt_fields =3D ice_rxd_to_pkt_fields_by_comms_aux_v2; > + rxq->rxdid =3D ICE_RXDID_COMMS_AUX_IP_OFFSET; > break; >=20 > case ICE_RXDID_COMMS_GENERIC: > - rxq->rxd_to_pkt_fields =3D ice_rxd_to_pkt_fields_by_comms_generic; > + rxq->rxdid =3D ICE_RXDID_COMMS_GENERIC; > break; >=20 > case ICE_RXDID_COMMS_OVS: > - rxq->rxd_to_pkt_fields =3D ice_rxd_to_pkt_fields_by_comms_ovs; > + rxq->rxdid =3D ICE_RXDID_COMMS_OVS; > break; >=20 This case ' ICE_RXDID_COMMS_GENERIC ' and ' ICE_RXDID_COMMS_OVS ' can be re= moved. > default: > /* update this according to the RXDID for PROTO_XTR_NONE */ > - rxq->rxd_to_pkt_fields =3D ice_rxd_to_pkt_fields_by_comms_ovs; > + rxq->rxdid =3D ICE_RXDID_COMMS_OVS; > break; > } >=20 > @@ -1622,7 +1633,7 @@ ice_rx_scan_hw_ring(struct ice_rx_queue *rxq) > mb->packet_type =3D ptype_tbl[ICE_RX_FLEX_DESC_PTYPE_M & > rte_le_to_cpu_16(rxdp[j].wb.ptype_flex_flags0)]; > ice_rxd_to_vlan_tci(mb, &rxdp[j]); > - rxq->rxd_to_pkt_fields(rxq, mb, &rxdp[j]); > + rxd_to_pkt_fields[rxq->rxdid](rxq, mb, &rxdp[j]); > #ifndef RTE_LIBRTE_ICE_16BYTE_RX_DESC > if (rxq->offloads & DEV_RX_OFFLOAD_TIMESTAMP) { > ts_ns =3D ice_tstamp_convert_32b_64b(hw, > @@ -1939,7 +1950,7 @@ ice_recv_scattered_pkts(void *rx_queue, > first_seg->packet_type =3D ptype_tbl[ICE_RX_FLEX_DESC_PTYPE_M & > rte_le_to_cpu_16(rxd.wb.ptype_flex_flags0)]; > ice_rxd_to_vlan_tci(first_seg, &rxd); > - rxq->rxd_to_pkt_fields(rxq, first_seg, &rxd); > + rxd_to_pkt_fields[rxq->rxdid](rxq, first_seg, &rxd); > pkt_flags =3D ice_rxd_error_to_pkt_flags(rx_stat_err0); > #ifndef RTE_LIBRTE_ICE_16BYTE_RX_DESC > if (rxq->offloads & DEV_RX_OFFLOAD_TIMESTAMP) { > @@ -2370,7 +2381,7 @@ ice_recv_pkts(void *rx_queue, > rxm->packet_type =3D ptype_tbl[ICE_RX_FLEX_DESC_PTYPE_M & > rte_le_to_cpu_16(rxd.wb.ptype_flex_flags0)]; > ice_rxd_to_vlan_tci(rxm, &rxd); > - rxq->rxd_to_pkt_fields(rxq, rxm, &rxd); > + rxd_to_pkt_fields[rxq->rxdid](rxq, rxm, &rxd); > pkt_flags =3D ice_rxd_error_to_pkt_flags(rx_stat_err0); > #ifndef RTE_LIBRTE_ICE_16BYTE_RX_DESC > if (rxq->offloads & DEV_RX_OFFLOAD_TIMESTAMP) { > diff --git a/drivers/net/ice/ice_rxtx.h b/drivers/net/ice/ice_rxtx.h > index e1c644fb63..146dc1f95d 100644 > --- a/drivers/net/ice/ice_rxtx.h > +++ b/drivers/net/ice/ice_rxtx.h > @@ -89,7 +89,7 @@ struct ice_rx_queue { > bool rx_deferred_start; /* don't start this queue in dev start */ > uint8_t proto_xtr; /* Protocol extraction from flexible descriptor */ > uint64_t xtr_ol_flag; /* Protocol extraction offload flag */ > - ice_rxd_to_pkt_fields_t rxd_to_pkt_fields; /* handle FlexiMD by RXDID *= / > + uint32_t rxdid; /* Receive Flex Descriptor profile ID */ > ice_rx_release_mbufs_t rx_rel_mbufs; > uint64_t offloads; > uint32_t time_high; > -- > 2.27.0