summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/bnxt/bnxt_tc.h
diff options
context:
space:
mode:
authorMichael Chan2017-10-26 17:51:28 +0200
committerDavid S. Miller2017-10-27 17:02:45 +0200
commitf8503969d27b2b26ff0adbce4b7d7cf4ba5e43c2 (patch)
tree2dcab7a6e5d2ea3c9bd89510a3eb5f0e163437b3 /drivers/net/ethernet/broadcom/bnxt/bnxt_tc.h
parentbnxt_en: Reorganize the coalescing parameters. (diff)
downloadkernel-qcow2-linux-f8503969d27b2b26ff0adbce4b7d7cf4ba5e43c2.tar.gz
kernel-qcow2-linux-f8503969d27b2b26ff0adbce4b7d7cf4ba5e43c2.tar.xz
kernel-qcow2-linux-f8503969d27b2b26ff0adbce4b7d7cf4ba5e43c2.zip
bnxt_en: Refactor and simplify coalescing code.
The mapping of the ethtool coalescing parameters to hardware parameters is now done in bnxt_hwrm_set_coal_params(). The same function can handle both RX and TX settings. The code is now more clear. Some adjustments have been made to get better hardware settings. The coal_frames setting is now accurately set in hardware. The max_timer is set to coal_ticks value. Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnxt/bnxt_tc.h')
0 files changed, 0 insertions, 0 deletions