lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150521.235621.1327147683644588927.davem@davemloft.net>
Date:	Thu, 21 May 2015 23:56:21 -0400 (EDT)
From:	David Miller <davem@...emloft.net>
To:	h-shimamoto@...jp.nec.com
Cc:	jeffrey.t.kirsher@...el.com, intel-wired-lan@...ts.osuosl.org,
	sy.jong.choi@...el.com, ben@...adent.org.uk,
	linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH v5] ixgbe: Add module parameter to disable VLAN filter

From: Hiroshi Shimamoto <h-shimamoto@...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@...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.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ