]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 7 Jul 2016 00:36:57 +0000 (17:36 -0700)
commita24680bb1197b26c4f9743fb3c42ba9f59dc2865
tree650002395a98496ef139db8b6401339a2e48805d
parent3899567337a296f37814ffe4d6362d59bb43f5ad
bnxt_en: Store irq coalescing timer values in micro seconds.

Orabug: 23221795

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>
(cherry picked from commit dfb5b894f87cb78168e04283e8d15626dc3e6d5a)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c