commit | d15118af268324ecfc968dd90396e966f4f9b3ff | [log] [tgz] |
---|---|---|
author | Moshe Shemesh <moshe@mellanox.com> | Thu Jan 19 14:53:07 2017 +0200 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Sun Jan 29 23:31:26 2017 +0200 |
tree | 0cd5f5b66688fc23634a6e89f848d80f64b66dc7 | |
parent | a100ff3eef193d2d79daf98dcd97a54776ffeb78 [diff] |
net/mlx5e: Check ets capability before ets query FW command On dcbnl callback getpgtccfgtx, the driver should check the ets capability before ets query command is sent to firmware. It is valid to return from this void function without changing in/out parameters, as these parameters are initialized to DCB_ATTR_VALUE_UNDEFINED. Fixes: 3a6a931dfb8e ("net/mlx5e: Support DCBX CEE API") Signed-off-by: Moshe Shemesh <moshe@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>