[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <F4CC6FACFEB3C54C9141D49AD221F7F91A8E7600@lhreml503-mbx>
Date: Fri, 31 Mar 2017 09:58:24 +0000
From: Salil Mehta <salil.mehta@...wei.com>
To: David Miller <davem@...emloft.net>
CC: "Zhuangyuzeng (Yisen)" <yisen.zhuang@...wei.com>,
"mehta.salil.lnk@...il.com" <mehta.salil.lnk@...il.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Linuxarm <linuxarm@...wei.com>
Subject: RE: [PATCH net 00/19] net: hns: Misc. HNS Bug Fixes & Code
Improvements
> -----Original Message-----
> From: David Miller [mailto:davem@...emloft.net]
> Sent: Friday, March 31, 2017 4:03 AM
> To: Salil Mehta
> Cc: Zhuangyuzeng (Yisen); mehta.salil.lnk@...il.com;
> netdev@...r.kernel.org; linux-kernel@...r.kernel.org; Linuxarm
> Subject: Re: [PATCH net 00/19] net: hns: Misc. HNS Bug Fixes & Code
> Improvements
>
> From: Salil Mehta <salil.mehta@...wei.com>
> Date: Thu, 30 Mar 2017 16:30:47 +0100
>
> > This patch set introduces various HNS bug fixes, optimizations and
> code
> > improvements.
>
> There is no way you should do such an expensive calculation for every
> single transmit packet as you are doing in your select_queue() routine.
>
> That's really crazy.
>
> Just use the networking stack's queue selection scheme, or suggest
> ways to improve it. Don't do private hashing like this in your
> driver, please!
Hi David,
I got your point. I will drop this patch from this patch-set for now.
Thanks
Salil
Powered by blists - more mailing lists