bnxt_en: Refactor bnxt_hwrm_set_coal().
authorMichael Chan <michael.chan@broadcom.com>
Fri, 26 Feb 2016 09:00:02 +0000 (04:00 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Mar 2016 20:37:00 +0000 (15:37 -0500)
commitbb053f52a54d66a6057c2220458349f7d39ce0d2
tree45e7c96afe0ee3e051c5dd9448b7bce39b8a4372
parentdfb5b894f87cb78168e04283e8d15626dc3e6d5a
bnxt_en: Refactor bnxt_hwrm_set_coal().

Add a function to set all the coalescing parameters.  The function can
be used later to set both rx and tx coalescing parameters.

v2: Fixed function parameters formatting requested by DaveM.

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