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 6E90FA050E for ; Mon, 9 May 2022 04:05:29 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6312B41156; Mon, 9 May 2022 04:05:29 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 30D0840395; Mon, 9 May 2022 04:05:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652061927; x=1683597927; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=yCqq3Mvud1yhEw+L6uS1Ystxpuq4/0pTosgyoXjyzpo=; b=L9tbLEvwVivE+L/cQWcas1MfAH+fIceM85Z9BE/eNw0Cf5lo7r2lcko1 F3NeXHHxc6L4uatQ4Gc6/2vuO/Gnp0bDszMAVm4GiSGigfLBOlMOGu1ZK ovMoGstGerqMZ9O4lN6+3iV2sYLctURCQ2dOBSACBZnrLKCQxoFRCred4 FADhuntU1Vgy/HYhUnpQBKgR+XCwQg52aPcyhXr6JHjYb//kvmsQYfO8O V/uj/8OQci7wPXcv3inZkbgEJBp2esIP0CbzlU91B7gBhCUqewmyiNyk1 idBbtYHQLzROOby0ZbU0RrKVeRhPLSznk8PvDR0kItY0wKwHbPdeAYWSO A==; X-IronPort-AV: E=McAfee;i="6400,9594,10341"; a="355340051" X-IronPort-AV: E=Sophos;i="5.91,210,1647327600"; d="scan'208";a="355340051" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 May 2022 19:05:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,210,1647327600"; d="scan'208";a="550778928" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga002.jf.intel.com with ESMTP; 08 May 2022 19:05:25 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Sun, 8 May 2022 19:05:25 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Sun, 8 May 2022 19:05:24 -0700 Received: from fmsmsx612.amr.corp.intel.com ([10.18.126.92]) by fmsmsx612.amr.corp.intel.com ([10.18.126.92]) with mapi id 15.01.2308.027; Sun, 8 May 2022 19:05:24 -0700 From: "Zhang, Qi Z" To: "Zhou, YidingX" , "dev@dpdk.org" , "Wu, Jingjing" , "Xing, Beilei" CC: "Yang, Qiming" , "stable@dpdk.org" , "Yeleswarapu, Ramamani" Subject: RE: [PATCH v2] net/iavf: fix mismatch between rx_pkt_burst and RX descriptor Thread-Topic: [PATCH v2] net/iavf: fix mismatch between rx_pkt_burst and RX descriptor Thread-Index: AQHYYggIymU26kq8NEGZQYZlYRLD8K0VzaJw Date: Mon, 9 May 2022 02:05:24 +0000 Message-ID: <16094f5ab1604c06bcf7ad322a649ebc@intel.com> References: <20220507093637.127591-1-yidingx.zhou@intel.com> <20220507195239.250067-1-yidingx.zhou@intel.com> In-Reply-To: <20220507195239.250067-1-yidingx.zhou@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.6.401.20 dlp-product: dlpe-windows x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org > -----Original Message----- > From: Zhou, YidingX > Sent: Sunday, May 8, 2022 3:53 AM > To: dev@dpdk.org; Wu, Jingjing ; Xing, Beilei > > Cc: Yang, Qiming ; Zhang, Qi Z > ; stable@dpdk.org; Yeleswarapu, Ramamani > > Subject: [PATCH v2] net/iavf: fix mismatch between rx_pkt_burst and RX > descriptor >=20 > Some kernel drivers return the capability > VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC when IAVF_RXDID_COMMS_OVS_1 is > not supported. This causes PMD to use rx_pkt_burst that handles the Flex > Receive Descriptor format, but actually configures the RXDID into > IAVF_RXDID_LEGACY_1, then the fields of rte_mbuf Will be filled with wron= g > values in rx_pkt_burst, which will eventually lead to coredump. >=20 > This patch fixes mismatch between rx_pkt_burst and rx descriptor. >=20 > Fixes: 12b435bf8f2f ("net/iavf: support flex desc metadata extraction") > Cc: stable@dpdk.org >=20 > Signed-off-by: Yiding Zhou Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi