]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5_core: Update device capabilities handling
authorEli Cohen <eli@mellanox.com>
Thu, 2 Oct 2014 09:19:42 +0000 (12:19 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Oct 2014 22:42:31 +0000 (15:42 -0700)
commit319196f5fcb26570a520d4a814c947e6c3ecc980
tree5c8ee3cd2058f2230df4b5c9fe21f44d47cfbf7b
parentef3c95e573066ae7c78b5c2b5ae33907007a51b0
net/mlx5_core: Update device capabilities handling

Rearrange struct mlx5_caps so it has a "gen" field to represent the current
capabilities configured for the device. Max capabilities can also be queried
from the device. Also update capabilities struct to contain more fields as per
the latest revision if firmware specification.

Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
12 files changed:
drivers/infiniband/hw/mlx5/cq.c
drivers/infiniband/hw/mlx5/mad.c
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/qp.c
drivers/infiniband/hw/mlx5/srq.c
drivers/net/ethernet/mellanox/mlx5/core/cmd.c
drivers/net/ethernet/mellanox/mlx5/core/eq.c
drivers/net/ethernet/mellanox/mlx5/core/fw.c
drivers/net/ethernet/mellanox/mlx5/core/main.c
drivers/net/ethernet/mellanox/mlx5/core/uar.c
include/linux/mlx5/device.h
include/linux/mlx5/driver.h