[Open-FCoE] [PATCH] fcoe, libfc: Setting the correct lport fabric_name in /sys

Robert Love robert.w.love at linux.intel.com
Thu Sep 11 00:01:19 UTC 2008


On Wed, 2008-09-10 at 16:45 -0700, Joe Eykholt wrote:
> Steve Ma wrote:
> > Removed fc_get_host_fabric_name() in libfc.h and fc_attr.c.
> > Removed .get_host_fabric_name in fcoe_transport_function of fcoeinit.c.
> > Collect the fabric_name into struct fc_host_attrs by calling
> > fc_host_fabric_name(lp->host) in fc_lport_flogi_resp of fc_lport.c.
> 
> Looks great.
> 
> I just thought of something else.
> We should clear that field whenever we reset the local port.
> That could be fixed separately and later, though.
> 
Let's do it in this patch or it might get forgotten. Steve, you can just
reset it to 0 in fc_lport_enter_reset() around where we reset the FID to
0.




More information about the devel mailing list