rust-netlink/ethtool

SET commands

CosmicSpaceGoose opened this issue · 4 comments

Hi,

Why this crate implement GET commands only and not SET?

My use case only require GET, but I think it should be simple to have SET support. Which part of ethtool you need for SET?

In particular - rings and channels (#8). But for consistence, all currently implemented GET commands.

I also needs SET for rings and channels, I'm currently working on it. The default value of rings and channels are not optimized for far speed ethernet cards, especially for 10GbE ethernet cards or more.

In particular - rings and channels (#8). But for consistence, all currently implemented GET commands.

In particular - rings and channels (#8). But for consistence, all currently implemented GET commands.

I found many issues with the netlink interface of ethtool, especially on virtual machines. Sometimes I cannot even get. I've switched to ioctl interface.