please help backporting some patches to stable release 21.11.9

Kevin Traynor ktraynor at redhat.com
Fri Nov 29 11:22:32 CET 2024


On 28/11/2024 12:48, Richardson, Bruce wrote:
> For commit b34fe66ea893 ("net/iavf: delay VF reset command"), I will do a backport for 21.11. 
> 
> This will actually be a combination of two commits:
> 	0f9ec0cbd2a9 ("net/iavf: fix VF reset when using DCF")
> 	b34fe66ea893 ("net/iavf: delay VF reset command")
> 
> Since the referenced commit below is actually a fix for the earlier fix - which was never actually backported to 21.11. Patch will arrive shortly, just build-testing it.
> 

Thanks Bruce. Yep, it wasn't backported as it was causing a build error.
My notes say:

../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_dev_reset’:
../drivers/net/iavf/iavf_ethdev.c:2784:16: error: ‘struct iavf_info’ has
no member named ‘in_reset_recovery’
 2784 |         if (!vf->in_reset_recovery) {
      |                ^~

In 23.11.2 LTS the initial fix caused an issue with reset which blocked
some validation of iavf, so it was considered a release blocking issue.
Your delay VF reset fix, fixed the issue.

I'm inclined to be extra cautious about a new patch because it is
involving reset of device, previous fix had issue so perhaps there is
lack of test coverage (especially for 21.11) and there is no planned
opportunity to fix in a later 21.11 LTS.

But, if you are confident about it and think the fix is a must have, I
can apply.

What do you think ?

> /Bruce
> 
>> -----Original Message-----
>> From: Kevin Traynor <ktraynor at redhat.com>
>> Sent: Wednesday, November 27, 2024 5:34 PM
>> To: dpdk stable <stable at dpdk.org>
>> Cc: Gujjar, Abhinandan S <abhinandan.gujjar at intel.com>; Ajit Khaparde
>> <ajit.khaparde at broadcom.com>; Akhil Goyal <gakhil at marvell.com>;
>> Alexander Kozyrev <akozyrev at nvidia.com>; Amit Prakash Shukla
>> <amitprakashs at marvell.com>; Burakov, Anatoly
>> <anatoly.burakov at intel.com>; Andre Muezerie
>> <andremue at linux.microsoft.com>; Anoob Joseph <anoobj at marvell.com>;
>> Ashwin Sekhar T K <asekhar at marvell.com>; Bing Zhao <bingz at nvidia.com>;
>> Dooley, Brian <brian.dooley at intel.com>; Richardson, Bruce
>> <bruce.richardson at intel.com>; Chengwen Feng
>> <fengchengwen at huawei.com>; Loftus, Ciara <ciara.loftus at intel.com>; Ciara
>> Power <ciara.power at intel.com>; Walsh, Conor <conor.walsh at intel.com>;
>> Dariusz Sosnowski <dsosnowski at nvidia.com>; Marchand, David
>> <david.marchand at redhat.com>; Dengdui Huang
>> <huangdengdui at huawei.com>; Pricoco, Fabio <fabio.pricoco at intel.com>;
>> Ferruh Yigit <ferruh.yigit at amd.com>; Du, Frank <frank.du at intel.com>;
>> Gagandeep Singh <g.singh at nxp.com>; Kundapura, Ganapati
>> <ganapati.kundapura at intel.com>; Gaoxiang Liu <liugaoxiang at huawei.com>;
>> Gowrishankar Muthukrishnan <gmuthukrishn at marvell.com>; Hanumanth
>> Pothula <hpothula at marvell.com>; Harman Kalra <hkalra at marvell.com>;
>> Hemant Agrawal <hemant.agrawal at nxp.com>; Li, HongboX
>> <hongbox.li at intel.com>; Nagarahalli, Honnappa
>> <Honnappa.Nagarahalli at arm.com>; Stokes, Ian <ian.stokes at intel.com>; Jack
>> Bond-Preston <jack.bond-preston at foss.arm.com>; Jerin Jacob
>> <jerinj at marvell.com>; Jiawen Wu <jiawenwu at trustnetic.com>; Jiayu Hu
>> <hujiayu.hu at foxmail.com>; Ji, Kai <kai.ji at intel.com>; Deng, KaiwenX
>> <kaiwenx.deng at intel.com>; Kiran Kumar K <kirankumark at marvell.com>;
>> Kishore Padmanabha <kishore.padmanabha at broadcom.com>; Konstantin
>> Ananyev <konstantin.ananyev at huawei.com>; Kumara Parameshwaran
>> <kumaraparamesh92 at gmail.com>; Luca Boccassi <bluca at debian.org>; Kuka,
>> Mario <kuka at cesnet.cz>; Matan Azrad <matan at nvidia.com>; Maxime
>> Coquelin <maxime.coquelin at redhat.com>; Michael Baum
>> <michaelba at nvidia.com>; Mike Baucom <michael.baucom at broadcom.com>;
>> Mohammad Iqbal Ahmad <mahmad at marvell.com>; Morten Brørup
>> <mb at smartsharesystems.com>; Nathan Brown <nathan.brown at arm.com>;
>> Chautru, Nicolas <nicolas.chautru at intel.com>; Nithin Dabilpuram
>> <ndabilpuram at marvell.com>; Ola Liljedahl <ola.liljedahl at arm.com>;
>> Oleksandr Nahnybida <oleksandrn at interfacemasters.com>; Ori Kam
>> <orika at nvidia.com>; Pavan Nikhilesh <pbhagavatula at marvell.com>; Zhang,
>> Qi Z <qi.z.zhang at intel.com>; Rahul Bhansali <rbhansali at marvell.com>; Randy
>> Schacher <stuart.schacher at broadcom.com>; Robin Jarry
>> <rjarry at redhat.com>; Rohit Raj <rohit.raj at nxp.com>; Ruifeng Wang
>> <ruifeng.wang at arm.com>; Selwin Sebastian <selwin.sebastian at amd.com>;
>> Shahaji Bhosle <sbhosle at broadcom.com>; Shijith Thotton
>> <sthotton at marvell.com>; Shuanglin Wang
>> <shuanglin.wang at broadcom.com>; Shun Hao <shunh at nvidia.com>;
>> Sivaprasad Tummala <sivaprasad.tummala at amd.com>; Sriharsha
>> Basavapatna <sriharsha.basavapatna at broadcom.com>; Srujana Challa
>> <schalla at marvell.com>; Stephen Hemminger
>> <stephen at networkplumber.org>; Steve Yang <stevex.yang at intel.com>;
>> Suanming Mou <suanmingm at nvidia.com>; Sunil Kumar Kori
>> <skori at marvell.com>; Tianli Lai <laitianli at tom.com>; Tim Martin
>> <timothym at nvidia.com>; Tomasz Wakula <tomaszx.wakula at intel.com>;
>> Tyler Retzlaff <roretzla at linux.microsoft.com>; Vamsi Attunuru
>> <vattunuru at marvell.com>; Vanshika Shukla <vanshika.shukla at nxp.com>;
>> Venkat Kumar Ande <venkatkumar.ande at amd.com>; Viacheslav Ovsiienko
>> <viacheslavo at nvidia.com>; Wathsala Vithanage
>> <wathsala.vithanage at arm.com>
>> Subject: please help backporting some patches to stable release 21.11.9
>>
>> Hi commit authors (and maintainers),
>>
>> Despite being selected by the DPDK maintenance tool ./devtools/git-log-
>> fixes.sh
>> I didn't apply following commits from DPDK main to 21.11
>> stable branch, as conflicts or build errors occur.
>>
>> Can authors check your patches in the following list and either:
>>     - Backport your patches to the 21.11 branch, or
>>     - Indicate that the patch should not be backported
>>
>> Please do either of the above by 12/02/24.
>>
>> Note: 21.11.9 is the final planned release for the 21.11 LTS series, so I would
>> urge extra caution about any changes which may introduce regressions. I
>> would
>> expect that most users will have moved or plan to move to a newer
>> maintained
>> LTS release at this point.
>>
>> I have sent the full list below, but I suggest authors to only rebase any
>> important fixes and ensure that they test there are no regressions.
>>
>> You can find the a temporary work-in-progress branch of the coming 21.11.9
>> release at:
>>     https://github.com/kevintraynor/dpdk-stable
>> It is recommended to backport on top of that to minimize further conflicts or
>> misunderstandings.
>>
>> Some notes on stable backports:
>>
>> A backport should contain a reference to the DPDK main branch commit
>> in it's commit message in the following fashion:
>>     [ upstream commit <commit's dpdk main branch SHA-1 checksum> ]
>>
>> For example:
>>     https://git.dpdk.org/dpdk-
>> stable/commit/?h=18.11&id=d90e6ae6f936ecdc2fd3811ff9f26aec7f3c06eb
>>
>> When sending the backported patch, please indicate the target branch in the
>> subject line, as we have multiple branches, for example:
>>     [PATCH 21.11] foo/bar: fix baz
>>
>> With git format-patch, this can be achieved by appending the parameter:
>>     --subject-prefix='PATCH 21.11'
>>
>> Send the backported patch to "stable at dpdk.org" but not "dev at dpdk.org".
>>
>> FYI, branch 21.11 is located at tree:
>>    https://git.dpdk.org/dpdk-stable
>>
>> Thanks.
>>
>> Kevin
>>
>> ---
>> c5b531d6ee  Anoob Joseph     app/crypto-perf: fix session freeing
>> 04dac73643  Ganapati Kundapura eventdev/crypto: fix enqueue count
>> 4b04134cbb  Ganapati Kundapura eventdev/crypto: fix failed events
>> da73a2a0d1  Ganapati Kundapura eventdev/crypto: fix offset used while
>> flushing events
>> f442c04001  Ganapati Kundapura eventdev/crypto: fix overflow in circular
>> buffer
>> 5a0f64d84b  Hanumanth Pothula net/cnxk: fix configuring large Rx/Tx queues
>> 59ceaa72d5  Harman Kalra     common/cnxk: fix part number for CN10K
>> 31a28a99fd  Jiawen Wu        net/ngbe: add spinlock protection on YT PHY
>> 5781638519  Nithin Dabilpuram common/cnxk: fix RQ mask config for
>> CN10KB chip
>> 3fe71706ab  Pavan Nikhilesh  event/cnxk: fix stale data in workslot
>> 927cb43fe9  Pavan Nikhilesh  examples/l3fwd: fix port group mask with
>> AltiVec
>> 0f044b6681  Steve Yang       net/iavf: fix refine protocol header
>> 0b241667cc  Steve Yang       net/iavf: fix tainted scalar
>> b125c0e721  Steve Yang       net/iavf: fix tainted scalar
>> cedb44dc87  Suanming Mou     common/mlx5: improve AES-XTS tweak
>> capability check
>> 7be74edb90  Honnappa Nagarahalli common/mlx5: use just sufficient barrier
>> for Arm
>> 7bdf7a13ae  Michael Baum     app/testpmd: fix encap/decap size calculation
>> 6df1bc6b3b  Ashwin Sekhar T K mempool/cnxk: avoid hang when counting
>> batch allocs
>> 772e30281a  Rahul Bhansali   common/cnxk: fix CPT backpressure disable on
>> LBK
>> b37fe88a2c  Srujana Challa   event/cnxk: fix LMTST write for single event mode
>> 92a16af450  Kaiwen Deng      net/iavf: fix virtchnl command called in interrupt
>> 12011b11a3  Jiawen Wu        net/txgbe: adapt to MNG veto bit setting
>> 21f702d556  Jiawen Wu        net/ngbe: fix link status in no LSC mode
>> 659cfce01e  Jiawen Wu        net/ngbe: remove redundant codes
>> 9749dffe23  Kaiwen Deng      net/ice: fix MAC type of E822 and E823
>> 1c7a4d37e7  Harman Kalra     common/cnxk: fix mailbox timeout due to
>> deadlock
>> 5e170dd8b6  Jiawen Wu        net/txgbe: fix blocking system events
>> 37ca457d3f  Bing Zhao        common/mlx5: fix obtaining IB device in LAG mode
>> 9a518054b5  Mohammad Iqbal Ahmad examples/l3fwd: fix duplicate
>> expression for default nexthop
>> 61b52e7edb  Stephen Hemminger app/test: fix reference to master in bonding
>> test
>> 63bf81a617  Anatoly Burakov  test: fix named test macro
>> 694e8e643d  Pavan Nikhilesh  event/cnxk: fix CASP usage for clang
>> a6f639e079  Sunil Kumar Kori common/cnxk: fix BP threshold calculation
>> 95a955e3e0  Amit Prakash Shukla dma/cnxk: fix device reconfigure
>> 3dd3115078  Amit Prakash Shukla dma/cnxk: fix chunk buffer failure return
>> code
>> ba39a261a7  Vamsi Attunuru   dma/cnxk: fix completion ring tail wrap
>> b3ddd649ad  Ashwin Sekhar T K mempool/cnxk: fix alloc from non-EAL
>> threads
>> 56fa6f92e9  Kiran Kumar K    common/cnxk: fix RSS key configuration
>> 7752f14026  Rahul Bhansali   net/cnxk: fix Rx flush on CN10k
>> 5d8c1f6253  Nithin Dabilpuram common/cnxk: check error in MAC address
>> set
>> a74c5001e9  Jiawen Wu        net/ngbe: add proper memory barriers in Rx
>> 2ece3b7186  Bing Zhao        net/mlx5: fix flow workspace double free in
>> Windows
>> 9d91c3047d  Gowrishankar Muthukrishnan crypto/openssl: fix memory leaks
>> in asym operations
>> 166591931b  Stephen Hemminger pcapng: modify timestamp calculation
>> 547f294357  Kumara Parameshwaran gro: fix reordering of packets
>> 063cddfc74  Honnappa Nagarahalli rcu: use atomic operation on acked token
>> df33fb53e4  Honnappa Nagarahalli rcu: fix acked token in debug log
>> 02a2accb5f  Mário Kuka       net/bonding: fix flow count query
>> 44a8635459  Hanumanth Pothula net/thunderx: fix DMAC control register
>> update
>> 48adbc80ba  Michael Baum     net/mlx5: remove GENEVE options length
>> limitation
>> 461c287ab5  Kumara Parameshwaran app/testpmd: fix GRO packets flush on
>> timeout
>> 3232c95d2c  Nithin Dabilpuram net/cnxk: fix indirect mbuf handling in Tx
>> 26a6bda9df  Rahul Bhansali   net/cnxk: add cookies check for multi-segment
>> offload
>> 8ed5ca4dda  Rahul Bhansali   net/cnxk: fix mbuf fields in multi-segment Tx
>> 48054ca384  Harman Kalra     common/cnxk: fix link config for SDP
>> 87e4384d26  Bing Zhao        net/mlx5: fix condition of LACP miss flow
>> 1cfb78d2c4  Shun Hao         net/mlx5: fix meter policy priority
>> a78a1ed8ba  Gaoxiang Liu     net/bonding: fix failover time of LACP with mode
>> 4
>> ecf408d2aa  Bing Zhao        app/testpmd: fix indirect action flush
>> b9a87346b0  Chengwen Feng    ethdev: fix strict aliasing in link up
>> e82b0fe097  Venkat Kumar Ande net/axgbe: disable RRC for yellow carp
>> devices
>> ad12d08f05  Ganapati Kundapura eventdev/crypto: fix opaque field handling
>> 4edbcc7b53  Luca Boccassi    bpf: disable on 32-bit x86
>> b1d7112602  Jack Bond-Preston crypto/openssl: make per-QP cipher context
>> clones
>> 17d5bc6135  Jack Bond-Preston crypto/openssl: make per-QP auth context
>> clones
>> ee0fa7552a  Rohit Raj        net/dpaa: forbid MTU configuration for shared
>> interface
>> e2072ba1b0  Fabio Pricoco    net/ice/base: fix resource leak
>> df44ba7a3c  Tomasz Wakula    net/ice/base: fix preparing PHY for timesync
>> command
>> 79be49dd2d  Jiawen Wu        net/ngbe: add special config for YT8531SH-CA
>> PHY
>> 2a3f42942a  Chengwen Feng    dma/hisilicon: remove support for HIP09
>> platform
>> b23c5bd71a  Sivaprasad Tummala examples: fix queue ID restriction
>> 4b97893816  Sivaprasad Tummala examples: fix lcore ID restriction
>> 548de9091c  Sivaprasad Tummala examples: fix port ID restriction
>> abdabad636  Ciara Loftus     net/af_xdp: remove unused local statistic
>> 4c2f14bc6d  Sunil Kumar Kori net/cnxk: fix xstats reset
>> 4ad17a1c8f  Akhil Goyal      test/crypto: fix enqueue/dequeue callback case
>> 046341575b  Gagandeep Singh  crypto/dpaa_sec: fix IPsec descriptor
>> 97039941b2  Frank Du         net/af_xdp: parse UMEM map info from mempool
>> 4edbcc7b53  Luca Boccassi    bpf: disable on 32-bit x86
>> 6db358536f  Oleksandr Nahnybida pcapng: fix handling of chained mbufs
>> 5c0f970c0d  Stephen Hemminger app/dumpcap: fix handling of jumbo
>> frames
>> 2d4505dc6d  Sunil Kumar Kori common/cnxk: fix MAC address change with
>> active VF
>> 6c3de40af8  Nithin Dabilpuram common/cnxk: fix inline CTX write
>> 6f96937dad  Robin Jarry      ethdev: fix race on ports in telemetry endpoints
>> b34fe66ea8  Bruce Richardson net/iavf: delay VF reset command
>> b04b06f4cb  Viacheslav Ovsiienko net/mlx5: fix flex item header length field
>> translation
>> 27918f0d53  Tim Martin       net/mlx5: fix real time counter reading from PCI
>> BAR
>> ebab0e8b22  Konstantin Ananyev examples/l3fwd: fix read beyond
>> boundaries
>> 0c5709824b  Nicolas Chautru  baseband/acc: fix ring memory allocation
>> 251fdc592d  Brian Dooley     test/crypto: fix synchronous API calls
>> 78dcdb821c  Shahaji Bhosle   net/bnxt/tf_core: fix WC TCAM multi-slice delete
>> 8782e4de3e  Kishore Padmanabha net/bnxt/tf_ulp: fix parent child DB
>> counters
>> e6bf3256b9  Stephen Hemminger net/dpaa2: remove unnecessary check for
>> null before free
>> 3cddeba0ca  Alexander Kozyrev common/mlx5: fix error CQE handling for 128
>> bytes CQE
>> 3c9a82fa6e  Bing Zhao        net/mlx5: fix Rx queue control management
>> a7ae9ba1f8  Alexander Kozyrev net/mlx5: fix miniCQEs number calculation
>> ffe827f38e  Andre Muezerie   rcu: fix implicit conversion in bit shift
>> f8f294c66b  Bing Zhao        net/mlx5: fix shared Rx queue control release
>> 916aa13f4a  Jiawen Wu        net/txgbe: fix a mass of interrupts
>> 0151b80786  Stephen Hemminger test/security: fix IPv6 extension loop
>> ebab0e8b22  Konstantin Ananyev examples/l3fwd: fix read beyond
>> boundaries
> 



More information about the stable mailing list