qed: iWARP - Fix default window size to be based on chip
authorMichal Kalderon <michal.kalderon@marvell.com>
Thu, 13 Jun 2019 08:29:43 +0000 (11:29 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 15 Jun 2019 02:23:30 +0000 (19:23 -0700)
commitfbce23a8036d995b17f79c31118d3f549ef44be8
tree2565dd1cd29f19aa54e2415546ecf52cc6be9390
parentcb94d52b93c74fe1f2595734fabeda9f8ae891ee
qed: iWARP - Fix default window size to be based on chip

The default window size is calculated for best performance based
on internal hw buffer sizes. The size differs between the
different chips and modes.

Fixes: 67b40dccc45f ("qed: Implement iWARP initialization, teardown and qp operations")
Signed-off-by: Ariel Elior <ariel.elior@marvell.com>
Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_iwarp.c