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 > >