summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/sfxge.48
-rw-r--r--share/mk/local.sys.mk2
-rw-r--r--share/mk/sys.mk2
3 files changed, 11 insertions, 1 deletions
diff --git a/share/man/man4/sfxge.4 b/share/man/man4/sfxge.4
index c6319fc..b924986 100644
--- a/share/man/man4/sfxge.4
+++ b/share/man/man4/sfxge.4
@@ -148,6 +148,14 @@ Number of packets with payload that must arrive in-order following loss
before a connection is eligible for LRO.
The idea is we should avoid coalescing segments when the sender is recovering
from loss, because reducing the ACK rate can damage performance.
+.It Va hw.sfxge.mcdi_logging
+Enable logging of MCDI protocol messages (only available if enabled at compile-time).
+.It Va hw.sfxge.N.mcdi_logging
+Enable or disable logging of MCDI protocol messages on a per-port basis. The default for each
+port will be the value of
+.Va hw.sfxge.mcdi_logging.
+The logging may also be enabled or disabled after the driver is loaded using the sysctl
+.Va dev.sfxge.%d.mcdi_logging.
.El
.Sh SUPPORT
For general information and support,
diff --git a/share/mk/local.sys.mk b/share/mk/local.sys.mk
index d379e8f..b54e622 100644
--- a/share/mk/local.sys.mk
+++ b/share/mk/local.sys.mk
@@ -3,7 +3,7 @@
.if defined(.PARSEDIR)
SRCTOP:= ${.PARSEDIR:tA:H:H}
.else
-SRCTOP:= ${.MAKE.MAKEFILES:M*/local.sys.mk:H:H:H}
+SRCTOP:= ${.MAKEFILE_LIST:M*/local.sys.mk:H:H:H}
.endif
.if ${.CURDIR} == ${SRCTOP}
diff --git a/share/mk/sys.mk b/share/mk/sys.mk
index 96cdc72..0afbbd5 100644
--- a/share/mk/sys.mk
+++ b/share/mk/sys.mk
@@ -144,6 +144,8 @@ OBJCFLAGS ?= ${OBJCINCLUDES} ${CFLAGS} -Wno-import
OBJCOPY ?= objcopy
+OBJDUMP ?= objdump
+
PC ?= pc
PFLAGS ?=
OpenPOWER on IntegriCloud