From: Stephen Hemminger <stephen@networkplumber.org>
To: Arkadi Sharshevsky <arkadis@mellanox.com>
Cc: netdev@vger.kernel.org, davem@davemloft.net,
dsa@cumulusnetworks.com, mlxsw@mellanox.com,
Jiri Pirko <jiri@mellanox.com>
Subject: Re: [PATCH iproute2 2/7] devlink: mnlg: Add support for extended ack
Date: Thu, 15 Feb 2018 10:15:27 -0800 [thread overview]
Message-ID: <20180215101527.6008687b@xeon-e3> (raw)
In-Reply-To: <078d8eaa-da4a-3c4c-0d82-817c3dd72a9a@mellanox.com>
On Thu, 15 Feb 2018 13:57:18 +0200
Arkadi Sharshevsky <arkadis@mellanox.com> wrote:
> On 02/14/2018 05:12 PM, Stephen Hemminger wrote:
> > On Wed, 14 Feb 2018 10:55:17 +0200
> > Arkadi Sharshevsky <arkadis@mellanox.com> wrote:
> >
> >> +static mnl_cb_t mnlg_cb_array[NLMSG_MIN_TYPE] = {
> >> + [NLMSG_NOOP] = mnlg_cb_noop,
> >> + [NLMSG_ERROR] = mnlg_cb_error,
> >> + [NLMSG_DONE] = mnlg_cb_stop,
> >> + [NLMSG_OVERRUN] = mnlg_cb_noop,
> >> +};
> >> +
> >
> > Could be const?
> >
>
> I pass the array to mnl_cb_run2() which will discard the 'const'
> qualifier. So I dont think this is very beneficial.
Thanks, makes sense,
next prev parent reply other threads:[~2018-02-15 18:15 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-14 8:55 [PATCH iproute2 0/7] Add support for devlink resource abstraction Arkadi Sharshevsky
2018-02-14 8:55 ` [PATCH iproute2 1/7] devlink: Change empty line indication with indentations Arkadi Sharshevsky
2018-02-14 15:11 ` Stephen Hemminger
2018-02-14 15:17 ` Jiri Pirko
2018-02-14 8:55 ` [PATCH iproute2 2/7] devlink: mnlg: Add support for extended ack Arkadi Sharshevsky
2018-02-14 15:12 ` Stephen Hemminger
2018-02-15 11:57 ` Arkadi Sharshevsky
2018-02-15 18:15 ` Stephen Hemminger [this message]
2018-02-14 8:55 ` [PATCH iproute2 3/7] devlink: Add support for devlink resource abstraction Arkadi Sharshevsky
2018-02-14 8:55 ` [PATCH iproute2 4/7] devlink: Add support for hot reload Arkadi Sharshevsky
2018-02-14 8:55 ` [PATCH iproute2 5/7] devlink: Move dpipe context from heap to stack Arkadi Sharshevsky
2018-02-14 8:55 ` [PATCH iproute2 6/7] devlink: Add support for resource/dpipe relation Arkadi Sharshevsky
2018-02-23 16:40 ` Stephen Hemminger
2018-02-14 8:55 ` [PATCH iproute2 7/7] devlink: Update man pages and add resource man Arkadi Sharshevsky
2018-02-15 3:41 ` [PATCH iproute2 0/7] Add support for devlink resource abstraction David Ahern
2018-02-22 10:19 ` Arkadi Sharshevsky
2018-02-22 15:02 ` David Ahern
2018-02-23 16:41 ` Stephen Hemminger
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=20180215101527.6008687b@xeon-e3 \
--to=stephen@networkplumber.org \
--cc=arkadis@mellanox.com \
--cc=davem@davemloft.net \
--cc=dsa@cumulusnetworks.com \
--cc=jiri@mellanox.com \
--cc=mlxsw@mellanox.com \
--cc=netdev@vger.kernel.org \
/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