]> git.karo-electronics.de Git - karo-tx-linux.git/commit
cxgb4: LE-Workaround is not atomic in firmware
authorKumar Sanghvi <kumaras@chelsio.com>
Tue, 18 Feb 2014 12:26:11 +0000 (17:56 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Feb 2014 21:23:01 +0000 (16:23 -0500)
commit4fe44dd77602fef804561c46ad10b988ee2859ac
treeac3b08e389d89b0f1b0eb8acc67dd4b5fdf6ca33
parent57d8b7649d119e8ad6a976a196a21cb4e5e2714c
cxgb4: LE-Workaround is not atomic in firmware

The LE workaround in firmware is not atomic and fw_ofld_connection_wrs must not interleave.
Therefore, when the workaround is enabled, we need to send all ctrlq WRs on a single ctrl queue.

Based on original work by Santosh Rastapur <santosh@chelsio.com>

Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/sge.c