• Roopa Prabhu's avatar
    bridge link: add option 'self' · 6fdb4658
    Roopa Prabhu authored
    Currently self is set internally only if hwmode is set.
    This makes it necessary for the hw to have a mode.
    There is no hwmode really required to go to hardware. So, introduce
    self for anybody who wants to target hardware.
    
    v1 -> v2
        - fix a few bugs. Initialize flags to zero: this was required to
        keep the current behaviour unchanged.
    
    v2 -> v3
        - fix comment
    Signed-off-by: default avatarRoopa Prabhu <roopa@cumulusnetworks.com>
    Reviewed-by: default avatarJiri Pirko <jiri@resnulli.us>
    6fdb4658
link.c 11.1 KB