]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerJoe Jin <joe.jin@oracle.com>
Fri, 3 Feb 2012 01:15:57 +0000 (09:15 +0800)
commit971447f4c6d8dc1b8c39f9bb71775abd3f73d4ba
treedb965ee66dc70862c29ec3fa8f96e2bcfeda97f2
parentbe130c1b58de019af13a89cd80b8f27e3d1d0210
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>
(cherry picked from commit 897ab15606ce896b6a574a263beb51cbfb43f041)

Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/ixgbe/ixgbe.h
drivers/net/ixgbe/ixgbe_fcoe.c
drivers/net/ixgbe/ixgbe_main.c