From: David Miller <davem@davemloft.net>
To: h-shimamoto@ct.jp.nec.com
Cc: jeffrey.t.kirsher@intel.com, intel-wired-lan@lists.osuosl.org,
sy.jong.choi@intel.com, ben@decadent.org.uk,
linux-kernel@vger.kernel.org, netdev@vger.kernel.org
Subject: Re: [PATCH v5] ixgbe: Add module parameter to disable VLAN filter
Date: Thu, 21 May 2015 23:56:21 -0400 (EDT) [thread overview]
Message-ID: <20150521.235621.1327147683644588927.davem@davemloft.net> (raw)
In-Reply-To: <7F861DC0615E0C47A872E6F3C5FCDDBD05EB4CA5@BPXM14GP.gisp.nec.co.jp>
From: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Date: Fri, 22 May 2015 00:54:31 +0000
>> Subject: Re: [PATCH v5] ixgbe: Add module parameter to disable VLAN filter
>>
>> From: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
>> Date: Thu, 21 May 2015 13:10:49 +0000
>>
>> > diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
>> > index 263cb40..b45570f 100644
>> > --- a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
>> > +++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
>> > @@ -158,6 +158,10 @@ module_param(allow_unsupported_sfp, uint, 0);
>> > MODULE_PARM_DESC(allow_unsupported_sfp,
>> > "Allow unsupported and untested SFP+ modules on 82599-based adapters");
>> >
>> > +static unsigned int disable_hw_vlan_filter;
>> > +module_param(disable_hw_vlan_filter, uint, 0);
>> > +MODULE_PARM_DESC(disable_hw_vlan_filter, "Disable HW VLAN filter");
>>
>> Sorry, module parameters like this are not allowed.
>>
>> You must use a generic, portable interface, to configure networking
>> device settings.
>
> Could you please tell me which interface is good for this?
You will have to adjust the ixgbe driver such that, at run time, the
chip can be reset/restarted/whatever so that the VLAN filter can
be disabled.
Then you can add an ethtool knob for this, which then any other driver
with the same issue can use.
next prev parent reply other threads:[~2015-05-22 3:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-21 13:10 [PATCH v5] ixgbe: Add module parameter to disable VLAN filter Hiroshi Shimamoto
2015-05-21 16:07 ` David Miller
2015-05-22 0:54 ` Hiroshi Shimamoto
2015-05-22 3:56 ` David Miller [this message]
2015-05-22 16:16 ` [Intel-wired-lan] " Alexander Duyck
2015-05-27 1:11 ` Hiroshi Shimamoto
2015-05-27 1:43 ` Alexander Duyck
2015-05-28 6:42 ` Hiroshi Shimamoto
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=20150521.235621.1327147683644588927.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=ben@decadent.org.uk \
--cc=h-shimamoto@ct.jp.nec.com \
--cc=intel-wired-lan@lists.osuosl.org \
--cc=jeffrey.t.kirsher@intel.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;
as well as URLs for NNTP newsgroup(s).