sfc: Set PERIODIC_NOEVENT flag for MC_CMD_MAC_STATS
authorSteve Hodgson <shodgson@solarflare.com>
Wed, 28 Apr 2010 09:29:32 +0000 (09:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Apr 2010 19:44:38 +0000 (12:44 -0700)
commit3a595102d4298a357d70aaf1d47ae86d92708ea9
tree8feb409e2707f54a94b569c83f3cbf2558ef4c23
parentfbcfe8e1525e6f2f633329147cdbb9ab7029f58a
sfc: Set PERIODIC_NOEVENT flag for MC_CMD_MAC_STATS

When set, an event is not sent whenever periodic MAC statistics are
raised.  This avoids unnecessary wake-ups.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sfc/mcdi_mac.c