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 D3C68464CB; Mon, 31 Mar 2025 20:13:56 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5A4FF40A70; Mon, 31 Mar 2025 20:13:56 +0200 (CEST) Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) by mails.dpdk.org (Postfix) with ESMTP id A899C40A6C for ; Mon, 31 Mar 2025 20:13:55 +0200 (CEST) Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-227b650504fso95407955ad.0 for ; Mon, 31 Mar 2025 11:13:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1743444835; x=1744049635; darn=dpdk.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=FJUoLWfHtAnc9PDIVPzD61X1iJ9i59+c3AIgOOCTx8A=; b=Xy2Xfeh9lcT6vRhqRNxnWLsWbam/fffy19kKcR0HFaDEzdg0xLPJq+49/Vcm2ahXIE d0yKUih63NfqUKUUQVuwBfJqEUBcOdC/+djofKlgYoJpOu8hjQCJBFcWr/DOLXF+SUQE N5WvdFJ86+xy+ENGdLs+2ZEpj+ZKpI4Hu2jF4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743444835; x=1744049635; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=FJUoLWfHtAnc9PDIVPzD61X1iJ9i59+c3AIgOOCTx8A=; b=o4FIYZQJ/qM7o+kgBvZ9aZCbaYu62z3SHwP5G9+SfraRvp3NbUAYNXt7xxMmT4zXv9 TFp1kK3Qn1mx7OiKmlZZUOp4GVTl+W+g3zbcGm5uytML9viL/bDHf/WVKvCewJmxlwlt JoSPhOuUmFVg1yxhME5u3IyyVr2ntYpsUv5vm5Z2APuS3TT++nRzNc6I81DZ5r3KIaAx 2sVCWPO24GkeWh+LV86y+7PE3t38IpYaFPxV8WwAoL+yUkX3SI8Knt6enyrnHvVfXUdJ XclNbcHqQAlvKtri2JA5abzuYS5EODNvIxh553Uef9nyyhM1UxCKxPgAuxX/1KJvuI7C Mfaw== X-Forwarded-Encrypted: i=1; AJvYcCWAfwSFlVw9Axq7Pda1UpooGk8EIWuNDguU5clsNV7R1F9+/hCNhc0rMjZQBAkDzCHuoVU=@dpdk.org X-Gm-Message-State: AOJu0YxouWJOU40eZ11jaPJm+KZ80RmB9ELnE9nv4F7ZY40VXuA9HrFH lQEMYS/1J+bvfsQavjtU6wXQrrPrZey4t/CmMv0pq1sj8Rk3TDcsL1EeyfA818vLcVFVqJgJmXB 9RovRTjp+AN7iDhFOjhQUBVG+TPHcGsBfbXKk/A== X-Gm-Gg: ASbGncuiSttTYrJsVTjdaPKmDsXX2q5PDBNk0Cph9O5H2WTscpy631lyJg38987M3ra 8T+cZZOTnZyu+4DewyNPrALXzEvF1J6dbZkTdgRQYxCAptjhIjg/XesVDXMzb4itBRoxjReiJR8 imEGcCThO/cz4WkRUCdruqf2xCGFihUib4hXuOJ2mZQsmRHft9UqxSHFuc2500pRhhZtUTcA== X-Google-Smtp-Source: AGHT+IHeaNEH28QyPHP20y4/2VTM2NFKMk/9qlCjuWoTJ3GVT11i7aw4Uj5pz/Lec5klBPfkgNTROQPqevgn8rzxs20= X-Received: by 2002:a17:903:32cb:b0:224:c46:d14b with SMTP id d9443c01a7336-2292f9ff33dmr106102885ad.52.1743444834691; Mon, 31 Mar 2025 11:13:54 -0700 (PDT) MIME-Version: 1.0 References: <98CBD80474FA8B44BF855DF32C47DC35E9FB37@smartserver.smartshare.dk> <20250321085259.095bd234@hermes.local> <98CBD80474FA8B44BF855DF32C47DC35E9FB3B@smartserver.smartshare.dk> In-Reply-To: From: Patrick Robb Date: Mon, 31 Mar 2025 14:09:55 -0400 X-Gm-Features: AQ5f1Jq2nkH_wTwcAyze3VDEOw435jpvtjgaeP1pbkDdSIJmvJxwx8yWn87luE4 Message-ID: Subject: Re: Clarification on Minimum Supported Kernel Version for DPDK To: =?UTF-8?Q?Morten_Br=C3=B8rup?= Cc: Stephen Hemminger , Kevin Traynor , Bruce Richardson , techboard@dpdk.org, Tyler Retzlaff , Thomas Monjalon , David Marchand , dev@dpdk.org, Ali Alnubani , galco@nvidia.com, Cody Cheng Content-Type: multipart/alternative; boundary="0000000000000ecb6b0631a762fe" 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 --0000000000000ecb6b0631a762fe Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Okay, Cody has setup the new VM which will be version locked to the minimum kernel version. We will try to monitor the mailing list like always for changes to this, but it will be helpful if the CI mailing list can be CC'd on any patches going forward which bump the minimum kernel version. Thanks. On Wed, Mar 26, 2025 at 10:47=E2=80=AFAM Cody Cheng wr= ote: > I=E2=80=99ll set up the CI testing environment on kernel 4.19 as per the > current minimum requirement then. > > Thanks, > Cody Cheng > > > On Sat, Mar 22, 2025 at 9:02=E2=80=AFAM Morten Br=C3=B8rup > wrote: > > > > > From: Stephen Hemminger [mailto:stephen@networkplumber.org] > > > Sent: Friday, 21 March 2025 16.53 > > > > > > On Fri, 21 Mar 2025 07:28:45 +0100 > > > Morten Br=C3=B8rup wrote: > > > > > > > @Kevin, @Stephen, @Bruce, > > > > > > > > I cannot reliably answer Cody's question, and it may need further > > > discussion. > > > > > > > > What is your opinion on minimum Linux kernel version requirements? > > > > > > > > @Thomas: In the future, the DPDK release notes should mention the > > > minimum Linux kernel requirements. > > > > > > > > > From: Cody Cheng [mailto:ccheng@iol.unh.edu] > > > > > Sent: Thursday, 20 March 2025 21.28 > > > > > > > > > > Hi Morten, > > > > > > > > > > I am in the process of setting up a test environment at the UNH > > > DPDK > > > > > Community Test Lab that follows the minimum supported kernel > > > version > > > > > for DPDK. According to the DPDK documentation, the minimum > > > supported > > > > > kernel version is 4.19. However, the oldest long term stable kern= el > > > > > version listed on kernel.org is 5.4.291. > > > > > > > > > > Should the test environment be set up on kernel version 4.19 or > > > > > 5.4.291? > > > > > > > > The kernel 4.19 support stems from still supporting RHEL/CentOS 7. > > > > I wonder if this exception mentioned in the documentation [1] is > > > still valid, or if we should bump it to RHEL/CentOS 8, which ships wi= th > > > kernel 4.18 [1]. > > > > > > > > RHEL/CentOS 7 support was discussed at by tech board long ago [2], > > > but I cannot find a conclusion about the kernel version; the discussi= on > > > was mostly about compiler support. > > > > > > > > [1]: https://doc.dpdk.org/guides/linux_gsg/sys_reqs.html#system- > > > software > > > > [2]: > > > > https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/htm > > > l-single/8.0_release_notes/index#overview > > > > [3]: https://mails.dpdk.org/archives/dev/2023-February/263516.html > > > > > > My opinion has always been that DPDK only offers certain guarantees > > > about testing: > > > - oldest current LTS > > > - oldest supported version of Redhat/Ubuntu/SUSE enterprise kernels > > > > > > after that in the embedded space, the user is likely to be ok but any > > > kernel > > > related issues are their problem not the communities to deal with. > > > > Generally, if some new DPDK feature requires a new kernel (or new kerne= l > feature), the details should be mentioned in the release notes. > > And preferably, that feature should degrade gracefully when the feature > is not present. > > > > For the embedded space, we could support the oldest current version > available as Super LTS [4], which is 4.4. And for now, we could stick wit= h > the second oldest, 4.19, which is what we currently have. > > > > [4]: > https://wiki.linuxfoundation.org/civilinfrastructureplatform/start#kernel= _maintainership > > > > Some old kernel version might not be officially supported by the Kernel > community, but an embedded vendor might have tested the relevant features > extensively and thus trust it more than some new and officially supported > version. > > So let's not require a newer version than we absolutely must, on > technical grounds. > > It seems that kernel 4.19 is the current minimum requirement, so let's > stick with that, until there are valid technical reasons for requiring a > newer version. > > > > Anyway, it seems we need to clarify the policy for kernel version > requirements. > > It's easy regarding the distros; DPDK running on those require their > shipped kernel version, at minimum. > > It's for everything else clarification is needed. > > > > And it's not just embedded. Virtual appliances can be tricky too... wit= h > our SmartShare VM we had to add support for running as a guest under an > ancient QEMU host version, because that is the hypervisor used by one of > the big system providers in our most important target market. > > > > In non-cloud market segments, a lot of really old stuff is still being > used in production, working perfectly fine. > > > > > > > > The two parts most likely to cause issues are vfio-pci and vhost > > > related stuff. > > > There is also small chance of issues with the memory handling in EAL. > > And maybe handling of many CPU cores, and most likely something related > to the new cache steering feature. > > > --0000000000000ecb6b0631a762fe Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Okay, Cody has setup the new VM which will be version lock= ed to the minimum kernel version. We will try to monitor the mailing list l= ike always for changes to this, but it will be helpful if the CI mailing li= st can be CC'd on any patches going forward which bump the minimum kern= el version. Thanks.

On Wed, Mar 26, 2025 at 10:47=E2= =80=AFAM Cody Cheng <ccheng@iol.un= h.edu> wrote:
I=E2=80=99ll set up the CI testing environment on kernel 4.19 as per t= he
current minimum requirement then.

Thanks,
Cody Cheng


On Sat, Mar 22, 2025 at 9:02=E2=80=AFAM Morten Br=C3=B8rup <mb@smartsharesystems.com<= /a>> wrote:
>
> > From: Stephen Hemminger [mailto:
stephen@networkplumber.org]
> > Sent: Friday, 21 March 2025 16.53
> >
> > On Fri, 21 Mar 2025 07:28:45 +0100
> > Morten Br=C3=B8rup <mb@smartsharesystems.com> wrote:
> >
> > > @Kevin, @Stephen, @Bruce,
> > >
> > > I cannot reliably answer Cody's question, and it may nee= d further
> > discussion.
> > >
> > > What is your opinion on minimum Linux kernel version require= ments?
> > >
> > > @Thomas: In the future, the DPDK release notes should mentio= n the
> > minimum Linux kernel requirements.
> > >
> > > > From: Cody Cheng [mailto:ccheng@iol.unh.edu]
> > > > Sent: Thursday, 20 March 2025 21.28
> > > >
> > > > Hi Morten,
> > > >
> > > > I am in the process of setting up a test environment at= the UNH
> > DPDK
> > > > Community Test Lab that follows the minimum supported k= ernel
> > version
> > > > for DPDK. According to the DPDK documentation, the mini= mum
> > supported
> > > > kernel version is 4.19. However, the oldest long term s= table kernel
> > > > version listed on kernel.org is 5.4.291.
> > > >
> > > > Should the test environment be set up on kernel version= 4.19 or
> > > > 5.4.291?
> > >
> > > The kernel 4.19 support stems from still supporting RHEL/Cen= tOS 7.
> > > I wonder if this exception mentioned in the documentation [1= ] is
> > still valid, or if we should bump it to RHEL/CentOS 8, which ship= s with
> > kernel 4.18 [1].
> > >
> > > RHEL/CentOS 7 support was discussed at by tech board long ag= o [2],
> > but I cannot find a conclusion about the kernel version; the disc= ussion
> > was mostly about compiler support.
> > >
> > > [1]: https://doc.dpdk.org/= guides/linux_gsg/sys_reqs.html#system-
> > software
> > > [2]:
> > https://docs.redhat= .com/en/documentation/red_hat_enterprise_linux/8/htm
> > l-single/8.0_release_notes/index#overview
> > > [3]: https://mails.dpdk.= org/archives/dev/2023-February/263516.html
> >
> > My opinion has always been that DPDK only offers certain guarante= es
> > about testing:
> >=C2=A0 =C2=A0- oldest current LTS
> >=C2=A0 =C2=A0- oldest supported version of Redhat/Ubuntu/SUSE ente= rprise kernels
> >
> > after that in the embedded space, the user is likely to be ok but= any
> > kernel
> > related issues are their problem not the communities to deal with= .
>
> Generally, if some new DPDK feature requires a new kernel (or new kern= el feature), the details should be mentioned in the release notes.
> And preferably, that feature should degrade gracefully when the featur= e is not present.
>
> For the embedded space, we could support the oldest current version av= ailable as Super LTS [4], which is 4.4. And for now, we could stick with th= e second oldest, 4.19, which is what we currently have.
>
> [4]: ht= tps://wiki.linuxfoundation.org/civilinfrastructureplatform/start#kernel_mai= ntainership
>
> Some old kernel version might not be officially supported by the Kerne= l community, but an embedded vendor might have tested the relevant features= extensively and thus trust it more than some new and officially supported = version.
> So let's not require a newer version than we absolutely must, on t= echnical grounds.
> It seems that kernel 4.19 is the current minimum requirement, so let&#= 39;s stick with that, until there are valid technical reasons for requiring= a newer version.
>
> Anyway, it seems we need to clarify the policy for kernel version requ= irements.
> It's easy regarding the distros; DPDK running on those require the= ir shipped kernel version, at minimum.
> It's for everything else clarification is needed.
>
> And it's not just embedded. Virtual appliances can be tricky too..= . with our SmartShare VM we had to add support for running as a guest under= an ancient QEMU host version, because that is the hypervisor used by one o= f the big system providers in our most important target market.
>
> In non-cloud market segments, a lot of really old stuff is still being= used in production, working perfectly fine.
>
> >
> > The two parts most likely to cause issues are vfio-pci and vhost<= br> > > related stuff.
> > There is also small chance of issues with the memory handling in = EAL.
> And maybe handling of many CPU cores, and most likely something relate= d to the new cache steering feature.
>
--0000000000000ecb6b0631a762fe--