be2net: Fix TX rate limiting on Lancer/Skyhawk-R VFs
authorKalesh AP <kalesh.purayil@emulex.com>
Tue, 20 Jan 2015 08:51:49 +0000 (03:51 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sun, 25 Jan 2015 01:22:42 +0000 (17:22 -0800)
commit58bdeaa666152b2e03bb6e0d754d8186120fc103
tree062c778892b863d5415827863505abfbeb1157a1
parente02cfd96a2726a06d29c5b44e0f0375048ae9da1
be2net: Fix TX rate limiting on Lancer/Skyhawk-R VFs

When max_tx_rate is set via bw_max in the NIC resource desc, bw_min must be
set to 0.
Signed-off-by: Kalesh AP <kalesh.purayil@emulex.com>
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_cmds.c