]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i40e: Add common function for finding VSI by type
authorAlexander Duyck <alexander.h.duyck@intel.com>
Tue, 11 Oct 2016 22:26:53 +0000 (15:26 -0700)
committerDhaval Giani <dhaval.giani@oracle.com>
Wed, 8 Mar 2017 00:40:56 +0000 (19:40 -0500)
commit7af390b7c9fc695cf4fa626f8edfa104dd72dbe3
treed9c540de75e25f8d4acd153d1aaf940cdf197729
parentb967e47360c369495354e22af9dbe4cac44e53ce
i40e: Add common function for finding VSI by type

Orabug: 24568124

This patch adds a common method for finding a VSI by type.  The main
motivation for doing this is that the Flow Director path actually had two
ways of handling this, one stopped on first match and one did not.  This
patch makes it so that all callers of this function will get the same
approach for finding a VSI.

Change-ID: Ibf25de8acd8466582520694424aa87da66965fbd
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Bimmy Pujari <bimmy.pujari@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit 4b8164467b854fbeb7ecbb14cf53b6be9113ef03)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
drivers/net/ethernet/intel/i40e/i40e.h
drivers/net/ethernet/intel/i40e/i40e_ethtool.c
drivers/net/ethernet/intel/i40e/i40e_main.c
drivers/net/ethernet/intel/i40e/i40e_txrx.c