]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i40e/i40evf: Add txring_txq function to match fm10k and ixgbe
authorAlexander Duyck <alexander.h.duyck@intel.com>
Mon, 12 Sep 2016 21:18:40 +0000 (14:18 -0700)
committerDhaval Giani <dhaval.giani@oracle.com>
Wed, 8 Mar 2017 00:39:43 +0000 (19:39 -0500)
commit757b7387ef980b4327bc96d14056f8c2dea2f395
treec93da6a8c284b012c1003e2e549f6907f0eac441
parent2e1f7d0e4533f4be598d2b7637ffd24f86406e05
i40e/i40evf: Add txring_txq function to match fm10k and ixgbe

Orabug: 24568124

This patch adds a txring_txq function which allows us to convert a
i40e_ring/i40evf_ring to a netdev_tx_queue structure.  This way we
can avoid having to make a multi-line function call for all the spots
that need access to this.

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