ixgbe: Add one function that handles most of context descriptor setup
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 27 May 2011 05:31:47 +0000 (05:31 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 25 Jun 2011 07:06:05 +0000 (00:06 -0700)
commit897ab15606ce896b6a574a263beb51cbfb43f041
treea269fefc4423c239eeb411c76c6bd9dd25ac09db
parent63544e9c0055316d0397cb671f2ff99d85c77293
ixgbe: Add one function that handles most of context descriptor setup

There is a significant amount of shared functionality between the checksum
and TSO offload configuration that is shared in regards to how they setup
the context descriptors.  Since so much of the functionality is shared it
makes sense to move the shared functionality into a single function and
just call that function from the two context descriptor specific routines.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ixgbe/ixgbe.h
drivers/net/ixgbe/ixgbe_fcoe.c
drivers/net/ixgbe/ixgbe_main.c