commit | 22303f790d8b00f274ebdac30ae6b0cc481ed57c | [log] [tgz] |
---|---|---|
author | Tariq Toukan <tariqt@mellanox.com> | Sun May 21 11:08:18 2017 +0300 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Fri Jun 16 00:12:41 2017 +0300 |
tree | 7b1a5446506e83f6966b92fde11ce54026107ddd | |
parent | 552db7bca568a8efbd0883f0597fbc42333cf094 [diff] |
net/mlx5e: Use function to map aRFS into traffic type For a better code reuse and readability, use the existing function arfs_get_tt() to map arfs_type into mlx5e_traffic_types, instead of duplicating the switch-case logic. Signed-off-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>