Thread (1 message) 1 message, 1 author, 2016-03-01

Re: [PATCH for-next 01/10] net/core: Add support for configuring VF GUIDs

From: Eli Cohen <hidden>
Date: 2016-03-01 17:49:51
Also in: linux-rdma

On Tue, Mar 01, 2016 at 10:37:51AM -0700, Jason Gunthorpe wrote:
quoted
+	return handle_infiniband_guid(dev, &ivt, IFLA_VF_IB_PORT_GUID);
But is this emulation really necessary? It seems dangerous and
continues the bad practice of assuming IFLA_VF_MAC is fixed to 6 bytes
in size, and is not just LLADDR bytes. I'd rather see mac sets fail on
IB.
struct ifla_vf_mac  already defines mac as 32 bytes but the idea here
is that applications that configure six byte Ethernet MACs to VFs will
continue to work without any change. 
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help