]> git.karo-electronics.de Git - linux-beck.git/commit
cxgb4i: fix tx immediate data credit check
authorKaren Xie <kxie@chelsio.com>
Fri, 12 Dec 2014 03:13:29 +0000 (19:13 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Dec 2014 16:22:29 +0000 (11:22 -0500)
commit84944d8cf5d16c281e9389d90de20b9ceb96765e
treea37c9b4564deecbe3f868acf7e4d708cc5dbf21e
parent37e9a6904520b525b542ecd67201164d06fdb95a
cxgb4i: fix tx immediate data credit check

Only data skbs need the wr header added while control skbs do not. Make sure
they are treated differently.

Signed-off-by: Karen Xie <kxie@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
drivers/scsi/cxgbi/libcxgbi.h