]> asedeno.scripts.mit.edu Git - linux.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)
commitdfb5b894f87cb78168e04283e8d15626dc3e6d5a
tree34be1a2f64f84a84ecc9e3345c85cb439ffabb62
parent19241368443ff976b1924019d29eef8e972158e7
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