]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
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)
committerTim Gardner <tim.gardner@canonical.com>
Wed, 6 Apr 2016 09:20:45 +0000 (10:20 +0100)
commit7112b1d1395688092b5fd89bc4b120e9eb236bfa
tree30ac358156a5a4cd40a8e0e444b2a218ef76d2db
parentd1e47268c86d5d35cb2023e02942069df8884d30
i40e/i40evf: Use u64 values instead of casting them in TSO function

BugLink: http://bugs.launchpad.net/bugs/1547674
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>
(cherry picked from net-next commit 03f9d6a59f94f70ae775ca2aae04f2accc01a973)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/net/ethernet/intel/i40e/i40e_txrx.c
drivers/net/ethernet/intel/i40evf/i40e_txrx.c