summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2012-07-20 12:08:44 +0400
committerPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>2012-08-17 02:44:42 +0400
commit18806c9ea28320d5368fd43318506a7d33cc952c (patch)
treef7c51844355a255e73c99b82ebfe47fc35a3bac3 /include/linux
parentcf3fe7aca03e14db107d649c5699a48bec054583 (diff)
downloadlinux-18806c9ea28320d5368fd43318506a7d33cc952c.tar.xz
ixgbe: Make allocating skb and placing data in it a separate function
This patch creates a function named ixgbe_fetch_rx_buffer. The sole purpose of this function is to retrieve a single buffer off of the ring and to place it in an skb. The advantage to doing this is that it helps improve the readability since I can decrease the indentation and for the code in this section. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com> Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions