summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorHadar Hen Zion <hadarh@mellanox.com>2016-11-07 15:14:43 +0200
committerDavid S. Miller <davem@davemloft.net>2016-11-09 13:41:55 -0500
commit43f93839e359c8044200ec3f6fa455b47ba3aa2c (patch)
treeeeeacd2e9869b9aaf22e4b85319f12df680c3bdd /drivers/infiniband
parentae9f83ac24569e4bfc7c174be362d1835233c28f (diff)
downloadlinux-stable-43f93839e359c8044200ec3f6fa455b47ba3aa2c.tar.gz
linux-stable-43f93839e359c8044200ec3f6fa455b47ba3aa2c.tar.bz2
linux-stable-43f93839e359c8044200ec3f6fa455b47ba3aa2c.zip
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>
Diffstat (limited to 'drivers/infiniband')
0 files changed, 0 insertions, 0 deletions