commit | b63baf7137688ff7989829137dab8fd548fa9399 | [log] [tgz] |
---|---|---|
author | Ioana Radulescu <ruxandra.radulescu@nxp.com> | Wed Oct 11 08:29:45 2017 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Oct 18 16:45:18 2017 +0200 |
tree | 643e3d0018b4eaedadfa3fab117c811ecd8bd8fa | |
parent | cbb3ea40fc495bf04070200b35c1c4cd05d11bd3 [diff] |
staging: fsl-dpaa2/eth: Check SGT final bit is present For scatter-gather ingress frames, we expect to receive a list of fragments from the hardware, last of which is marked with a "final" bit. Add a check to make sure the Rx frame has this bit set correctly; there's not much we can do in case of a malformed frame, but at least issue a warning. Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>