commit | 22a65aa8b1a84ca429c0fc8415dee5681ab36eb3 | [log] [tgz] |
---|---|---|
author | Gal Pressman <galp@mellanox.com> | Mon Dec 25 18:40:52 2017 +0200 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Fri Jul 27 13:56:44 2018 -0700 |
tree | 16b0ba74eda98c033b90a09668cb3ecc8547389f | |
parent | a082c4f4f022ac5c05c7f26f2dab2982d11d6adb [diff] |
net/mlx5e: Vxlan, check maximum number of UDP ports The NIC has a limited number of offloaded VXLAN UDP ports (usually 4). Instead of letting the firmware fail when trying to add more ports than it can handle, let the driver check it on its own. Signed-off-by: Gal Pressman <galp@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>