summaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5/mlx5_ifc.h
Commit message (Collapse)AuthorAgeFilesLines
* net/mlx5_core: use set/get macros in device capsEli Cohen2014-10-031-0/+206
| | | | | | | | Transform device capabilities related commands to use set/get macros to manipulate command mailboxes. Signed-off-by: Eli Cohen <eli@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
* net/mlx5_core: Use hardware registers description header fileEli Cohen2014-10-031-0/+143
Add an auto generated header file that describes hardware registers along with set of macros that set/get values. The macros do static checks to avoid overflow, handle endianess, and overall provide a clean way to code commands. Currently the header file is small and we will add structs as we make use of the macros. A few commands were removed from the commands enum since they are not supported currently and will be added when support is available. Signed-off-by: Eli Cohen <eli@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
OpenPOWER on IntegriCloud