numam-dpdk/lib/librte_ether
David Harton 289ba0c0f5 ethdev: allow returning error on VLAN offload ops
Some devices may not support or fail setting VLAN offload
configuration based on dynamic circumstances so the
vlan_offload_set_t vector is modified to return an int so
the caller can determine success or not.

rte_eth_dev_set_vlan_offload is updated to return the
value provided by the vector when called along with restoring
the original offload configs on failure.

Existing vlan_offload_set_t vectors are modified to return
an int.  Majority of cases return 0 but a few that actually
can fail now return their failure codes.

Finally, a vlan_offload_set_t vector is added to virtio
to facilitate dynamically turning VLAN strip on or off.

Signed-off-by: David Harton <dharton@cisco.com>
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
2017-10-26 02:33:01 +02:00
..
ethdev_profile.c ethdev: fix port id type 2017-10-13 01:17:49 +01:00
ethdev_profile.h ethdev: fix port id type 2017-10-13 01:17:49 +01:00
Makefile mk: do not generate LDLIBS from directory dependencies 2017-10-24 02:14:57 +02:00
rte_dev_info.h lib: add missing include dependencies 2016-09-13 15:35:28 +02:00
rte_eth_ctrl.h ethdev: introduce generic flow API 2016-12-23 10:11:07 +01:00
rte_ethdev_pci.h ethdev: fix doxygen comment for PCI info copy 2017-07-31 23:39:43 +02:00
rte_ethdev_vdev.h ethdev: remove driver name from device private data 2017-06-12 16:27:44 +01:00
rte_ethdev_version.map ethdev: support security APIs 2017-10-26 03:10:32 +02:00
rte_ethdev.c ethdev: allow returning error on VLAN offload ops 2017-10-26 02:33:01 +02:00
rte_ethdev.h ethdev: allow returning error on VLAN offload ops 2017-10-26 02:33:01 +02:00
rte_flow_driver.h ethdev: expose flow API error helper 2017-10-13 01:18:47 +01:00
rte_flow.c ethdev: expose flow API error helper 2017-10-13 01:18:47 +01:00
rte_flow.h ethdev: add flow action for crypto 2017-10-26 03:10:41 +02:00
rte_mtr_driver.h ethdev: add API for traffic metering and policing 2017-10-20 14:09:28 +02:00
rte_mtr.c ethdev: add API for traffic metering and policing 2017-10-20 14:09:28 +02:00
rte_mtr.h ethdev: add API for traffic metering and policing 2017-10-20 14:09:28 +02:00
rte_tm_driver.h ethdev: increase port id range 2017-10-06 18:23:25 +02:00
rte_tm.c ethdev: increase port id range 2017-10-06 18:23:25 +02:00
rte_tm.h ethdev: increase port id range 2017-10-06 18:23:25 +02:00