]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Store irq coalescing timer values in micro seconds.
authorMichael Chan <michael.chan@broadcom.com>
Fri, 26 Feb 2016 09:00:01 +0000 (04:00 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Mar 2016 20:37:00 +0000 (15:37 -0500)
commita6b179b076be91c1461f562800402b931fb7279b
tree34be1a2f64f84a84ecc9e3345c85cb439ffabb62
parentd92b49ae283fbf63a656b18aedf1aa98b021e41e
bnxt_en: Store irq coalescing timer values in micro seconds.

Don't convert these to internal hardware tick values before storing
them.  This avoids the confusion of ethtool -c returning slightly
different values than the ones set using ethtool -C when we convert
hardware tick values back to micro seconds.  Add better comments for
the hardware settings.

Also, rename the current set of coalescing fields with rx_ prefix.
The next patch will add support of tx coalescing values.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c