i40e: Tx/Rx rings declaration
authorAkeem G Abodunrin <akeem.g.abodunrin@intel.com>
Wed, 9 Apr 2014 05:58:58 +0000 (05:58 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 29 May 2014 09:48:04 +0000 (02:48 -0700)
commite7046ee1f820f7cbe870c1a62cd27b8fc420155d
treeaf9a8b2c9d741c0c4d7446abf77896d9ffa792bc
parent84590fd90ee423fb815abc8301d277f0b693b2f6
i40e: Tx/Rx rings declaration

This patch changes the declaration of Tx/Rx rings inside several loops. It
eliminates declaring the same rings every time for the duration of the loop,
instead declaring them once before the loop.

Change-ID: I59dea54276f18c47dca522f520c18f65fe42a15d
Signed-off-by: Akeem G Abodunrin <akeem.g.abodunrin@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_ethtool.c
drivers/net/ethernet/intel/i40e/i40e_main.c