Date: Sat, 30 Nov 2019 20:22:03 +0000 (UTC) From: Navdeep Parhar <np@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r355249 - stable/11/sys/dev/cxgbe/tom Message-ID: <201911302022.xAUKM3XH059026@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: np Date: Sat Nov 30 20:22:03 2019 New Revision: 355249 URL: https://svnweb.freebsd.org/changeset/base/355249 Log: MFC r351524: cxgbe/t4_tom: Limit work requests with immediate payload to a single descriptor. The per-tid tx credits are in demand during active Tx and it's best not to use too many just for payload. Sponsored by: Chelsio Communications Modified: stable/11/sys/dev/cxgbe/tom/t4_cpl_io.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/dev/cxgbe/tom/t4_cpl_io.c ============================================================================== --- stable/11/sys/dev/cxgbe/tom/t4_cpl_io.c Sat Nov 30 20:10:50 2019 (r355248) +++ stable/11/sys/dev/cxgbe/tom/t4_cpl_io.c Sat Nov 30 20:22:03 2019 (r355249) @@ -572,7 +572,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,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911302022.xAUKM3XH059026>