]> git.karo-electronics.de Git - linux-beck.git/commit
i40e: rework fdir setup and teardown
authorShannon Nelson <shannon.nelson@intel.com>
Fri, 14 Mar 2014 07:32:28 +0000 (07:32 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 22 Apr 2014 10:47:44 +0000 (03:47 -0700)
commit8a9eb7d3cbcabb361834128dafb727f7d57d0757
tree6e66d49f9159a0ddac6f35c6cff76273f4e282bf
parent8276f75748a60a80ab465ad806c8685e624dfb65
i40e: rework fdir setup and teardown

Use the newer i40e_vsi_open() and i40e_vsi_close() in the FDIR VSI
lifetime.  This makes sure we're using standard methods for all the
VSI open and close paths.  This also fixes a memory leak of the
FDIR queue buffer info structs across a reset.

Change-ID: I1b60a1b08ab923afe4f49810c2c7844d850e19b9
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Signed-off-by: Catherine Sullivan <catherine.sullivan@intel.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c