[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180316.145137.1684632029426990322.davem@davemloft.net>
Date: Fri, 16 Mar 2018 14:51:37 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: igor.russkikh@...antia.com
Cc: netdev@...r.kernel.org, darcari@...hat.com,
pavel.belous@...antia.com
Subject: Re: [PATCH net 4/7] net: aquantia: Add aq_tx_clean_budget and
valid budget handling logic
From: Igor Russkikh <igor.russkikh@...antia.com>
Date: Fri, 16 Mar 2018 13:53:47 +0300
> diff --git a/drivers/net/ethernet/aquantia/atlantic/aq_nic.c b/drivers/net/ethernet/aquantia/atlantic/aq_nic.c
> index ebbaf63..5723f2c 100644
> --- a/drivers/net/ethernet/aquantia/atlantic/aq_nic.c
> +++ b/drivers/net/ethernet/aquantia/atlantic/aq_nic.c
> @@ -36,6 +36,10 @@ static unsigned int aq_itr_rx;
> module_param_named(aq_itr_rx, aq_itr_rx, uint, 0644);
> MODULE_PARM_DESC(aq_itr_rx, "RX interrupt throttle rate");
>
> +unsigned aq_tx_clean_budget = 256;
> +module_param_named(aq_tx_clean_budget, aq_tx_clean_budget, uint, 0644);
> +MODULE_PARM_DESC(aq_tx_clean_budget, "Maximum descriptors to cleanup on TX at once");
> +
> static void aq_nic_update_ndev_stats(struct aq_nic_s *self);
Please do not add driver private module parameter knobs like this.
Instead, please use a existing, device agnostic, runtime,
configuration mechanism to control this.
Thank you.
Powered by blists - more mailing lists