Thread (26 messages) flat view 26 messages, 4 authors, 2016-08-22

RE: [PATCH net-next V3 16/18] liquidio: CN23XX health monitoring

From: Yuval Mintz <hidden>
Date: 2016-08-22 16:54:00

+				/* look at watchdog state field */
+				wdog &= 12ULL;
Magic value? Probably could use a define.
+				if (core_is_stuck[core_num] == 1) {
+					dev_err(&oct->pci_dev->dev,
+						"ERROR: Octeon core %d is
stuck!\n",
+						core_num);
+					core_is_stuck[core_num] =
+						2; /* 2 means we have printk'd
+						    * an error; so no need to
+						    * repeat the same printk
+						    */
Likewise.

+		if (!(scratch1 & 4ULL)) {
+			/* Bit 2 of SLI_SCRATCH_1 is a flag that indicates that
+			 * the lio watchdog kernel thread is running for this
+			 * NIC.  Each NIC gets one watchdog kernel thread.
+			 */
+			scratch1 |= 4ULL;
Likewise.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help