summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authornp <np@FreeBSD.org>2014-09-22 13:07:03 +0000
committernp <np@FreeBSD.org>2014-09-22 13:07:03 +0000
commited8e08d5db88e85f0297ca7eb59f9837bcba8720 (patch)
tree0a3c85c67a981be5f853c10d1528b91e0f1a0ad8 /share
parentd214dc3b2061ca3ef809ec2b3cdd0d4cd7b0d821 (diff)
downloadFreeBSD-src-ed8e08d5db88e85f0297ca7eb59f9837bcba8720.zip
FreeBSD-src-ed8e08d5db88e85f0297ca7eb59f9837bcba8720.tar.gz
MFC r271450:
cxgbe(4): knobs to enable/disable PAUSE frame based flow control. Approved by: re (glebius)
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/cxgbe.413
1 files changed, 12 insertions, 1 deletions
diff --git a/share/man/man4/cxgbe.4 b/share/man/man4/cxgbe.4
index 82966bd..57a8b09 100644
--- a/share/man/man4/cxgbe.4
+++ b/share/man/man4/cxgbe.4
@@ -241,8 +241,19 @@ The default is -1 which lets the driver pick a pad boundary.
Controls the hardware response to congestion.
-1 disables congestion feedback and is not recommended.
0 instructs the hardware to backpressure its pipeline on congestion.
-This usually results in the port emitting pause frames.
+This usually results in the port emitting PAUSE frames.
1 instructs the hardware to drop frames destined for congested queues.
+.It Va hw.cxgbe.pause_settings
+PAUSE frame settings.
+Bit 0 is rx_pause, bit 1 is tx_pause.
+rx_pause = 1 instructs the hardware to heed incoming PAUSE frames, 0 instructs
+it to ignore them.
+tx_pause = 1 allows the hardware to emit PAUSE frames when its receive FIFO
+reaches a high threshold, 0 prohibits the hardware from emitting PAUSE frames.
+The default is 3 (both rx_pause and tx_pause = 1).
+This tunable establishes the default PAUSE settings for all ports.
+Settings can be displayed and controlled on a per-port basis via the
+dev.cxgbe.X.pause_settings (dev.cxl.X.pause_settings for T5 cards) sysctl.
.It Va hw.cxgbe.buffer_packing
Allow the hardware to deliver multiple frames in the same receive buffer
opportunistically.
OpenPOWER on IntegriCloud