Re: [PATCH net-next 5/5] r8152: change rx_frag_head_sz and rx_max_agg_num dynamically

From: Maciej Fijalkowski
Date: Wed Aug 07 2019 - 08:44:05 EST


On Wed, 7 Aug 2019 07:12:32 +0000
Hayes Wang <hayeswang@xxxxxxxxxxx> wrote:

> Jakub Kicinski [mailto:jakub.kicinski@xxxxxxxxxxxxx]
> > Sent: Wednesday, August 07, 2019 6:10 AM
> [...]
> > Please don't expose those via sysfs. Ethtool's copybreak and descriptor
> > count should be applicable here, I think.
>
> Excuse me.
> I find struct ethtool_tunable for ETHTOOL_RX_COPYBREAK.
> How about the descriptor count?

Look how drivers implement ethtool's set_ringparam ops.

Thanks,
Maciej

>
>
> Best Regards,
> Hayes
>
>