Module Name: src
Committed By: yamaguchi
Date: Tue Feb 25 07:35:54 UTC 2020
Modified Files:
src/sys/dev/pci: if_ixl.c
Log Message:
Change position of the cpuid::ixl_hmc_txq
to be same with ixl_hmc_pack_txq[]
This has no functionality impact because the position on memory
is defined in ixl_hmc_pack_txq[].
pointed out and reviewed by [email protected]., thanks
To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/sys/dev/pci/if_ixl.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/pci/if_ixl.c
diff -u src/sys/dev/pci/if_ixl.c:1.48 src/sys/dev/pci/if_ixl.c:1.49
--- src/sys/dev/pci/if_ixl.c:1.48 Tue Feb 25 07:31:19 2020
+++ src/sys/dev/pci/if_ixl.c Tue Feb 25 07:35:54 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ixl.c,v 1.48 2020/02/25 07:31:19 yamaguchi Exp $ */
+/* $NetBSD: if_ixl.c,v 1.49 2020/02/25 07:35:54 yamaguchi Exp $ */
/*
* Copyright (c) 2013-2015, Intel Corporation
@@ -74,7 +74,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ixl.c,v 1.48 2020/02/25 07:31:19 yamaguchi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ixl.c,v 1.49 2020/02/25 07:35:54 yamaguchi Exp $");
#ifdef _KERNEL_OPT
#include "opt_net_mpsafe.h"
@@ -369,8 +369,8 @@ struct ixl_hmc_txq {
uint8_t timesync_ena;
uint8_t fd_ena;
uint8_t alt_vlan_ena;
- uint16_t thead_wb;
uint8_t cpuid;
+ uint16_t thead_wb;
uint8_t head_wb_ena;
#define IXL_HMC_TXQ_DESC_WB 0
#define IXL_HMC_TXQ_HEAD_WB 1