diff options
author | Tariq Toukan <tariqt@mellanox.com> | 2018-11-21 13:56:17 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2018-12-20 22:54:17 -0800 |
commit | 4fb2f516186ea25dea326f97880431e14a5b9e9d (patch) | |
tree | 021948e42b01b5703b67e1e4f8b3843acb89a941 /drivers/net/ethernet/mellanox/mlx5/core/en_main.c | |
parent | net/mlx5e: TX, Print opcode in error CQE warning (diff) | |
download | linux-dev-4fb2f516186ea25dea326f97880431e14a5b9e9d.tar.xz linux-dev-4fb2f516186ea25dea326f97880431e14a5b9e9d.zip |
net/mlx5e: XDP, Precede XDP-related operations in RQ poll by a loaded program check
At the end of the RQ polling loop, some XDP-related operations
might be required. Before checking them one by one, check if
an XDP program is even loaded.
Combine all the checks and operations in a single function in xdp files.
This saves unnecessary checks for non-XDP flows.
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en_main.c')
0 files changed, 0 insertions, 0 deletions