• M
    IB/mlx5: Add proper representors support · b5ca15ad
    Mark Bloch 提交于
    This commit adds full support for IB representor:
    
    1) Representors profile, We add two new profiles:
       nic_rep_profile - This profile will be used to create an IB device that
       represents the PF/UPLINK.
       rep_profile - This profile will be used to create an IB device that
       represents VFs. Each VF will be its own representor.
    2) Proper load/unload callbacks, Those are called by the E-Switch when
       moving to/from switchdev mode.
    3) Different flow DB handling for when we in switchdev mode.
    Signed-off-by: NMark Bloch <markb@mellanox.com>
    Signed-off-by: NLeon Romanovsky <leon@kernel.org>
    Signed-off-by: NSaeed Mahameed <saeedm@mellanox.com>
    b5ca15ad
ib_rep.h 1.9 KB