[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 12 Dec 2013 18:13:58 +0400
From: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
To: Jeff Kirsher <jeffrey.t.kirsher@...el.com>, davem@...emloft.net
CC: Anjali Singhai Jain <anjali.singhai@...el.com>,
netdev@...r.kernel.org, gospo@...hat.com, sassmann@...hat.com,
Jesse Brandeburg <jesse.brandeburg@...el.com>
Subject: Re: [net-next 11/15] i40e: debugfs command to change RSS queue count
Hello.
On 12-12-2013 16:40, Jeff Kirsher wrote:
> From: Anjali Singhai Jain <anjali.singhai@...el.com>
> This is the 3rd of 3 patches that implements changing the number
> of queues on the fly.
> This patch adds the debugfs hook for calling the change queues
> flow with a request to change the number of RSS queues.
> This is intended to also be called eventually from ethtool.
> Change-Id: Ib6b332f0ec8e58989ef8c65ec30079d01fdf6c9a
> Signed-off-by: Anjali Singhai Jain <anjali.singhai@...el.com>
> Signed-off-by: Jesse Brandeburg <jesse.brandeburg@...el.com>
> Tested-by: Kavindya Deegala <kavindya.s.deegala@...el.com>
> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
> ---
> drivers/net/ethernet/intel/i40e/i40e_debugfs.c | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
> diff --git a/drivers/net/ethernet/intel/i40e/i40e_debugfs.c b/drivers/net/ethernet/intel/i40e/i40e_debugfs.c
> index 9c675b5..3303b43 100644
> --- a/drivers/net/ethernet/intel/i40e/i40e_debugfs.c
> +++ b/drivers/net/ethernet/intel/i40e/i40e_debugfs.c
> @@ -1792,6 +1792,17 @@ static ssize_t i40e_dbg_command_write(struct file *filp,
> }
> kfree(buff);
> buff = NULL;
> + } else if (strncmp(cmd_buf, "set rss_size", 12) == 0) {
> + u16 queue_count;
Please insert empty line after declaration.
> + cnt = sscanf(&cmd_buf[12], "%hi", &queue_count);
WBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists