From: Joe Perches <joe-6d6DIl74uiNBDgjK7y7TUQ@public.gmane.org>
To: Roland Dreier <roland-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Cc: Or Gerlitz <or.gerlitz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
Eli Cohen <eli-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>,
"linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
Eli Cohen <eli-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>,
"netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH for-next 0/8] Add Mellanox mlx5 driver for Connect-IB devices
Date: Mon, 01 Jul 2013 14:53:00 -0700 [thread overview]
Message-ID: <1372715580.2481.34.camel@joe-AO722> (raw)
In-Reply-To: <CAL1RGDVgSucpRhyxBZDVeLO+Q+Y7HuPsDjUy6kaFMoL3E8s77g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
On Mon, 2013-07-01 at 14:20 -0700, Roland Dreier wrote:
> On Mon, Jul 1, 2013 at 1:19 PM, Joe Perches <joe-6d6DIl74uiNBDgjK7y7TUQ@public.gmane.org> wrote:
> > I think these are the groupings.
> >
> > +enum {
> > + MLX5_MOD_MAIN,
> > + MLX5_MOD_CMDIF,
> > + MLX5_MOD_EQ,
> > + MLX5_MOD_QP,
> > + MLX5_MOD_PGALLOC,
> > + MLX5_MOD_FW,
> > + MLX5_MOD_UAR,
> > + MLX5_MOD_ALLOC,
> > + MLX5_MOD_DEBUG,
> > + MLX5_MOD_HEALTH,
> > + MLX5_MOD_MAD,
> > + MLX5_MOD_MCG,
> > + MLX5_MOD_MR,
> > + MLX5_MOD_PD,
> > + MLX5_MOD_PORT,
> > + MLX5_MOD_SRQ,
> > + MLX5_MOD_CQ,
> > + MLX5_MOD_CMD_DATA, /* print command payload only */
> > + MLX5_CMD_DATA_TIME,
> > +};
>
>
> Right, but then look how they're used. For example,
> drivers/net/ethernet/mellanox/mlx5/core/main.c has:
>
> MLX5_MOD_DBG_MASK(MLX5_MOD_MAIN);
>
> so MLX5_MOD_MAIN just means messages in main.c, etc.
Thanks. OK, yeah, that's completely unnecessary.
Just using dynamic_debug is far better.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2013-07-01 21:53 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1371384149-24558-1-git-send-email-eli@dev.mellanox.co.il>
[not found] ` <CAJZOPZ+NQa3CWnw3rZQh2UuwdrNhiwtVSyuk9D9YtwfQQ9e1XA@mail.gmail.com>
[not found] ` <CAJZOPZKLb9k1xXkTnrtzYKpwrSJDQgBpONUVCp3et36JeaEi-Q@mail.gmail.com>
[not found] ` <CAJZOPZKLb9k1xXkTnrtzYKpwrSJDQgBpONUVCp3et36JeaEi-Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-07-01 17:49 ` [PATCH for-next 0/8] Add Mellanox mlx5 driver for Connect-IB devices Roland Dreier
[not found] ` <CAL1RGDX5mHj5oVqFhQ4Ssr25jpL4rV2Tv=zXvLOZfwupJ0gqJw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-07-01 18:03 ` Roland Dreier
[not found] ` <CAL1RGDXsgo9mHteu5MwqnoULd1jqE_LDZ=YfHMH4J=pRZqeLgQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-07-02 21:15 ` Or Gerlitz
2013-07-01 21:22 ` Roland Dreier
[not found] ` <CAL1RGDVQD_Uk0ZJse=Xc74nzAeUMAwYjYAhaPp2OJvgBD=TcOQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-07-02 20:59 ` Or Gerlitz
2013-07-03 16:41 ` Or Gerlitz
[not found] ` <51D45449.5010604-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2013-07-03 19:26 ` Roland Dreier
2013-07-03 20:25 ` Or Gerlitz
[not found] ` <CAL1RGDU0JiGPFEAu87JbxxbHWbgZVsRz1qbz4BvqbCJU9RtRAA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-07-07 12:08 ` Jack Morgenstein
2013-07-01 18:03 ` Joe Perches
2013-07-01 18:11 ` Roland Dreier
2013-07-01 20:19 ` Joe Perches
2013-07-01 21:20 ` Roland Dreier
[not found] ` <CAL1RGDVgSucpRhyxBZDVeLO+Q+Y7HuPsDjUy6kaFMoL3E8s77g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-07-01 21:53 ` Joe Perches [this message]
2013-07-02 21:02 ` Or Gerlitz
2013-07-02 21:03 ` Or Gerlitz
2013-07-02 21:36 ` Or Gerlitz
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=1372715580.2481.34.camel@joe-AO722 \
--to=joe-6d6dil74uinbdgjk7y7tuq@public.gmane.org \
--cc=eli-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org \
--cc=eli-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=or.gerlitz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=roland-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.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