net/mlx5: Implement PCAM, MCAM access register commands
authorGal Pressman <galp@mellanox.com>
Thu, 8 Dec 2016 13:56:00 +0000 (15:56 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 19 Jan 2017 21:19:58 +0000 (23:19 +0200)
commitc835ad64683bd3e2d1b31ed2cb1ff4366932edb1
tree1d7c65b413deaa803663fb524e447760fccef2d7
parentcfdcbceaeffc669b70d904d80a2df9c86c232566
net/mlx5: Implement PCAM, MCAM access register commands

Introduced registers will expose capabilities of new registers and
features related to port/management.
Driver will query MCAM and PCAM in order to avoid failing on old
firmwares with lack of support.

Signed-off-by: Gal Pressman <galp@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h
drivers/net/ethernet/mellanox/mlx5/core/port.c