summaryrefslogtreecommitdiffstats
path: root/ethtool-cmd.py
Commit message (Collapse)AuthorAgeFilesLines
* pethtool: rename ethtool-cmd.py to pethtool.pyArnaldo Carvalho de Melo2008-08-261-380/+0
| | | | Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
* ethtool: bindings for binding for ETHTOOL_[GS]RINGPARAMArnaldo Carvalho de Melo2008-07-181-2/+79
| | | | Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
* ethtool: binding for ETHTOOL_SCOALESCEArnaldo Carvalho de Melo2008-07-151-10/+92
| | | | | | | | | | | | | | And support in pethtool (aka ethtool-cmd.py) for setting all the coalesce parameters, providing, as usual, an interface that mimics the one provided by the ethtool command. This cset also introduces struct_desc_from_dict, that will help with other dict based python bindings, not just in python-ethtool. Please let me know if I'm reinventing the wheel, i.e. if there are other Python dict to C struct facilities out there (I bet there is, but heck, this one was easy enough to implement and doesn't requires external support to get this done 8)). Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
* ethtool: implement binding for get_coalesceArnaldo Carvalho de Melo2008-07-141-1/+81
| | | | Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
* pethtool: show if a device is active or notArnaldo Carvalho de Melo2008-07-021-1/+6
| | | | Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
* pethtool: Add python ethtool equivalent to test featuresArnaldo Carvalho de Melo2008-07-011-0/+136
It should be as close to the ethtool usage model as possible, but things like doing the same command on all available interfaces when no interface is specified is implemented. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>