Jesse Brandeburg
dcae29be4f
i40e: convert ret to aq_ret
...
When calling admin queue functions the driver should use aq_ret
variable to help make clear that the return value is not a regular
return variable.
This allows for clean up of the return types that were previously
converted to int.
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com >
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com >
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com >
2013-09-27 04:50:58 -07:00
Jesse Brandeburg
ddf434acc0
i40e: small clean ups from review
...
As mentioned by Joe Perches clean up a loop flow.
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com >
CC: Joe Perches <joe@perches.com >
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com >
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com >
2013-09-27 04:50:50 -07:00
Jesse Brandeburg
93bc73b827
i40e: use common failure flow
...
As mentioned by Joe Perches, we should be using
foo = alloc(...)
if (!foo)
return -ENOMEM;
return 0;
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com >
CC: Joe Perches <joe@perches.com >
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com >
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com >
2013-09-27 04:50:46 -07:00
Jesse Brandeburg
41c445ff0f
i40e: main driver core
...
This is the driver for the Intel(R) Ethernet Controller XL710 Family.
This driver is targeted at basic ethernet functionality only, and will be
improved upon further as time goes on.
This patch contains the driver entry points but does not include transmit
and receive (see the next patch in the series) routines.
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com >
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com >
CC: PJ Waskiewicz <peter.p.waskiewicz.jr@intel.com >
CC: e1000-devel@lists.sourceforge.net
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com >
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com >
2013-09-11 01:30:00 -07:00