summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c
diff options
context:
space:
mode:
authorShay Agroskin2019-06-29 00:35:50 +0200
committerSaeed Mahameed2019-07-02 01:40:30 +0200
commita82e0b5bdac29d9719d3ca2df01494a7947351aa (patch)
tree089543a017666f491976e3a1e948abf2893d84c8 /drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c
parentnet/mlx5: Add hardware definitions for sub functions (diff)
downloadkernel-qcow2-linux-a82e0b5bdac29d9719d3ca2df01494a7947351aa.tar.gz
kernel-qcow2-linux-a82e0b5bdac29d9719d3ca2df01494a7947351aa.tar.xz
kernel-qcow2-linux-a82e0b5bdac29d9719d3ca2df01494a7947351aa.zip
net/mlx5: Added MCQI and MCQS registers' description to ifc
Given a fw component index, the MCQI register allows us to query this component's information (e.g. its version and capabilities). Given a fw component index, the MCQS register allows us to query the status of a fw component, including its type and state (e.g. PRESET/IN_USE). It can be used to find the index of a component of a specific type, by sequentially increasing the component index, and querying each time the type of the returned component. If max component index is reached, 'last_index_flag' is set by the HCA. These registers' description was added to query the running and pending fw version of the HCA. Signed-off-by: Shay Agroskin <shayag@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c')
0 files changed, 0 insertions, 0 deletions