Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

liquidio: monitor all of Octeon's cores in watchdog thread

The liquidio_watchdog kernel thread is watching over only 12 cores of the
Octeon CN23XX; it's neglecting the other 4 cores that are present in the
CN2360. Fix it by defining LIO_MAX_CORES as 16.

Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Felix Manlunas and committed by
David S. Miller
f6047576 e72a7dd7

+1 -1
+1 -1
drivers/net/ethernet/cavium/liquidio/octeon_network.h
··· 192 192 #define LIO_SIZE (sizeof(struct lio)) 193 193 #define GET_LIO(netdev) ((struct lio *)netdev_priv(netdev)) 194 194 195 - #define LIO_MAX_CORES 12 195 + #define LIO_MAX_CORES 16 196 196 197 197 /** 198 198 * \brief Enable or disable feature