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 for now disable Rx offloading for xvif(4) a...



details:   https://anonhg.NetBSD.org/src/rev/c64a170c5317
branches:  trunk
changeset: 849913:c64a170c5317
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Wed Mar 18 19:26:15 2020 +0000

description:
for now disable Rx offloading for xvif(4) again, network stack requires
some changes to support deferred checksum

diffstat:

 sys/arch/xen/xen/xennetback_xenbus.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 960092144e57 -r c64a170c5317 sys/arch/xen/xen/xennetback_xenbus.c
--- a/sys/arch/xen/xen/xennetback_xenbus.c      Wed Mar 18 19:23:12 2020 +0000
+++ b/sys/arch/xen/xen/xennetback_xenbus.c      Wed Mar 18 19:26:15 2020 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: xennetback_xenbus.c,v 1.80 2020/03/18 19:23:13 jdolecek Exp $      */
+/*      $NetBSD: xennetback_xenbus.c,v 1.81 2020/03/18 19:26:15 jdolecek Exp $      */
 
 /*
  * Copyright (c) 2006 Manuel Bouyer.
@@ -25,7 +25,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xennetback_xenbus.c,v 1.80 2020/03/18 19:23:13 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xennetback_xenbus.c,v 1.81 2020/03/18 19:26:15 jdolecek Exp $");
 
 #include "opt_xen.h"
 
@@ -304,8 +304,8 @@
        ifp->if_snd.ifq_maxlen =
            uimax(ifqmaxlen, NET_TX_RING_SIZE * 2);
        ifp->if_capabilities =
-               IFCAP_CSUM_UDPv4_Rx | IFCAP_CSUM_UDPv4_Tx
-               | IFCAP_CSUM_TCPv4_Rx | IFCAP_CSUM_TCPv4_Tx;
+               IFCAP_CSUM_UDPv4_Tx
+               | IFCAP_CSUM_TCPv4_Tx;
        ifp->if_ioctl = xennetback_ifioctl;
        ifp->if_start = xennetback_ifstart;
        ifp->if_watchdog = xennetback_ifwatchdog;



Home | Main Index | Thread Index | Old Index