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

From: Maciej Fijalkowski <[email-masked]>
Date: Wed, 7 Aug 2019 14:43:46 +0200

On Wed, 7 Aug 2019 07:12:32 +0000
Hayes Wang <[email-masked]> wrote:

> Jakub Kicinski [mailto:[email-masked]]
> > 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