]> git.baikalelectronics.ru Git - kernel.git/commit
be2net: restrict MODIFY_EQ_DELAY cmd to a max of 8 EQs
authorSuresh Reddy <Suresh.Reddy@emulex.com>
Fri, 20 Mar 2015 10:28:24 +0000 (06:28 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Mar 2015 17:25:51 +0000 (13:25 -0400)
commited0f057b784d2d9c14ad6b97ba3e1609e2317d48
tree1c663d8db983a998b69d8f6dfb886947976f9534
parentce9803a0e21e539d60a3e939d3e9b2fa8daef539
be2net: restrict MODIFY_EQ_DELAY cmd to a max of 8 EQs

Issuing this cmd for more than 8 EQs does not have the intended effect
even on BEx and Skyhawk-R.

This patch fixes this by issuing this cmd for upto 8 EQs at a time.
Signed-off-by: Suresh Reddy <Suresh.Reddy@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