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
| ||
|
Date: Wed, 06 Jun 2012 11:54:40 -0700 (PDT) From: David Miller <davem@...emloft.net> To: cmetcalf@...era.com Cc: eric.dumazet@...il.com, bhutchings@...arflare.com, arnd@...db.de, linux-kernel@...r.kernel.org, netdev@...r.kernel.org Subject: Re: [PATCH v9] tilegx network driver: initial support From: Chris Metcalf <cmetcalf@...era.com> Date: Wed, 6 Jun 2012 14:36:02 -0400 > By the way, your question about tx_queue_len is a good one; I'm roping in > our other network developer folks to figure it out. Originally it was a > performance optimization, I believe; I'm not sure it's still required. It's illegal, you cannot do this. If you set the TX queue length to zero, amongst other very serious and grave problems, your device cannot be used with the various packet scheduler queueing disciplies. Zero TX queue lengths should only be used for layering drivers which are purely software entities rather than for real actual hardware. As stated before, all of the areas where the tilegx driver tries to be different end up being bugs. It would therefore be nice, if, as I suggested before, the driver is audited by you against a known gold-standard Linux driver such as tg3 to spot inconsistencies like this. -- 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