[20.11] kni: fix build for SLES15-SP3

Jiang, YuX yux.jiang at intel.com
Thu Dec 9 04:26:04 CET 2021


> -----Original Message-----
> From: Xueming(Steven) Li <xuemingl at nvidia.com>
> Sent: Wednesday, December 8, 2021 6:59 PM
> To: Yigit, Ferruh <ferruh.yigit at intel.com>
> Cc: stable at dpdk.org; Liang, LongfengX <longfengx.liang at intel.com>; Jiang,
> YuX <yux.jiang at intel.com>; Singh, Aman Deep
> <aman.deep.singh at intel.com>
> Subject: Re: [20.11] kni: fix build for SLES15-SP3
> 
> On Wed, 2021-12-08 at 10:37 +0000, Ferruh Yigit wrote:
> > On 12/8/2021 10:34 AM, Ferruh Yigit wrote:
> > > From: Aman Singh <aman.deep.singh at intel.com>
> > >
> > > [ upstream commit c28e2165ec360c39ea0e3a0c02b4229966697384 ]
> > >
> > > As suse version numbering is inconsistent to determine Linux kernel
> > > API to be used. In this patch we check parameter of 'ndo_tx_timeout'
> > > API directly from the kernel source. This is done only for suse build.
> > >
> > > Bugzilla ID: 812
> > > Cc: stable at dpdk.org
> > >
> > > Signed-off-by: Aman Singh <aman.deep.singh at intel.com>
> > > Acked-by: Ferruh Yigit <ferruh.yigit at intel.com>
> > > Tested-by: Longfeng Liang <longfengx.liang at intel.com>
> > > ---
> > > Cc: yux.jiang at intel.com
> > >
> > > @Yu, can you please test the patch on SLES15-SP3, I am sending the
> > > backport without testing it on SUSE.
> >
> > Hi Xueming(Steven),
> >
> > Can you please consider this build fix for -rc2 when Yu verifies it?
> 
> NP, noted.
> 
Tested-by: Longfeng Liang <longfengx.liang at intel.com>

Verify the patch passed on OpenSuse15.3 with gcc7.5.0&clang11.0.1
DPDK: DPDK20.11.4-rc1



More information about the stable mailing list