]> git.karo-electronics.de Git - linux-beck.git/commit
net/mlx4_core: Set CQE/EQE size to 64B by default
authorEyal Perry <eyalpe@mellanox.com>
Thu, 19 Dec 2013 19:20:15 +0000 (21:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Dec 2013 00:04:44 +0000 (19:04 -0500)
commitbe902ab122fcc59ba6a8588e820c31861d75a5a4
treeb555083c1b970228819fa04bc915fc9b209727fd
parentd03a68f8217ea03492e4f7928db222dc6544792a
net/mlx4_core: Set CQE/EQE size to 64B by default

To achieve out of the box performance default is to use 64 byte CQE/EQE.
In tests that we conduct in our labs, we achieved a performance
improvement of twice the message rate. For older VF/libmlx4 support,
enable_64b_cqe_eqe must be set to 0 (disabled).

Signed-off-by: Eyal Perry <eyalpe@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/main.c