net/dpaa2: accept packets with checksum error
authorShreyansh Jain <shreyansh.jain@nxp.com>
Tue, 19 Mar 2019 13:10:55 +0000 (13:10 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 21 Mar 2019 17:42:37 +0000 (18:42 +0100)
commit34356a5da9206416e919bc4bdc7cd6d875996369
tree96ef0fe35a87e580e95eaf9933672e6fd693061d
parentefa28ae847546a1376b2112544490251dd0ea5cd
net/dpaa2: accept packets with checksum error

Until now, DPAA2 driver was configured to drop any packet which
was marked as malformed by hardware - which included those with
wrong checksum.
With this patch, that configuration has been removed - hereafter,
all packets arriving on a DPMAC link would be forwarded to a DPNI
and further processing would be done as configured for a standard
packet path.

Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
drivers/net/dpaa2/dpaa2_ethdev.c