From: Alexander Duyck Date: Fri, 26 Aug 2011 07:44:32 +0000 (+0000) Subject: igb: Consolidate creation of Tx context descriptors into a single function X-Git-Tag: v3.2-rc1~129^2~123^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d13a7d0da74d127457cc6f88e47fd8e85960a13;p=pandora-kernel.git igb: Consolidate creation of Tx context descriptors into a single function This patch is meant to simplify the transmit path by reducing the overhead for creating a transmit context descriptor. The current implementation is split with igb_tso and igb_tx_csum doing two separate implementations on how to setup the tx_buffer_info structure and the tx_desc. By combining them it is possible to reduce code and simplify things since now only one function will create context descriptors. Signed-off-by: Alexander Duyck Tested-by: Aaron Brown Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed