Skip to content
  • Max Gurtovoy's avatar
    net/mlx5: Introduce VHCA tunnel device capability · 1dd7382b
    Max Gurtovoy authored
    
    
    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: default avatarMax Gurtovoy <maxg@mellanox.com>
    Reviewed-by: default avatarYishai Hadas <yishaih@mellanox.com>
    Signed-off-by: default avatarLeon Romanovsky <leonro@mellanox.com>
    1dd7382b