summaryrefslogtreecommitdiff
path: root/drivers/net/jazzsonic.c
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2011-05-27 05:31:52 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-06-25 00:06:51 -0700
commita535c30e9e98d201089503a0ffa0093cba16e796 (patch)
tree5e15e3c107edf07b3d6e2d4dc834a43cdf75b52e /drivers/net/jazzsonic.c
parent897ab15606ce896b6a574a263beb51cbfb43f041 (diff)
downloadlwn-a535c30e9e98d201089503a0ffa0093cba16e796.tar.gz
lwn-a535c30e9e98d201089503a0ffa0093cba16e796.zip
ixgbe: Update method used for determining descriptor count for an skb
This patch updates the current methods used for determining if we have enough space to transmit a given skb. The current method is quite wasteful as it has us go through and determine how each page is going to be broken up. That only needs to be done if pages are larger than our maximum data per TXD. As such I have wrapped that in a page size check. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/jazzsonic.c')
0 files changed, 0 insertions, 0 deletions