From: John Fastabend <john.r.fastabend@intel.com>
To: Vlad Yasevich <vyasevic@redhat.com>
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH v2 net-next 1/4] net: generic fdb support for drivers without ndo_fdb_<op>
Date: Fri, 01 Mar 2013 14:20:50 -0800 [thread overview]
Message-ID: <513129C2.6080004@intel.com> (raw)
In-Reply-To: <1362151906-20993-2-git-send-email-vyasevic@redhat.com>
On 3/1/2013 7:31 AM, Vlad Yasevich wrote:
> If the driver does not support the ndo_op use the generic
> handler for it. This should work in the majority of cases.
> Eventually the fdb_dflt_add call gets translated into a
> __dev_set_rx_mode() call which should handle hardware
> support for filtering via the IFF_UNICAST_FLT flag.
>
> Namely IFF_UNICAST_FLT indicates if the hardware can do
> unicast address filtering. If no support is available
> the device is put into promisc mode.
>
> CC: John Fastabend <john.r.fastabend@intel.com>
> Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
> ---
> include/linux/rtnetlink.h | 9 +++++
> net/core/rtnetlink.c | 81 +++++++++++++++++++++++++++++++++++++++++---
> 2 files changed, 84 insertions(+), 6 deletions(-)
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Feel free to carry the line forward when you submit these after net-next
opens.
next prev parent reply other threads:[~2013-03-01 22:20 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-01 15:31 [PATCH v2 net-next 0/4] Provide default fdb operation to allow mac filter setting Vlad Yasevich
2013-03-01 15:31 ` [PATCH v2 net-next 1/4] net: generic fdb support for drivers without ndo_fdb_<op> Vlad Yasevich
2013-03-01 22:20 ` John Fastabend [this message]
2013-03-01 15:31 ` [PATCH v2 net-next 2/4] ixgbe: Remove driver specific fdb handlers Vlad Yasevich
2013-03-01 22:22 ` John Fastabend
2013-03-01 15:31 ` [PATCH v2 net-next 3/4] mlx4: " Vlad Yasevich
2013-03-01 15:31 ` [PATCH v2 net-next 4/4] qlcnic: Use generic fdb handler when driver options are not enabled Vlad Yasevich
2013-03-01 21:26 ` [PATCH v2 net-next 0/4] Provide default fdb operation to allow mac filter setting David Miller
2013-03-06 20:37 ` 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=513129C2.6080004@intel.com \
--to=john.r.fastabend@intel.com \
--cc=netdev@vger.kernel.org \
--cc=vyasevic@redhat.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;
as well as URLs for NNTP newsgroup(s).