From: Alexander Duyck Date: Wed, 8 Feb 2012 07:50:45 +0000 (+0000) Subject: ixgbe: Modify setup of descriptor flags to avoid conditional jumps X-Git-Tag: v3.4-rc1~177^2~39^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93f5b3c1f148f2cca247a2c5afdd3ba7a123a6f1;p=pandora-kernel.git ixgbe: Modify setup of descriptor flags to avoid conditional jumps This change makes it more likely that the descriptor flags setup will use cmov instructions instead of conditional jumps when setting up the flags. The advantage to this is that the code should just flow a bit more smoothly. To do this it is necessary to set the TX_FLAGS_CSUM bit in tx_flags when doing TSO so that we also do the checksum in addition to the segmentation offload. Signed-off-by: Alexander Duyck Tested-by: Stephen Ko Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed