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_
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
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