Re: [Qemu-devel] [PATCH 1/5] eth: Extend vlan stripping functions

2017-03-04 Thread Dmitry Fleytman
> On 3 Mar 2017, at 18:52 PM, Philippe Mathieu-Daudé wrote: > > On 02/16/2017 09:29 AM, Dmitry Fleytman wrote: >> Make VLAN stripping functions return number of bytes >> copied to given Ethernet header buffer. >> >> This information should be used to re-compose >> packet IOV after VLAN strippin

Re: [Qemu-devel] [PATCH 1/5] eth: Extend vlan stripping functions

2017-03-03 Thread Philippe Mathieu-Daudé
On 02/16/2017 09:29 AM, Dmitry Fleytman wrote: Make VLAN stripping functions return number of bytes copied to given Ethernet header buffer. This information should be used to re-compose packet IOV after VLAN stripping. Signed-off-by: Dmitry Fleytman --- include/net/eth.h | 4 ++-- net/eth.c

[Qemu-devel] [PATCH 1/5] eth: Extend vlan stripping functions

2017-02-16 Thread Dmitry Fleytman
Make VLAN stripping functions return number of bytes copied to given Ethernet header buffer. This information should be used to re-compose packet IOV after VLAN stripping. Signed-off-by: Dmitry Fleytman --- include/net/eth.h | 4 ++-- net/eth.c | 25 ++--- 2 files c