[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170330.200317.1176664200594872180.davem@davemloft.net>
Date: Thu, 30 Mar 2017 20:03:17 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: salil.mehta@...wei.com
Cc: yisen.zhuang@...wei.com, mehta.salil.lnk@...il.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
linuxarm@...wei.com
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!
Powered by blists - more mailing lists