net/sfc/base: support improvements to bandwidth calculations
authorRichard Houldsworth <rhouldsworth@solarflare.com>
Mon, 24 Sep 2018 13:50:25 +0000 (14:50 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 27 Sep 2018 23:41:03 +0000 (01:41 +0200)
commitac664071e76e666c9f648abc1525dbfb8c3b387a
treed0781b4779bdbdd04311c77724d2aad725b5cfdc
parentcd7dc6c8128bc708ac40d0c3d2af84e16a9e9c56
net/sfc/base: support improvements to bandwidth calculations

Change the interface to ef10_nic_get_port_mode_bandwidth()
so more NIC information can be used to infer bandwidth
requirements. Huntington calculations separated out
completely.

Signed-off-by: Richard Houldsworth <rhouldsworth@solarflare.com>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/base/ef10_impl.h
drivers/net/sfc/base/ef10_nic.c
drivers/net/sfc/base/hunt_nic.c
drivers/net/sfc/base/medford2_nic.c
drivers/net/sfc/base/medford_nic.c