• Parav Pandit's avatar
    IB/core: Avoid confusing del_netdev_default_ips · b9f09866
    Parav Pandit authored
    Currently bond_delete_netdev_default_gids() is called by two callers.
    (a) del_netdev_default_ips_join()
    (b) del_netdev_default_ips()
    
    Both above functions changes the argument order while calling
    bond_delete_netdev_default_gids().  This required silly
    del_netdev_default_ips() wrapper.
    
    Additionally, del_netdev_default_ips() deletes default GIDs not IP based
    GIDs.  del_netdev_default_ips() having _ips suffix is confusing.
    
    Therefore, get rid of confusing del_netdev_default_ips() and simplify
    bond_delete_netdev_default_gids() to follow same argument order as its
    caller.
    Signed-off-by: default avatarParav Pandit <parav@mellanox.com>
    Signed-off-by: default avatarLeon Romanovsky <leonro@mellanox.com>
    Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
    b9f09866
roce_gid_mgmt.c 20.2 KB