Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci Fix a wrong value about HENA configuration



details:   https://anonhg.NetBSD.org/src/rev/3e0768d85b7f
branches:  trunk
changeset: 1017007:3e0768d85b7f
user:      yamaguchi <yamaguchi%NetBSD.org@localhost>
date:      Thu Dec 10 03:58:35 2020 +0000

description:
Fix a wrong value about HENA configuration

diffstat:

 sys/dev/pci/if_iavf.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 2c346551ffb4 -r 3e0768d85b7f sys/dev/pci/if_iavf.c
--- a/sys/dev/pci/if_iavf.c     Thu Dec 10 00:36:22 2020 +0000
+++ b/sys/dev/pci/if_iavf.c     Thu Dec 10 03:58:35 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_iavf.c,v 1.8 2020/12/08 07:53:20 yamaguchi Exp $    */
+/*     $NetBSD: if_iavf.c,v 1.9 2020/12/10 03:58:35 yamaguchi Exp $    */
 
 /*
  * Copyright (c) 2013-2015, Intel Corporation
@@ -75,7 +75,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_iavf.c,v 1.8 2020/12/08 07:53:20 yamaguchi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_iavf.c,v 1.9 2020/12/10 03:58:35 yamaguchi Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -4767,9 +4767,9 @@
 
        caps = IXL_AQB_KVA(aqb);
        if (sc->sc_mac_type == I40E_MAC_X722_VF)
-               *caps = IXL_RSS_HENA_DEFAULT_XL710;
+               *caps = IXL_RSS_HENA_DEFAULT_X722;
        else
-               *caps = IXL_RSS_HENA_DEFAULT_X722;
+               *caps = IXL_RSS_HENA_DEFAULT_XL710;
 
        memset(&iaq, 0, sizeof(iaq));
        iaq.iaq_flags = htole16(IXL_AQ_BUF | IXL_AQ_RD);



Home | Main Index | Thread Index | Old Index