[Intel-wired-lan] [next PATCH v3 02/15] i40e/i40evf: Use u64 values instead of casting them in TSO function

Bowers, AndrewX andrewx.bowers at intel.com
Wed Jan 27 16:03:32 UTC 2016


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Alexander Duyck
> Sent: Sunday, January 24, 2016 9:16 PM
> To: intel-wired-lan at lists.osuosl.org; Kirsher, Jeffrey T
> <jeffrey.t.kirsher at intel.com>
> Subject: [Intel-wired-lan] [next PATCH v3 02/15] i40e/i40evf: Use u64 values
> instead of casting them in TSO function
> 
> Instead of casing u32 values to u64 it makes more sense to just start out with
> u64 values in the first place.  This way we don't need to create a mess with all
> of the casts needed to populate a 64b value.
> 
> Signed-off-by: Alexander Duyck <aduyck at mirantis.com>
> ---
>  drivers/net/ethernet/intel/i40e/i40e_txrx.c   |    9 ++++-----
>  drivers/net/ethernet/intel/i40evf/i40e_txrx.c |    9 ++++-----
>  2 files changed, 8 insertions(+), 10 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
Code change properly applied


More information about the Intel-wired-lan mailing list