patches for DPDK stable branches
 help / color / mirror / Atom feed
From: "Xueming(Steven) Li" <xuemingl@nvidia.com>
To: Maxime Coquelin <maxime.coquelin@redhat.com>,
	"Xu, HailinX" <hailinx.xu@intel.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>,
	Abhishek Marathe <Abhishek.Marathe@microsoft.com>,
	Ali Alnubani <alialnu@nvidia.com>,
	"benjamin.walker@intel.com" <benjamin.walker@intel.com>,
	"stable@dpdk.org" <stable@dpdk.org>,
	David Christensen <drc@linux.vnet.ibm.com>,
	Hemant Agrawal <hemant.agrawal@nxp.com>,
	"Stokes, Ian" <ian.stokes@intel.com>,
	Jerin Jacob <jerinj@marvell.com>,
	"Mcnamara, John" <john.mcnamara@intel.com>,
	Ju-Hyoung Lee <juhlee@microsoft.com>,
	Kevin Traynor <ktraynor@redhat.com>,
	Luca Boccassi <bluca@debian.org>, Pei Zhang <pezhang@redhat.com>,
	"qian.q.xu@intel.com" <qian.q.xu@intel.com>,
	Raslan Darawsheh <rasland@nvidia.com>,
	"NBU-Contact-Thomas Monjalon (EXTERNAL)" <thomas@monjalon.net>,
	Yanghang Liu <yanghliu@redhat.com>,
	"yuan.peng@intel.com" <yuan.peng@intel.com>,
	"zhaoyan.chen@intel.com" <zhaoyan.chen@intel.com>
Subject: RE: 22.11.4 patches review and test
Date: Thu, 11 Jan 2024 08:44:38 +0000	[thread overview]
Message-ID: <DM4PR12MB5373403E9FA512B5072DD711A1682@DM4PR12MB5373.namprd12.prod.outlook.com> (raw)
In-Reply-To: <7fa4d849-2a7a-4611-a706-37d489d06676@redhat.com>



> -----Original Message-----
> From: Maxime Coquelin <maxime.coquelin@redhat.com>
> Sent: 1/11/2024 16:27
> To: Xueming(Steven) Li <xuemingl@nvidia.com>; Xu, HailinX
> <hailinx.xu@intel.com>
> Cc: dev@dpdk.org; Abhishek Marathe <Abhishek.Marathe@microsoft.com>; Ali
> Alnubani <alialnu@nvidia.com>; benjamin.walker@intel.com; stable@dpdk.org;
> David Christensen <drc@linux.vnet.ibm.com>; Hemant Agrawal
> <hemant.agrawal@nxp.com>; Stokes, Ian <ian.stokes@intel.com>; Jerin Jacob
> <jerinj@marvell.com>; Mcnamara, John <john.mcnamara@intel.com>; Ju-
> Hyoung Lee <juhlee@microsoft.com>; Kevin Traynor <ktraynor@redhat.com>;
> Luca Boccassi <bluca@debian.org>; Pei Zhang <pezhang@redhat.com>;
> qian.q.xu@intel.com; Raslan Darawsheh <rasland@nvidia.com>; NBU-Contact-
> Thomas Monjalon (EXTERNAL) <thomas@monjalon.net>; Yanghang Liu
> <yanghliu@redhat.com>; yuan.peng@intel.com; zhaoyan.chen@intel.com
> Subject: Re: 22.11.4 patches review and test
> 
> Hi,
> 
> On 1/11/24 07:32, Xueming(Steven) Li wrote:
> > Hi Hainlin,
> >
> > Thanks very much for test test and report!
> > Let me know once any progress with the known issue.
> >
> > Thanks,
> > Xueming.
> >
> >> -----Original Message-----
> >> From: Xu, HailinX <hailinx.xu@intel.com>
> >> Sent: 1/11/2024 9:42
> >> To: Xueming(Steven) Li <xuemingl@nvidia.com>; stable@dpdk.org
> >> Cc: dev@dpdk.org; Abhishek Marathe <Abhishek.Marathe@microsoft.com>;
> >> Ali Alnubani <alialnu@nvidia.com>; benjamin.walker@intel.com; David
> >> Christensen <drc@linux.vnet.ibm.com>; Hemant Agrawal
> >> <hemant.agrawal@nxp.com>; Stokes, Ian <ian.stokes@intel.com>; Jerin
> >> Jacob <jerinj@marvell.com>; Mcnamara, John <john.mcnamara@intel.com>;
> >> Ju-Hyoung Lee <juhlee@microsoft.com>; Kevin Traynor
> >> <ktraynor@redhat.com>; Luca Boccassi <bluca@debian.org>; Pei Zhang
> >> <pezhang@redhat.com>; qian.q.xu@intel.com; Raslan Darawsheh
> >> <rasland@nvidia.com>; NBU-Contact-Thomas Monjalon
> >> (EXTERNAL) <thomas@monjalon.net>; Yanghang Liu <yanghliu@redhat.com>;
> >> yuan.peng@intel.com; zhaoyan.chen@intel.com
> >> Subject: RE: 22.11.4 patches review and test
> >>
> >>> -----Original Message-----
> >>> From: Xueming Li <xuemingl@nvidia.com>
> >>> Sent: Wednesday, December 20, 2023 3:19 PM
> >>> To: stable@dpdk.org
> >>> Cc: xuemingl@nvidia.com; dev@dpdk.org; Abhishek Marathe
> >>> <Abhishek.Marathe@microsoft.com>; Ali Alnubani <alialnu@nvidia.com>;
> >>> benjamin.walker@intel.com; David Christensen
> >>> <drc@linux.vnet.ibm.com>; Hemant Agrawal <hemant.agrawal@nxp.com>;
> >>> Stokes, Ian <ian.stokes@intel.com>; Jerin Jacob
> >>> <jerinj@marvell.com>; Mcnamara, John <john.mcnamara@intel.com>;
> >>> Ju-Hyoung Lee <juhlee@microsoft.com>; Kevin Traynor
> >>> <ktraynor@redhat.com>; Luca Boccassi <bluca@debian.org>; Pei Zhang
> >>> <pezhang@redhat.com>; qian.q.xu@intel.com; Raslan Darawsheh
> >>> <rasland@nvidia.com>; Thomas Monjalon <thomas@monjalon.net>;
> >>> Yanghang Liu <yanghliu@redhat.com>; yuan.peng@intel.com;
> >>> zhaoyan.chen@intel.com
> >>> Subject: 22.11.4 patches review and test
> >>>
> >>> Hi all,
> >>>
> >>> Here is a list of patches targeted for stable release 22.11.4.
> >>>
> >>> The planned date for the final release is 5th January.
> >>>
> >>> Please help with testing and validation of your use cases and report
> >>> any issues/results with reply-all to this mail. For the final
> >>> release the fixes and reported validations will be added to the release notes.
> >>>
> >>> A release candidate tarball can be found at:
> >>>
> >>>      https://dpdk.org/browse/dpdk-stable/tag/?id=v22.11.4-rc3
> >>>
> >>> These patches are located at branch 22.11 of dpdk-stable repo:
> >>>      https://dpdk.org/browse/dpdk-stable/
> >>>
> >>> Thanks.
> >>>
> >>> Xueming Li <xuemingl@nvidia.com>
> >>
> >> Update the test status for Intel part. dpdk22.11.4-rc3 all validation test done.
> >> Found 1 virtio bug.
> >>
> >> new issue:
> >> https://bugs.dpdk.org/show_bug.cgi?id=1338: virtio-user can't receive packet:
> >> this test only on SPR -Intel(R) Xeon(R) Platinum 8490H  --Intel
> >> development is investigating
> >
> > Maxime, seems the issue related to patch "vhost: fix checking
> > virtqueue access in stats API", Could you please take a look?
> 
> I will reply in the Bz, but there seems to be 2 backporting issues:
> 
> 1. We miss the unlock on return 0:
> 
> diff --git a/lib/vhost/vhost.c b/lib/vhost/vhost.c index 4edb76d0dd..6e1bba4391
> 100644
> --- a/lib/vhost/vhost.c
> +++ b/lib/vhost/vhost.c
> @@ -2070,6 +2070,12 @@ rte_vhost_get_monitor_addr(int vid, uint16_t
> queue_id,
>   	if (vq == NULL)
>   		return -1;
> 
> +	if (!rte_spinlock_trylock(&vq->access_lock))
> +		return -1;
> +
> +	if (unlikely(!vq->access_ok))
> +		goto out_unlock;
> +
>   	if (vq_is_packed(dev)) {
>   		struct vring_packed_desc *desc;
>   		desc = vq->desc_packed;
> @@ -2090,6 +2096,11 @@ rte_vhost_get_monitor_addr(int vid, uint16_t
> queue_id,
>   	}
> 
>   	return 0; <== We miss an unlock here
> +
> +out_unlock:
> +	rte_spinlock_unlock(&vq->access_lock);
> +
> +	return -1;
>   }
> 
> The original patch does it like this:
> 
>   	}
> 
> -	return 0;
> +out_unlock:
> +	rte_rwlock_read_unlock(&vq->access_lock);
> +
> +	return ret;
>   }
> 
> 
> 2. Some unrelated change is introduced:
> 
> @@ -2157,6 +2168,7 @@ int rte_vhost_vring_stats_reset(int vid, uint16_t
> queue_id)
>   {
>   	struct virtio_net *dev = get_device(vid);
>   	struct vhost_virtqueue *vq;
> +	int ret = 0;
> 
>   	if (dev == NULL)
>   		return -1;
> 
> Above change fixes a build issue introduce in an earlier patch.
> 
> How do you want to proceed? Do you want a patch on top of 22.11.4?

Thanks for the prompt response, let's have a patch on top of 22.11.4.

> 
> Regards,
> Maxime
> 
> >>
> >> # Basic Intel(R) NIC testing
> >> * Build & CFLAG compile: cover the build test combination with latest
> GCC/Clang
> >> version and the popular OS revision such as
> >>    Ubuntu20.04, Ubuntu22.04, Fedora38, RHEL8.7, RHEL9.2, FreeBSD13.2,
> SUSE15,
> >> CentOS7.9, openEuler22.03-SP1,OpenAnolis8.8 etc.
> >> - All test done. No new dpdk issue is found.
> >> * PF(i40e, ixgbe): test scenarios including
> >> RTE_FLOW/TSO/Jumboframe/checksum offload/VLAN/VXLAN, etc.
> >> - All test done. No new dpdk issue is found.
> >> * VF(i40e, ixgbe): test scenarios including VF-
> >> RTE_FLOW/TSO/Jumboframe/checksum offload/VLAN/VXLAN, etc.
> >>
> >> - All test done. No new dpdk issue is found.
> >> * PF/VF(ice): test scenarios including Switch features/Package
> Management/Flow
> >> Director/Advanced Tx/Advanced RSS/ACL/DCF/Flexible Descriptor, etc.
> >> - All test done. No new dpdk issue is found.
> >> * Intel NIC single core/NIC performance: test scenarios including PF/VF single
> >> core performance test, etc.
> >> - All test done. No new dpdk issue is found.
> >> * IPsec: test scenarios including ipsec/ipsec-gw/ipsec library basic test -
> >> QAT&SW/FIB library, etc.
> >> - All test done. No new dpdk issue is found.
> >>
> >> # Basic cryptodev and virtio testing
> >> * Virtio: both function and performance test are covered. Such as
> >> PVP/Virtio_loopback/virtio-user loopback/virtio-net VM2VM perf
> >> testing/VMAWARE ESXI 8.0, etc.
> >> - All test done. found 1 new issue.
> >> * Cryptodev:
> >>    *Function test: test scenarios including Cryptodev API testing/CompressDev
> ISA-
> >> L/QAT/ZLIB PMD Testing/FIPS, etc.
> >>      - All test done. No new dpdk issue is found.
> >>    *Performance test: test scenarios including Thoughput
> Performance/Cryptodev
> >> Latency, etc.
> >>      - All test done. No new dpdk issue is found.
> >>
> >>
> >> Regards,
> >> Xu, Hailin
> >>
> >


  reply	other threads:[~2024-01-11  8:44 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-20  7:19 Xueming Li
2023-12-27  8:17 ` YangHang Liu
2023-12-27  8:26   ` Xueming(Steven) Li
2024-01-03 14:41 ` Ali Alnubani
2024-01-04  6:16   ` Xueming(Steven) Li
2024-01-11  1:42 ` Xu, HailinX
2024-01-11  6:32   ` Xueming(Steven) Li
2024-01-11  8:26     ` Maxime Coquelin
2024-01-11  8:44       ` Xueming(Steven) Li [this message]
2024-01-11  8:52         ` Maxime Coquelin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DM4PR12MB5373403E9FA512B5072DD711A1682@DM4PR12MB5373.namprd12.prod.outlook.com \
    --to=xuemingl@nvidia.com \
    --cc=Abhishek.Marathe@microsoft.com \
    --cc=alialnu@nvidia.com \
    --cc=benjamin.walker@intel.com \
    --cc=bluca@debian.org \
    --cc=dev@dpdk.org \
    --cc=drc@linux.vnet.ibm.com \
    --cc=hailinx.xu@intel.com \
    --cc=hemant.agrawal@nxp.com \
    --cc=ian.stokes@intel.com \
    --cc=jerinj@marvell.com \
    --cc=john.mcnamara@intel.com \
    --cc=juhlee@microsoft.com \
    --cc=ktraynor@redhat.com \
    --cc=maxime.coquelin@redhat.com \
    --cc=pezhang@redhat.com \
    --cc=qian.q.xu@intel.com \
    --cc=rasland@nvidia.com \
    --cc=stable@dpdk.org \
    --cc=thomas@monjalon.net \
    --cc=yanghliu@redhat.com \
    --cc=yuan.peng@intel.com \
    --cc=zhaoyan.chen@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).