From: Jiri Pirko <jpirko@redhat.com>
To: David Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [RFC, PATCH net-next-2.6] net: introduce a macro to traverse through uc_list easily
Date: Sat, 23 Jan 2010 19:28:15 +0100 [thread overview]
Message-ID: <20100123182814.GA2613@psychotron.redhat.com> (raw)
In-Reply-To: <20100123.020140.231150448.davem@davemloft.net>
Sat, Jan 23, 2010 at 11:01:40AM CET, davem@davemloft.net wrote:
>From: Jiri Pirko <jpirko@redhat.com>
>Date: Fri, 22 Jan 2010 16:13:02 +0100
>
>> Therefore that would be good to introduce a macro that can be used to traverse
>> through addresses in the list without caller knowing anything about the type of
>> the list. I think this kind of an abstraction is appropriate on this place.
>> Also during the phase of changing, the macro can use the original list and onc ...
>> What do you think about this? Please comment.
>
>Yes this is the way to do it, three steps:
>
>1) Add interface macros that iterate using the existing
> datastructure
>
>2) Convert drivers to use #1
>
>3) Convert to list_head
>
Yes, I know the drill. I just wanted to be sure that final macro (kinda ugly)
will be accepted... I'll first make uc_list part (and that's how mc_list part
will lool like finally). Will post soon.
Thanks
Jirka
prev parent reply other threads:[~2010-01-23 18:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-22 15:13 [RFC, PATCH net-next-2.6] net: introduce a macro to traverse through uc_list easily Jiri Pirko
2010-01-23 10:01 ` David Miller
2010-01-23 18:28 ` Jiri Pirko [this message]
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=20100123182814.GA2613@psychotron.redhat.com \
--to=jpirko@redhat.com \
--cc=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--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;
as well as URLs for NNTP newsgroup(s).