commit | 55130287875c96b1e4669ee9713621e7d7f055b2 | [log] [tgz] |
---|---|---|
author | Or Gerlitz <ogerlitz@mellanox.com> | Thu Jul 14 10:32:39 2016 +0300 |
committer | David S. Miller <davem@davemloft.net> | Thu Jul 14 13:34:28 2016 -0700 |
tree | 95b6535cd91a285ebcd90c9b2124ce323fea0d55 | |
parent | a351a1b03bf169f77891060be30036ef71cbe618 [diff] |
net/mlx5e: Offload TC flow counters only when supported Currenly, the code that programs the flow actions into the firmware doesn't check if was actually asked to offload the statistics, fix that. Fixes: aad7e08d39bd ('net/mlx5e: Hardware offloaded flower filter statistics support') Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>