From: Kamal Heib <kamalheib1@gmail.com>
To: Saeed Mahameed <saeedm@dev.mellanox.co.il>
Cc: "David S . Miller" <davem@davemloft.net>,
Saeed Mahameed <saeedm@mellanox.com>,
Linux Netdev List <netdev@vger.kernel.org>
Subject: Re: [PATCH net] net/mlx5e: Move mlx5e_priv_flags into en_ethtool.c
Date: Tue, 17 Jul 2018 21:44:00 +0300 [thread overview]
Message-ID: <20180717184400.GA15270@kheib-laptop> (raw)
In-Reply-To: <CALzJLG_EUCx=hbMbs-CmfYWxQVaziAHET_UD3nNojHwuno1VSA@mail.gmail.com>
On Tue, Jul 17, 2018 at 08:00:58AM -0700, Saeed Mahameed wrote:
> On Sun, Jul 15, 2018 at 12:06 PM, Kamal Heib <kamalheib1@gmail.com> wrote:
> > Move the definition of mlx5e_priv_flags into en_ethtool.c because it's
> > only used there.
> >
> > Fixes: 4e59e2888139 ("net/mlx5e: Introduce net device priv flags infrastructure")
> > Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
> > ---
>
>
> LGTM, but why to net ?
> this patch should go to net-next.
>
It was sent to net because it fixes an existing commit, but I'm fine
with net-next too.
Thanks,
Kamal
> > drivers/net/ethernet/mellanox/mlx5/core/en.h | 7 -------
> > drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c | 7 +++++++
> > 2 files changed, 7 insertions(+), 7 deletions(-)
> >
> > diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en.h b/drivers/net/ethernet/mellanox/mlx5/core/en.h
> > index eb9eb7aa953a..84e6a5b42286 100644
> > --- a/drivers/net/ethernet/mellanox/mlx5/core/en.h
> > +++ b/drivers/net/ethernet/mellanox/mlx5/core/en.h
> > @@ -208,13 +208,6 @@ struct mlx5e_umr_wqe {
> >
> > extern const char mlx5e_self_tests[][ETH_GSTRING_LEN];
> >
> > -static const char mlx5e_priv_flags[][ETH_GSTRING_LEN] = {
> > - "rx_cqe_moder",
> > - "tx_cqe_moder",
> > - "rx_cqe_compress",
> > - "rx_striding_rq",
> > -};
> > -
> > enum mlx5e_priv_flag {
> > MLX5E_PFLAG_RX_CQE_BASED_MODER = (1 << 0),
> > MLX5E_PFLAG_TX_CQE_BASED_MODER = (1 << 1),
> > diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c b/drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c
> > index fffe514ba855..2a1c35d82c2e 100644
> > --- a/drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c
> > +++ b/drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c
> > @@ -33,6 +33,13 @@
> > #include "en.h"
> > #include "en/port.h"
> >
> > +static const char mlx5e_priv_flags[][ETH_GSTRING_LEN] = {
> > + "rx_cqe_moder",
> > + "tx_cqe_moder",
> > + "rx_cqe_compress",
> > + "rx_striding_rq",
> > +};
> > +
> > void mlx5e_ethtool_get_drvinfo(struct mlx5e_priv *priv,
> > struct ethtool_drvinfo *drvinfo)
> > {
> > --
> > 2.14.4
> >
next prev parent reply other threads:[~2018-07-17 19:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-15 19:06 [PATCH net] net/mlx5e: Move mlx5e_priv_flags into en_ethtool.c Kamal Heib
2018-07-17 15:00 ` Saeed Mahameed
2018-07-17 18:44 ` Kamal Heib [this message]
2018-07-26 18:51 ` Saeed Mahameed
2018-07-27 15:59 ` Kamal Heib
2018-07-27 21:17 ` Saeed Mahameed
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=20180717184400.GA15270@kheib-laptop \
--to=kamalheib1@gmail.com \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=saeedm@dev.mellanox.co.il \
--cc=saeedm@mellanox.com \
/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