sfc: PTP: Moderate log message on event queue overflow
authorLaurence Evans <levans@solarflare.com>
Mon, 28 Jan 2013 14:51:17 +0000 (14:51 +0000)
committerBen Hutchings <bhutchings@solarflare.com>
Fri, 6 Dec 2013 22:15:55 +0000 (22:15 +0000)
commitf32116003c39f3a6815215a7512e1ea8d1e4bbc7
treee22346e109eb6108c9fe5fb805aa9a75311f6e7b
parente5a498e943fbc497f236ab8cf31366c75f337ce6
sfc: PTP: Moderate log message on event queue overflow

Limit syslog flood if a PTP packet storm occurs.

Fixes: 7c236c43b838 ('sfc: Add support for IEEE-1588 PTP')
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/ptp.c