]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
staging: fsl-dpaa2/eth: Don't enable FAS on Tx
authorIoana Radulescu <ruxandra.radulescu@nxp.com>
Fri, 8 Dec 2017 12:47:56 +0000 (06:47 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Dec 2017 15:33:29 +0000 (16:33 +0100)
commit2b7c86eb7bf3174a108de4ed808f5b48c3a55972
tree2443f08f72299a5d78273888b00efbc8e7fdc9bd
parent6662b5e4ef03fc0fd370dac7ecbdffc9fa510cdc
staging: fsl-dpaa2/eth: Don't enable FAS on Tx

For Tx confirmed frames that have an error indication in the frame
descriptor, we look at the Frame Annotation Status field (in the
buffer headroom) for details on the root cause and then print
a debug message with that information.

While useful in initial development stages, it doesn't bring
enough added value to justify reserving 64B of headroom for all
Tx frames (FAS is only 8B long, but we must reserve chunks of 64B
from the hardware annotation area).

If we remove the need for FAS field from egress frames, we can
renounce hardware annotation completely, since FAS is the only
HWA field we currently use.

Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c
drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h