i40e: Quick refactor to start moving data off stack and into Tx buffer info
authorAlexander Duyck <alexander.h.duyck@intel.com>
Tue, 29 Nov 2016 00:05:59 +0000 (16:05 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 3 Feb 2017 06:41:10 +0000 (22:41 -0800)
commit52ea3e802047552a8c1ec8c42cad361ffd4ca09c
tree7938ed2594207431356f376cf5c34a121c53dca1
parent9588397d24eecb7298bce9307b589a5bc0ccafdd
i40e: Quick refactor to start moving data off stack and into Tx buffer info

This patch does some quick work to pull some of the data off of the stack
and hopefully start storing it in the Tx buffer info section of the Tx
ring.  Ideally we should be moving away from having to store much of
anything on the stack and can just maintain it all in the descriptor rings.

Change-ID: I4b4715ea1920e122502482b3f9e56a9a6cb1e9fe
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>
drivers/net/ethernet/intel/i40e/i40e_txrx.c
drivers/net/ethernet/intel/i40evf/i40e_txrx.c