> -----Original Message----- > From: Tom Herbert [mailto:therbert@google.com] > Sent: Thursday, December 19, 2013 2:59 PM > To: Haiyang Zhang > Cc: Daniel Borkmann; Ben Hutchings; davem@davemloft.net; > netdev@vger.kernel.org; KY Srinivasan; olaf@aepfle.de; > jasowang@redhat.com; linux-kernel@vger.kernel.org; driverdev- > devel@linuxdriverproject.org > Subject: Re: [PATCH net-next] hyperv: Add support for Virtual Receive Side > Scaling (vRSS) > > I posted an implementation of library functions for Toeplitz (see [PATCH 1/2] > net: Toeplitz library functions). This includes some pre-computation of the > table to get reasonable performance in the host. Please take a look. > > On the other hand, if you're computing a hash in the host, do you really need > Toeplitz, flow_dissector already supports a good hash computation and can > parse many more packets than just plain UDP/TCP. > We probably only should be doing Toeplitz in the host if we need to match > HW computed values. The Hyper-V host requires the guest to select channel based on Toeplitz hash, so we need to compute it on the guest. Regarding the Toeplitz function, do you mean this patch? http://patchwork.ozlabs.org/patch/277344/ This doesn't contain the implementation. Could you point me to the actual code? Thanks, - Haiyang ÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ¥Šwÿº{.nÇ+‰·¥Š{±þG«�éÿŠ{ayºʇڙë,j­¢f£¢·hš�ï�êÿ‘êçz_è®(­éšŽŠÝ¢j"�ú¶m§ÿÿ¾«þG«�éÿ¢¸?™¨è­Ú&£ø§~�á¶iO•æ¬z·švØ^¶m§ÿÿà ÿ¶ìÿ¢¸?–I¥