• M
    net/mlx5: Introduce VHCA tunnel device capability · 1dd7382b
    Max Gurtovoy 提交于
    When using the device emulation feature (introduced in Bluefield-1 SOC),
    a privileged function (the device emulation manager) will be able to
    create a channel to execute commands on behalf of the emulated function.
    
    This channel will be a general object of type VHCA_TUNNEL that will have
    a unique ID for each emulated function. This ID will be passed in each
    cmd that will be issued by the emulation SW in a well known offset in
    the command header.
    
    This channel is needed since the emulated function doesn't have a normal
    command interface to the HCA HW, but some basic configuration for that
    function is needed (e.g. initialize and enable the HCA). For that matter,
    a specific command-set was defined and only those commands will be issued
    by the HCA.
    Signed-off-by: NMax Gurtovoy <maxg@mellanox.com>
    Reviewed-by: NYishai Hadas <yishaih@mellanox.com>
    Signed-off-by: NLeon Romanovsky <leonro@mellanox.com>
    1dd7382b
mlx5_ifc.h 230.6 KB