commit | 530d5ce22ca2d7f54b756580c02d0772c053d221 | [log] [tgz] |
---|---|---|
author | Maxim Mikityanskiy <maximmi@mellanox.com> | Thu Jun 04 16:43:27 2020 +0300 |
committer | Saeed Mahameed <saeedm@nvidia.com> | Mon Sep 21 19:41:16 2020 -0700 |
tree | 5fa1dfe778426046d938e6cf45cedac537b62db7 | |
parent | 338c46c636a790cb22f880435c8c60554c0d50fb [diff] |
net/mlx5e: Generalize TX MPWQE checks for full session As preparation for the upcoming TX MPWQE for SKBs, create a function (mlx5e_tx_mpwqe_is_full) to check whether an MPWQE session is full. This function will be shared by MPWQE code for XDP and for SKBs. Defines are renamed and moved to make them not XDP-specific. Signed-off-by: Maxim Mikityanskiy <maximmi@mellanox.com> Reviewed-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>