i40e/i40evf: Use u64 values instead of casting them in TSO function
authorAlexander Duyck <aduyck@mirantis.com>
Mon, 25 Jan 2016 05:16:20 +0000 (21:16 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 18 Feb 2016 18:30:55 +0000 (10:30 -0800)
commit03f9d6a59f94f70ae775ca2aae04f2accc01a973
tree9775bcedb5cfa0c87e1645959c4f5ca9c1d9e3fd
parenta9c9a81f5892eb984234223399ee624f7dbd15e8
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@mirantis.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
This page took 0.029647 seconds and 5 git commands to generate.