]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Move q_vectors from pointer to array to array of pointers
authorAlexander Duyck <alexander.h.duyck@intel.com>
Sat, 28 Sep 2013 07:01:44 +0000 (07:01 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 10 Oct 2013 05:32:10 +0000 (22:32 -0700)
commit9c4401989cc962aa260510cca163e4696b847f65
treea4efe1ea58b5dcb5abed679ec9f45b35fed39dc3
parentabbb2aa183122c3fb5b2f06fdc450086660d70ad
i40e: Move q_vectors from pointer to array to array of pointers

Allocate the q_vectors individually. The advantage to this is that it
allows for easier freeing and allocation.  In addition it makes it so
that we could do node specific allocations at some point in the future.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e.h
drivers/net/ethernet/intel/i40e/i40e_debugfs.c
drivers/net/ethernet/intel/i40e/i40e_ethtool.c
drivers/net/ethernet/intel/i40e/i40e_main.c