summaryrefslogtreecommitdiffstats
path: root/python-ethtool/etherinfo_obj.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2008-07-15 11:07:33 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2008-07-15 11:07:33 -0300
commit824f72f88ead0a623ec844b65e58defb3f4d1231 (patch)
treecb7a7981561c6b66295df780839af33c9b33c503 /python-ethtool/etherinfo_obj.c
parent0da7f23709e41c14dded246781dafdf663a24f36 (diff)
downloadpython-ethtool-824f72f88ead0a623ec844b65e58defb3f4d1231.tar.gz
python-ethtool-824f72f88ead0a623ec844b65e58defb3f4d1231.tar.xz
python-ethtool-824f72f88ead0a623ec844b65e58defb3f4d1231.zip
ethtool: binding for ETHTOOL_SCOALESCE
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>
Diffstat (limited to 'python-ethtool/etherinfo_obj.c')
0 files changed, 0 insertions, 0 deletions