From: Michael Chan <[email protected]>
Date: Thu, 25 Feb 2016 03:19:28 -0500

> Add a function to set all the coalescing parameters.  The function can
> be used later to set both rx and tx coalescing parameters.
> 
> Signed-off-by: Michael Chan <[email protected]>
> ---
>  drivers/net/ethernet/broadcom/bnxt/bnxt.c | 26 +++++++++++++++++---------
>  1 file changed, 17 insertions(+), 9 deletions(-)
> 
> diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt.c 
> b/drivers/net/ethernet/broadcom/bnxt/bnxt.c
> index a7103b5..b87b367 100644
> --- a/drivers/net/ethernet/broadcom/bnxt/bnxt.c
> +++ b/drivers/net/ethernet/broadcom/bnxt/bnxt.c
> @@ -3521,6 +3521,21 @@ static void bnxt_hwrm_ring_free(struct bnxt *bp, bool 
> close_path)
>       }
>  }
>  
> +static void bnxt_hwrm_set_coal_params(
> +     struct bnxt *bp, u32 max_bufs, u32 buf_tmrs, u16 flags,
> +     struct hwrm_ring_cmpl_ring_cfg_aggint_params_input *req)

Don't format arguments like this, it's insanely ugly.  You can and
should fit the first few arguments on the line that opens the argument
list.

Reply via email to