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

Andy Gospodarek gospo at cumulusnetworks.com
Tue Aug 26 19:14:20 UTC 2014


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_data(data[IFLA_DYMMYSWPORT_PHYS_SWITCH_ID]),
[...]
> +	[IFLA_DYMMYSWPORT_PHYS_SWITCH_ID] = { .type = NLA_BINARY,
[...]
> +	IFLA_DYMMYSWPORT_PHYS_SWITCH_ID,
I realize this does compile, but I suspect this was a typo?





More information about the dev mailing list