]> 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)
commiteedeab731aac7ef4f1528ff60dabd4133516f30b
treea4efe1ea58b5dcb5abed679ec9f45b35fed39dc3
parentb053875da4ddf16278514968d1550942d678eb52
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