Thread (2 messages) 2 messages, 2 authors, 2011-01-21

Re: [net-next-2.6 PATCH] enic: Bug Fix: Dont reset ENIC_SET_APPLIED flag on port profile disassociate

flat view

From: David Miller <davem@davemloft.net>
Date: 2011-01-21 00:56:27

From: Roopa Prabhu <redacted>
Date: Thu, 20 Jan 2011 16:35:54 -0800
From: Roopa Prabhu <redacted>

enic_get_vf_port returns port profile operation status only if ENIC_SET_APPLIED
flag is set. A recent rework of enic_set_port_profile added code to reset this
flag on disassociate. As a result of which a client calling enic_get_vf_port
to get the status of port profile disassociate will always get a return value
of ENODATA. This patch renames ENIC_SET_APPLIED to more appropriate
ENIC_PORT_REQUEST_APPLIED and reverts back the recent change so that the
flag is set both at associate and disassociate of a port profile.

Signed-off-by: Roopa Prabhu <redacted>
Signed-off-by: David Wang <redacted>
Signed-off-by: Christian Benvenuti <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help