]> 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)
commit4a0065c2b1b5fc0cb993a0bb2a5a8f3a0529efb7
tree34be1a2f64f84a84ecc9e3345c85cb439ffabb62
parent0706e753d22ebb13875aac76f524524cd78cd7df
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