Re: [PATCH net v1] net: stmmac: Drop useless code related to ethtool rx-copybreak
From: Simon Horman
Date: Tue Dec 17 2024 - 11:35:55 EST
On Tue, Dec 17, 2024 at 05:17:12PM +0800, Furong Xu wrote:
> After commit 2af6106ae949 ("net: stmmac: Introducing support for Page
> Pool"), these code turned to be useless and users of ethtool may get
> confused about the unhandled rx-copybreak parameter.
Hi Furong Xu,
I think it would be useful to explain why the change cited above
renders the copybreak implementation unnecessary.
>
> This patch mostly reverts
> commit 22ad38381547 ("stmmac: do not perform zero-copy for rx frames")
>
> Fixes: 2af6106ae949 ("net: stmmac: Introducing support for Page Pool")
Based on your description this feels more like an enhancement
for net-next, without a Fixes tag, than a fix for net.
> Signed-off-by: Furong Xu <0x1207@xxxxxxxxx>
...