Re: [ovs-dev] [patch net-next RFC 06/12] net: introduce dummy switch

2014-08-29 Thread Jiri Pirko
Tue, Aug 26, 2014 at 09:14:20PM CEST, go...@cumulusnetworks.com wrote: >On Thu, Aug 21, 2014 at 06:18:59PM +0200, Jiri Pirko wrote: >> Dummy switch implementation using switchdev interface >> >[...] >> +if (!data || !data[IFLA_DYMMYSWPORT_PHYS_SWITCH_ID]) >[...] >> +dsp->psid.id_len = nla_

Re: [ovs-dev] [patch net-next RFC 06/12] net: introduce dummy switch

2014-08-26 Thread Andy Gospodarek
On Thu, Aug 21, 2014 at 06:18:59PM +0200, Jiri Pirko wrote: > Dummy switch implementation using switchdev interface > [...] > + if (!data || !data[IFLA_DYMMYSWPORT_PHYS_SWITCH_ID]) [...] > + dsp->psid.id_len = nla_len(data[IFLA_DYMMYSWPORT_PHYS_SWITCH_ID]); > + memcpy(dsp->psid.id, nla

[ovs-dev] [patch net-next RFC 06/12] net: introduce dummy switch

2014-08-21 Thread Jiri Pirko
Dummy switch implementation using switchdev interface Signed-off-by: Jiri Pirko --- drivers/net/Kconfig | 7 +++ drivers/net/Makefile | 1 + drivers/net/dummyswitch.c| 131 +++ include/uapi/linux/if_link.h | 9 +++ 4 files change