Re: [PATCH net-next] Replace constant with sysctl netdev_budget_jiffies to enable tuning

2017-04-17 Thread Eric Dumazet
On Mon, 2017-04-17 at 10:29 -0400, Matthew Whitehead wrote: > Constants used for tuning are generally a bad idea, especially as hardware > changes over time. Replace the constant '2' with netdev_budget_jiffies to > enable sysadmins to tune the behavior. Also document the variable. > > For example,

[PATCH net-next] Replace constant with sysctl netdev_budget_jiffies to enable tuning

2017-04-17 Thread Matthew Whitehead
Constants used for tuning are generally a bad idea, especially as hardware changes over time. Replace the constant '2' with netdev_budget_jiffies to enable sysadmins to tune the behavior. Also document the variable. For example, a very fast machine might tune this to 1, while my regression testing