commit | 68cdf5d6e91068c98d6091b193dc7a5ab7dcf5eb | [log] [tgz] |
---|---|---|
author | Achiad Shochat <achiad@mellanox.com> | Wed Jul 29 15:05:40 2015 +0300 |
committer | David S. Miller <davem@davemloft.net> | Wed Jul 29 23:04:46 2015 -0700 |
tree | d2932b6cf76ee643db5fe8a5e06f498300157a14 | |
parent | c928ed55171b3aa5e14a9474ffe60f31590b89ff [diff] |
net/mlx5e: Use hard-coded 4K page size for RQ/SQ/CQ The page size of the device's RQ/SQ/CQ objects is defined in 4K units regardless of the system pages size. Thus using the Linux's PAGE_SHIFT macro yields wrong device configuration in systems where PAGE_SHIFT!=12. Signed-off-by: Achiad Shochat <achiad@mellanox.com> Signed-off-by: Amir Vadai <amirv@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>