i40e/i40evf: reduce context descriptors
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Fri, 14 Feb 2014 02:14:41 +0000 (02:14 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 20 Mar 2014 00:17:21 +0000 (17:17 -0700)
commitff40dd5d44707e2964c1b24196a86bf1938ce32b
treeefb0ca36f7670eb4109a988d8954ec97a76f46cf
parent1943d8ba9507d49fa5cdb51eb1b63810d94e1969
i40e/i40evf: reduce context descriptors

We don't need context descriptors for every packet, only tso
or timesync.  This fixes a bug in the driver where it would
always add a context even if all the passed in values
to the context descriptor function were 0/default values.

Change-ID: I0101d2b893380707b5c2de61aab3e16d4310e9a1
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Catherine Sullivan <catherine.sullivan@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_txrx.c
drivers/net/ethernet/intel/i40evf/i40e_txrx.c