Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/xen/xen also let backend know that feature-ipv6-csu...
details: https://anonhg.NetBSD.org/src/rev/b440c252618c
branches: trunk
changeset: 971417:b440c252618c
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Thu Apr 23 15:06:49 2020 +0000
description:
also let backend know that feature-ipv6-csum-offload is supported
diffstat:
sys/arch/xen/xen/if_xennet_xenbus.c | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diffs (31 lines):
diff -r e053a376c5f5 -r b440c252618c sys/arch/xen/xen/if_xennet_xenbus.c
--- a/sys/arch/xen/xen/if_xennet_xenbus.c Thu Apr 23 14:54:48 2020 +0000
+++ b/sys/arch/xen/xen/if_xennet_xenbus.c Thu Apr 23 15:06:49 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_xennet_xenbus.c,v 1.115 2020/04/23 14:54:48 jdolecek Exp $ */
+/* $NetBSD: if_xennet_xenbus.c,v 1.116 2020/04/23 15:06:49 jdolecek Exp $ */
/*
* Copyright (c) 2006 Manuel Bouyer.
@@ -81,7 +81,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_xennet_xenbus.c,v 1.115 2020/04/23 14:54:48 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_xennet_xenbus.c,v 1.116 2020/04/23 15:06:49 jdolecek Exp $");
#include "opt_xen.h"
#include "opt_nfs_boot.h"
@@ -576,6 +576,12 @@
goto abort_transaction;
}
error = xenbus_printf(xbt, sc->sc_xbusd->xbusd_path,
+ "feature-ipv6-csum-offload", "%u", 1);
+ if (error) {
+ errmsg = "writing feature-ipv6-csum-offload";
+ goto abort_transaction;
+ }
+ error = xenbus_printf(xbt, sc->sc_xbusd->xbusd_path,
"event-channel", "%u", sc->sc_evtchn);
if (error) {
errmsg = "writing event channel";
Home |
Main Index |
Thread Index |
Old Index