aboutsummaryrefslogtreecommitdiff
path: root/net/realtek-re-kmod
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2020-07-21 13:21:30 +0000
committerAlex Dupre <ale@FreeBSD.org>2020-07-21 13:21:30 +0000
commit1b1ba40a09588410eadae43b866e799b9a3afbbb (patch)
treeddd9d39cf75ea916e62305f8ed2a5f448f889142 /net/realtek-re-kmod
parent628b2d903471dfb6d8afad0e1b305384c5317966 (diff)
downloadports-1b1ba40a09588410eadae43b866e799b9a3afbbb.tar.gz
ports-1b1ba40a09588410eadae43b866e799b9a3afbbb.zip
Improve pkg-message by adding a suggestion on kernel memory usage.
Bump PORTREVISION.
Notes
Notes: svn path=/head/; revision=542738
Diffstat (limited to 'net/realtek-re-kmod')
-rw-r--r--net/realtek-re-kmod/Makefile1
-rw-r--r--net/realtek-re-kmod/pkg-message10
2 files changed, 10 insertions, 1 deletions
diff --git a/net/realtek-re-kmod/Makefile b/net/realtek-re-kmod/Makefile
index cc9327399b40..6afcf23c61a7 100644
--- a/net/realtek-re-kmod/Makefile
+++ b/net/realtek-re-kmod/Makefile
@@ -3,6 +3,7 @@
PORTNAME= re
DISTVERSION= v196.04
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= LOCAL/ale
PKGNAMEPREFIX= realtek-
diff --git a/net/realtek-re-kmod/pkg-message b/net/realtek-re-kmod/pkg-message
index c3c57bccaa86..69ac138216bf 100644
--- a/net/realtek-re-kmod/pkg-message
+++ b/net/realtek-re-kmod/pkg-message
@@ -2,10 +2,18 @@
{ type: install
message: <<EOM
Add the following lines to your /boot/loader.conf
-to override the built-in FreeBSD re driver.
+to override the built-in FreeBSD 're' driver.
if_re_load="YES"
if_re_name="/boot/modules/if_re.ko"
+
+By default, the size of allocated mbufs is enough
+to receive the largest ethernet frame supported
+by the card. The value is tunable at boot time,
+eg. if you don't need Jumbo frames you can lower
+the memory requirements with:
+
+hw.re.max_rx_mbuf_sz="2048"
EOM
}
]