diff options
author | Navdeep Parhar <np@FreeBSD.org> | 2019-08-27 01:16:02 +0000 |
---|---|---|
committer | Navdeep Parhar <np@FreeBSD.org> | 2019-08-27 01:16:02 +0000 |
commit | 241c83909c2e2f361e297783381bb88e5ea37df8 (patch) | |
tree | 51ae2af71dd55f4bcb8053f59b8013342bab95d4 /sys/dev/cxgbe/tom/t4_cpl_io.c | |
parent | b2e60773c6b015f06fcd71510cd20a91eb43bcaa (diff) | |
download | src-test2-241c83909c2e2f361e297783381bb88e5ea37df8.tar.gz src-test2-241c83909c2e2f361e297783381bb88e5ea37df8.zip |
Notes
Diffstat (limited to 'sys/dev/cxgbe/tom/t4_cpl_io.c')
-rw-r--r-- | sys/dev/cxgbe/tom/t4_cpl_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/cxgbe/tom/t4_cpl_io.c b/sys/dev/cxgbe/tom/t4_cpl_io.c index 6ce6b98a9300..f0f33876726c 100644 --- a/sys/dev/cxgbe/tom/t4_cpl_io.c +++ b/sys/dev/cxgbe/tom/t4_cpl_io.c @@ -540,7 +540,7 @@ t4_close_conn(struct adapter *sc, struct toepcb *toep) static inline int max_imm_payload(int tx_credits) { - const int n = 2; /* Use only up to 2 desc for imm. data WR */ + const int n = 1; /* Use no more than one desc for imm. data WR */ KASSERT(tx_credits >= 0 && tx_credits <= MAX_OFLD_TX_CREDITS, |