commit | 43f93839e359c8044200ec3f6fa455b47ba3aa2c | [log] [tgz] |
---|---|---|
author | Hadar Hen Zion <hadarh@mellanox.com> | Mon Nov 07 15:14:43 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Nov 09 13:41:55 2016 -0500 |
tree | eeeacd2e9869b9aaf22e4b85319f12df680c3bdd | |
parent | ae9f83ac24569e4bfc7c174be362d1835233c28f [diff] |
net/mlx5: Check max encap header size capability Instead of comparing to a const value, check the value of max encap header size capability as reported by the Firmware. Fixes: 575ddf5888ea ('net/mlx5: Introduce alloc_encap and dealloc_encap commands') Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>