git: ca63dbc1ebe1 - main - net/realtek-re-kmod: suggest to disable checksum offloading if the network hangs

From: Alex Dupre <ale_at_FreeBSD.org>
Date: Thu, 22 Aug 2024 09:29:52 UTC
The branch main has been updated by ale:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ca63dbc1ebe126e526ded8214a88c034fc92ab68

commit ca63dbc1ebe126e526ded8214a88c034fc92ab68
Author:     Alex Dupre <ale@FreeBSD.org>
AuthorDate: 2024-08-22 09:28:10 +0000
Commit:     Alex Dupre <ale@FreeBSD.org>
CommitDate: 2024-08-22 09:29:49 +0000

    net/realtek-re-kmod: suggest to disable checksum offloading if the network hangs
    
    PR:             275882
---
 net/realtek-re-kmod/Makefile    | 1 +
 net/realtek-re-kmod/pkg-message | 7 +++++++
 2 files changed, 8 insertions(+)

diff --git a/net/realtek-re-kmod/Makefile b/net/realtek-re-kmod/Makefile
index fbf1c8e9ae88..0a6cffedba27 100644
--- a/net/realtek-re-kmod/Makefile
+++ b/net/realtek-re-kmod/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	re
 PORTVERSION=	1100.00
 DISTVERSIONPREFIX=	v
+PORTREVISION=	1
 CATEGORIES=	net
 PKGNAMEPREFIX=	realtek-
 PKGNAMESUFFIX=	-kmod
diff --git a/net/realtek-re-kmod/pkg-message b/net/realtek-re-kmod/pkg-message
index 04c8a05a9b71..07b478dccc53 100644
--- a/net/realtek-re-kmod/pkg-message
+++ b/net/realtek-re-kmod/pkg-message
@@ -23,6 +23,13 @@ to set the following tunables:
 
 hw.re.s5wol="1"
 hw.re.s0_magic_packet="1"
+
+If you experience network hangs with IPv6 enabled,
+you might need to disable the checksum offloading
+by adding the following parameters to the related
+ifconfig line in your /etc/rc.conf file:
+
+-rxcsum -txcsum -rxcsum6 -txcsum6
 EOM
 }
 ]