All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ferruh Yigit <ferruh.yigit@intel.com>
To: Stephen Hemminger <stephen@networkplumber.org>,
	Thomas Monjalon <thomas@monjalon.net>
Cc: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>, <dev@dpdk.org>,
	"David Marchand" <david.marchand@redhat.com>,
	Olivier Matz <olivier.matz@6wind.com>
Subject: Re: [dpdk-dev] [PATCH v2] ethdev: mark old macros as deprecated
Date: Fri, 5 Nov 2021 21:33:26 +0000	[thread overview]
Message-ID: <7f14a405-a861-dd9d-8fea-015ba25187f1@intel.com> (raw)
In-Reply-To: <20211105092649.32fadae4@hermes.local>

On 11/5/2021 4:26 PM, Stephen Hemminger wrote:
> On Fri, 05 Nov 2021 16:05:14 +0100
> Thomas Monjalon <thomas@monjalon.net> wrote:
> 
>>>>>
>>>>> What do you think about marking old macros as deprecated?
>>>>>
>>>>> This will cause warning in application code that is using
>>>>> old macros, but shouldn't fail their build (unless -Werror
>>>>> is issued).
>>>>
>>>> It looks to be the right thing to do.
>>>> I wonder whether we could wait 22.02 to apply it,
>>>> so users of LTS are not annoyed by it.
>>>
>>> I have no strong opinion, but tend to agree with Thomas.
>>> However, if an application jumps from LTS to LTS, these
>>> defines will be available in 21.11 without any warnings
>>> and simply disappear in 22.11. So, may be it is more
>>> friendly to deprecate in 21.11.
>>
>> That's true for a lot of deprecations done in the year.
>> Jumping from LTS to LTS is for production.
>> Intermediate releases should help in the upgrade preparation process.
> 
> Agree, the deprecation cycle is long enough and it is just a
> trivial warning easy to fix, or for those that ignore warnings
> they just won't care.
> 

I think Thomas is suggesting to postpone the patch to v22.02, is it
what you agree?

If so, plan is:
- Have v21.11 without this patch. So backward compatibility macros
   won't be deprecated in v21.11, and end users won't be affected
   from the rename at all.
- v22.02 will have this patch that deprecates the old macros. End
   user will get build warnings after this point.
- Remove deprecated macros on v22.11. If this time is agreed on,
   I will send a deprecation notice patch for it.

  reply	other threads:[~2021-11-05 21:33 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-29 21:47 [dpdk-dev] [RFC] ethdev: mark old ETH_LINK macros as deprecated Stephen Hemminger
2021-11-01 12:30 ` Ferruh Yigit
2021-11-02 23:44 ` [dpdk-dev] [PATCH] ethdev: mark old " Ferruh Yigit
2021-11-03  0:05   ` Stephen Hemminger
2021-11-03  9:00     ` Ferruh Yigit
2021-11-03 22:48   ` [dpdk-dev] [PATCH v2] " Ferruh Yigit
2021-11-04 11:03     ` Ferruh Yigit
2021-11-04 12:59       ` Thomas Monjalon
2021-11-05 13:40         ` Andrew Rybchenko
2021-11-05 15:05           ` Thomas Monjalon
2021-11-05 16:26             ` Stephen Hemminger
2021-11-05 21:33               ` Ferruh Yigit [this message]
2021-11-06  7:46                 ` Thomas Monjalon
2022-01-12 14:36     ` [PATCH v3] " Ferruh Yigit
2022-01-14  6:45       ` Xia, Chenbo
2022-01-14  9:01         ` Ferruh Yigit
2021-11-04 11:04   ` [dpdk-dev] [PATCH] ethdev: fix crash on owner delete Ferruh Yigit
2021-11-05  3:03     ` [dpdk-dev] [dpdk-stable] " Xia, Chenbo
2021-11-05 13:16       ` Thomas Monjalon
2021-11-05 13:36         ` Andrew Rybchenko
2021-11-05 14:36           ` Ferruh Yigit

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=7f14a405-a861-dd9d-8fea-015ba25187f1@intel.com \
    --to=ferruh.yigit@intel.com \
    --cc=andrew.rybchenko@oktetlabs.ru \
    --cc=david.marchand@redhat.com \
    --cc=dev@dpdk.org \
    --cc=olivier.matz@6wind.com \
    --cc=stephen@networkplumber.org \
    --cc=thomas@monjalon.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.