]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
i40e: fix confusing message
authorHelin Zhang <helin.zhang@intel.com>
Mon, 26 Oct 2015 23:44:36 +0000 (19:44 -0400)
committerTim Gardner <tim.gardner@canonical.com>
Mon, 29 Feb 2016 15:55:43 +0000 (08:55 -0700)
BugLink: http://bugs.launchpad.net/bugs/1536474
This patch fixes the confusing kernel message of enabled RSS size,
by reporting it together with the hardware maximum RSS size.

Change-ID: I64864dbfbc13beccc180a7871680def1f3d5a339
Signed-off-by: Helin Zhang <helin.zhang@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit e36b0b111bcc651ce030e88e042f83b015dd04b8)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/net/ethernet/intel/i40e/i40e_main.c

index 428548e736d933068eddf1884eb9c6f8345e3b26..b56a32d8807220ad2e6f8f3366c80460fdd2ac61 100644 (file)
@@ -8110,7 +8110,8 @@ int i40e_reconfig_rss_queues(struct i40e_pf *pf, int queue_count)
 
                i40e_pf_config_rss(pf);
        }
-       dev_info(&pf->pdev->dev, "RSS count:  %d\n", pf->alloc_rss_size);
+       dev_info(&pf->pdev->dev, "RSS count/HW max RSS count:  %d/%d\n",
+                pf->alloc_rss_size, pf->rss_size_max);
        return pf->alloc_rss_size;
 }