From: "Bjørn Mork" <bjorn@mork.no>
To: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Cc: Alexander Duyck <alexander.duyck@gmail.com>,
"e1000-devel\@lists.sourceforge.net"
<e1000-devel@lists.sourceforge.net>,
"netdev\@vger.kernel.org" <netdev@vger.kernel.org>, "Choi\,
Sy Jong" <sy.jong.choi@intel.com>,
Hayato Momma <h-momma@ce.jp.nec.com>,
"linux-kernel\@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 1/2] if_link: Add VF multicast promiscuous mode control
Date: Wed, 21 Jan 2015 10:26:15 +0100 [thread overview]
Message-ID: <87iog0scw8.fsf@nemi.mork.no> (raw)
In-Reply-To: <7F861DC0615E0C47A872E6F3C5FCDDBD05E07B7C@BPXM14GP.gisp.nec.co.jp> (Hiroshi Shimamoto's message of "Tue, 20 Jan 2015 23:40:05 +0000")
Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> writes:
>> Why can't the ixgbevf driver just automatically signal the ixgbe driver
>> to enable multicast promiscuous mode whenever the list grows past the
>> limit?
>
> I had submitted a patch to change ixgbe and ixgbevf driver for this issue.
> https://lkml.org/lkml/2014/11/27/269
>
> The previous patch introduces API between ixgbe and ixgbevf driver to
> enable multicast promiscuous mode, and ixgbevf enables it automatically
> if the number of addresses is over than 30.
>
> I got some comment and I would like to clarify the point, but there was no
> answer.
> That's the reason I submitted this patch.
Thanks. Yes, now I understand why you want to have a policy knob.
I still think the policy could select between "automatic"/"disallowed"
instead of "enabled"/"disabled", but that's a minor detail. Likewise is
the actual implemention of "automatic". I think you could do that
within the current VF-PF protocol by overloading the MC address "count".
But a more generic question for netdev is: Does this VF policy API
really scale?
How many different VF policy tunables can you imaging add up over a few
years and drivers. Currently each policy flag require its own ndo hook.
I probably don't have much to say here, but IMHO this scheme had already
failed when .ndo_set_vf_spoofchk was added..
Bjørn
next prev parent reply other threads:[~2015-01-21 9:26 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-20 10:50 [PATCH 1/2] if_link: Add VF multicast promiscuous mode control Hiroshi Shimamoto
2015-01-20 11:42 ` Bjørn Mork
2015-01-20 23:40 ` Hiroshi Shimamoto
2015-01-21 0:26 ` [E1000-devel] " Skidmore, Donald C
2015-01-21 1:07 ` Hiroshi Shimamoto
2015-01-21 1:30 ` Skidmore, Donald C
2015-01-21 11:38 ` Hiroshi Shimamoto
2015-01-21 11:56 ` David Laight
2015-01-21 12:18 ` Hiroshi Shimamoto
2015-01-21 20:27 ` Skidmore, Donald C
2015-01-22 9:50 ` David Laight
2015-01-22 10:52 ` Jeff Kirsher
2015-01-22 19:00 ` Skidmore, Donald C
2015-01-22 19:31 ` Bjørn Mork
2015-01-22 21:34 ` Skidmore, Donald C
2015-01-23 0:32 ` Hiroshi Shimamoto
2015-01-23 1:21 ` Skidmore, Donald C
2015-01-23 7:18 ` Alexander Duyck
2015-01-23 18:24 ` Skidmore, Donald C
2015-01-27 12:53 ` Hiroshi Shimamoto
2015-01-27 17:34 ` Alexander Duyck
2015-01-21 9:26 ` Bjørn Mork [this message]
2015-01-20 11:53 ` David Laight
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=87iog0scw8.fsf@nemi.mork.no \
--to=bjorn@mork.no \
--cc=alexander.duyck@gmail.com \
--cc=e1000-devel@lists.sourceforge.net \
--cc=h-momma@ce.jp.nec.com \
--cc=h-shimamoto@ct.jp.nec.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=sy.jong.choi@intel.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