[dpdk-dev] [PATCH v4] ethdev: allow returning error on VLAN offload configuration
David Harton (dharton)
dharton at cisco.com
Tue Oct 10 14:20:13 CEST 2017
> -----Original Message-----
> From: Ferruh Yigit [mailto:ferruh.yigit at intel.com]
>
> On 9/1/2017 3:36 AM, David Harton wrote:
> > Some devices may not support or fail setting VLAN offload
> > configuration based on dynamic circurmstances 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 at cisco.com>
>
> Hi David,
>
> This patch conflicts against latest version, would you mind rebasing it on
> top of latest next-net?
Sure Ferruh, no problem.
Thanks,
Dave
>
> Thanks,
> ferruh
More information about the dev
mailing list