• Robert Love's avatar
    fcoe: Use the fcoe_sysfs control interface · 435c8667
    Robert Love authored
    This patch adds support for the new fcoe_sysfs
    control interface to fcoe.ko. It keeps the deprecated
    interface in tact and therefore either the legacy
    or the new control interfaces can be used. A mixed mode
    is not supported. A user must either use the new
    interfaces or the old ones, but not both.
    
    The fcoe_ctlr's link state is now driven by both the
    netdev link state as well as the fcoe_ctlr_device's
    enabled attribute. The link must be up and the
    fcoe_ctlr_device must be enabled before the FCoE
    Controller starts discovery or login.
    Signed-off-by: default avatarRobert Love <robert.w.love@intel.com>
    Acked-by: default avatarNeil Horman <nhorman@tuxdriver.com>
    435c8667
fcoe_ctlr.c 77.5 KB