]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: populate the timer reload field
authorBert Kenward <bkenward@solarflare.com>
Mon, 18 Dec 2017 16:57:41 +0000 (16:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Dec 2017 18:07:50 +0000 (13:07 -0500)
commita6b8a24b4f30e11c6d34bee8533154e985f1e287
treec601877dc0955589847e3666fc362fa6d2acc7e3
parent477371cc978a97a6c29340494587dc08239d1cbb
sfc: populate the timer reload field

The timer mode register now has a separate field for the reload value.
Since we always use this timer with the reload (for interrupt moderation)
we set this to the same as the initial value.

Previous hardware ignores this field, so we can safely set these bits
on all hardware that uses this register.

Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/ef10.c