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: <20100422092120.603e83b8@nehalam> Date: Thu, 22 Apr 2010 09:21:20 -0700 From: Stephen Hemminger <shemminger@...tta.com> To: David Miller <davem@...emloft.net> Cc: netdev@...r.kernel.org Subject: Re: [PATCH] NIU support for skb->rxhash On Thu, 22 Apr 2010 04:21:57 -0700 (PDT) David Miller <davem@...emloft.net> wrote: > > But it turns out using it is largely pointless since the only way to > get the hash value(s) is through a structure which is prepended to the > packet data (so we take a cache miss on the packet data anyways) > instead of being able to fetch it out of the RX descriptors :-/ > > If anyone out there is trying to design sane hardware, please put the > following into your RX descriptors: > > 1) ethernet protocol type (u16) > 2) a flag bit indicating if the packet destination matched one > of the programmed unicast MAC addresses > 3) a flag bit indicating "multicast" > 4) a flag bit indicating "broadcast" > 5) at least 32-bits of the computed flow hash (u32) > > kthx, bye! > > Signed-off-by: David S. Miller <davem@...emloft.net> Could you make configurable via ethtool like I did for sky2. P.s: where is that patch seems lost in patchwork -- 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