Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci/ixgbe Set recovery_mode_timer workqueue's name c...
details: https://anonhg.NetBSD.org/src/rev/ac03e45b07a6
branches: trunk
changeset: 974838:ac03e45b07a6
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Thu Aug 13 08:42:18 2020 +0000
description:
Set recovery_mode_timer workqueue's name correctly.
diffstat:
sys/dev/pci/ixgbe/ixgbe.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r f6f081082ed7 -r ac03e45b07a6 sys/dev/pci/ixgbe/ixgbe.c
--- a/sys/dev/pci/ixgbe/ixgbe.c Thu Aug 13 08:38:50 2020 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe.c Thu Aug 13 08:42:18 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ixgbe.c,v 1.234 2020/08/13 08:38:50 msaitoh Exp $ */
+/* $NetBSD: ixgbe.c,v 1.235 2020/08/13 08:42:18 msaitoh Exp $ */
/******************************************************************************
@@ -1228,6 +1228,8 @@
/* Set up the timer callout */
callout_init(&adapter->recovery_mode_timer,
IXGBE_CALLOUT_FLAGS);
+ snprintf(wqname, sizeof(wqname), "%s-recovery",
+ device_xname(dev));
error = workqueue_create(&adapter->recovery_mode_timer_wq,
wqname, ixgbe_handle_recovery_mode_timer, adapter,
IXGBE_WORKQUEUE_PRI, IPL_NET, IXGBE_TASKLET_WQ_FLAGS);
Home |
Main Index |
Thread Index |
Old Index