net: fec: remove the remaining code of rx copybreak
authorWei Fang <wei.fang@nxp.com>
Tue, 18 Jul 2023 09:09:26 +0000 (17:09 +0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 20 Jul 2023 03:59:16 +0000 (20:59 -0700)
commit3b23ecd53ab5cc46965bc49dece460c0e85ddaac
tree4c221d966186f3e4cb62e65c5a15bb17a9d29242
parent51318bf443955b083d12ab7d7a168e18ea6e14da
net: fec: remove the remaining code of rx copybreak

Since the commit 95698ff6177b ("net: fec: using page pool to manage
RX buffers") has been applied, all the rx packets, no matter small
packets or large packets are put directly into the kernel networking
buffers. That is to say, the rx copybreak function has been removed
since then, but the related code has not been completely cleaned up.
So the purpose of this patch is to clean up the remaining related
code of rx copybreak.

Signed-off-by: Wei Fang <wei.fang@nxp.com>
Link: https://lore.kernel.org/r/20230718090928.2654347-2-wei.fang@nxp.com
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/freescale/fec.h
drivers/net/ethernet/freescale/fec_main.c