summaryrefslogtreecommitdiff
path: root/mm/internal.h
diff options
context:
space:
mode:
authorMarian Rotariu <marian.rotariu@freescale.com>2014-04-07 14:44:55 (GMT)
committerMadalin-Cristian Bucur <madalin.bucur@freescale.com>2014-06-17 07:50:02 (GMT)
commitf66bfd4f942b13fa46baeb0f0e9d8b51be3d15b3 (patch)
tree1c78afd3084dc23bb62c33abdfa72685ec07a92b /mm/internal.h
parent4e6f65e91cc451719553d28c88d2ccb7bed7ca49 (diff)
downloadlinux-fsl-qoriq-f66bfd4f942b13fa46baeb0f0e9d8b51be3d15b3.tar.xz
dpaa_eth: fix CSUM for macless
Macless is a type of generic DPAA driver that does not know its immediate underlying HW block on TX. It can be connected with an OH port, a TX port, directly with another Macless driver in Macless-Macless scenario or with another HW module. Because not all HW modules know how to calculate CSUM, Macless triggers software computation of the CSUM. If another HW block modifies the frame it needs to trigger the Parser to recalculate CSUM. This patch adds different default values for the parse results structure that forbids the Parser from doing CSUM validation or computation. The _DTC and _RPD flags inside the Frame Descriptor are enabled together. This is the only way to deactivate HW CSUM in all the flows. Signed-off-by: Marian Rotariu <marian.rotariu@freescale.com> Change-Id: I6f2e27825f082c9319ff44241d19b06bda3faf47 Reviewed-on: http://git.am.freescale.net:8181/13671 Reviewed-by: Cristian-Constantin Sovaiala <Cristian.Sovaiala@freescale.com> Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com>
Diffstat (limited to 'mm/internal.h')
0 files changed, 0 insertions, 0 deletions