net: ftmac100: prepare data path for receiving single segment packets > 1514
authorVladimir Oltean <vladimir.oltean@nxp.com>
Fri, 28 Oct 2022 18:32:18 +0000 (21:32 +0300)
committerJakub Kicinski <kuba@kernel.org>
Tue, 1 Nov 2022 03:02:57 +0000 (20:02 -0700)
commit55f6f3dbcf4ccc4ed154a7f89ec5315d967bd2c6
tree0069d35ab13eb5c12fafbd39b5baae4b54cfecec
parent91e87045a5ef6f7003e9a2cb7dfa435b9b002dbe
net: ftmac100: prepare data path for receiving single segment packets > 1514

Eliminate one check in the data path and move it elsewhere, to where our
real limitation is. We'll want to start processing "too long" frames in
the driver (currently there is a hardware MAC setting which drops
theses).

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Sergei Antonov <saproj@gmail.com>
Link: https://lore.kernel.org/r/20221028183220.155948-1-saproj@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/faraday/ftmac100.c