]> git.hungrycats.org Git - linux/commit
net: ethernet: oa_tc6: Remove FCS size in RX frame
authorSelvamani Rajagopal <Selvamani.Rajagopal@onsemi.com>
Thu, 11 Jun 2026 21:55:40 +0000 (14:55 -0700)
committerJakub Kicinski <kuba@kernel.org>
Mon, 15 Jun 2026 23:32:10 +0000 (16:32 -0700)
commita5a1d11dd3729146abe7420b874bab15870a42b4
tree74ae694e53b8b6cac7b8b80bbaf7a058ea987ee2
parenta221d3f7e3f3ea6a3b4bc511cf2a59242daa06e1
net: ethernet: oa_tc6: Remove FCS size in RX frame

OA TC6 MAC-PHY appends FCS to the incoming frame. It must be
removed from the frame before being passed to the stack.

With FCS in the frame, many applications, like ping or any
application that uses IP layer may work as they may
carry the packet size information in the protocol.

Application like ptp4l, particularly if it uses layer 2
for its communication, it will fail with "bad message" due to
the extra 4 bytes added by the presence of FCS.

Fixes: d70a0d8f2f2d ("net: ethernet: oa_tc6: implement receive path to receive rx ethernet frames")
Signed-off-by: Selvamani Rajagopal <Selvamani.Rajagopal@onsemi.com>
Link: https://patch.msgid.link/20260611-level-trigger-v5-3-4533a9e85ce2@onsemi.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/oa_tc6.c