libvirt/src/node_device
James Chapman c9027d8f44 SRIOV NIC offload feature discovery
Adding functionality to libvirt that will allow it
query the ethtool interface for the availability
of certain NIC HW offload features

Here is an example of the feature XML definition:

<device>
<name>net_eth4_90_e2_ba_5e_a5_45</name>
  <path>/sys/devices/pci0000:00/0000:00:03.0/0000:08:00.1/net/eth4</path>
  <parent>pci_0000_08_00_1</parent>
  <capability type='net'>
    <interface>eth4</interface>
    <address>90:e2:ba:5e:a5:45</address>
    <link speed='10000' state='up'/>
    <feature name='rx'/>
    <feature name='tx'/>
    <feature name='sg'/>
    <feature name='tso'/>
    <feature name='gso'/>
    <feature name='gro'/>
    <feature name='rxvlan'/>
    <feature name='txvlan'/>
    <feature name='rxhash'/>
    <capability type='80203'/>
  </capability>
</device>

Signed-off-by: Ján Tomko <jtomko@redhat.com>
2015-03-05 11:31:05 +01:00
..
node_device_driver.c nodedev: check/add for scsi_host caps for NumOfCaps and ListCaps 2015-02-05 07:50:32 -05:00
node_device_driver.h Remove use of nodeDevicePrivateData from nodeDev driver 2015-01-27 12:02:03 +00:00
node_device_hal.c Removing probing of secondary drivers 2015-01-27 12:02:04 +00:00
node_device_hal.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
node_device_linux_sysfs.c Transform VIR_ERROR into VIR_WARN in detect_scsi_host_caps 2014-11-07 16:44:48 +01:00
node_device_udev.c SRIOV NIC offload feature discovery 2015-03-05 11:31:05 +01:00
node_device_udev.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00