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
| ||
|
Message-ID: <CA+sq2CfV-90CRvo-FCizkzoxHq-AsfOEDW2Z5pXtnNLNXCfTUg@mail.gmail.com> Date: Fri, 31 Oct 2014 22:44:11 +0530 From: Sunil Kovvuri <sunil.kovvuri@...il.com> To: Stephen Hemminger <stephen@...workplumber.org> Cc: Robert Richter <rric@...nel.org>, "David S. Miller" <davem@...emloft.net>, Sunil Goutham <sgoutham@...ium.com>, Robert Richter <rrichter@...ium.com>, Stefan Assmann <sassmann@...hat.com>, LKML <linux-kernel@...r.kernel.org>, LAKML <linux-arm-kernel@...ts.infradead.org>, netdev@...r.kernel.org Subject: Re: [PATCH] VNIC: Adding support for Cavium ThunderX network controller On Fri, Oct 31, 2014 at 8:24 AM, Stephen Hemminger <stephen@...workplumber.org> wrote: > On Thu, 30 Oct 2014 17:54:34 +0100 > Robert Richter <rric@...nel.org> wrote: > >> +#ifdef VNIC_RSS_SUPPORT >> +static int rss_config = RSS_IP_HASH_ENA | RSS_TCP_HASH_ENA | RSS_UDP_HASH_ENA; >> +module_param(rss_config, int, S_IRUGO); >> +MODULE_PARM_DESC(rss_config, >> + "RSS hash config [bits 8:0] (Bit0:L2 extended, 1:IP, 2:TCP, 3:TCP SYN, 4:UDP, 5:L4 extended, 6:ROCE 7:L3 bi-directional, 8:L4 bi-directional)"); >> +#endif > > This should managed be via ethtool ETHTOOL_GRXFH rather than a module parameter. Thanks, i will add setting hash options via ETHTOOL_SRXFH as well. The idea here is to have a choice of hash while module load (through module params) and if it needs to be changed runtime then via Ethtool. Sunil. -- 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