numam-dpdk/drivers/net/avp
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
..
avp_ethdev.c ethdev: allow returning error on VLAN offload ops 2017-10-26 02:33:01 +02:00
avp_logs.h net/avp: add debug log macros 2017-04-04 19:02:18 +02:00
Makefile mk: do not generate LDLIBS from directory dependencies 2017-10-24 02:14:57 +02:00
rte_avp_common.h net/avp: fix exported headers 2017-05-01 00:13:15 +02:00
rte_avp_fifo.h net/avp: fix exported headers 2017-05-01 00:13:15 +02:00
rte_pmd_avp_version.map net/avp: add base files 2017-04-04 19:02:07 +02:00