summaryrefslogtreecommitdiff
path: root/drivers/staging/fsl_qbman/dpa_sys.h
diff options
context:
space:
mode:
authorIoana Radulescu <ruxandra.radulescu@freescale.com>2013-04-30 19:48:16 (GMT)
committerFleming Andrew-AFLEMING <AFLEMING@freescale.com>2013-05-17 19:52:16 (GMT)
commitad1bdc90739189c25881f12e21940f84398b8ef0 (patch)
treed7953ca1e8426f43f24510b6fbc381ab33a64d3a /drivers/staging/fsl_qbman/dpa_sys.h
parent6a2b97552c5c9b612a9ef37fb2f181005b1919aa (diff)
downloadlinux-fsl-qoriq-ad1bdc90739189c25881f12e21940f84398b8ef0.tar.xz
dpaa_eth: Use build_skb() on S/G path
Until now skbs were allocated on Rx (or taken from a preallocated pool of skbs) and the frame headers copied into the skb linear part. Eliminate the need to copy data by building the skb around the data buffer. For S/G frames, use the first S/G entry to build the skb linear part and add the other entries as fragments. A lot of code is removed due to this change, including identifying total header size while looking at the parse results, header copying, seeding/extracting skbs to/from the skb list. Change-Id: I6e461a2d3dced2abcaed7fa6eaf2606ba1bb6e04 Signed-off-by: Ioana Radulescu <ruxandra.radulescu@freescale.com> Reviewed-on: http://git.am.freescale.net:8181/2412 Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com> Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Diffstat (limited to 'drivers/staging/fsl_qbman/dpa_sys.h')
0 files changed, 0 insertions, 0 deletions