diff options
author | Tariq Toukan <tariqt@mellanox.com> | 2019-07-14 17:50:51 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2019-08-01 12:33:31 -0700 |
commit | 7cf6f811b72aced0c48e1065fe059d604ef6363d (patch) | |
tree | fbb8a9111bdb17d7deca0d6dcdf1064c96288f5f /drivers/net/ethernet/mellanox/mlx5/core/vport.c | |
parent | net/mlx5e: XDP, Close TX MPWQE session when no room for inline packet left (diff) | |
download | linux-dev-7cf6f811b72aced0c48e1065fe059d604ef6363d.tar.xz linux-dev-7cf6f811b72aced0c48e1065fe059d604ef6363d.zip |
net/mlx5e: XDP, Slight enhancement for WQE fetch function
Instead of passing an output param, let function return the
WQE pointer.
In addition, pass &pi so it gets its value in the function,
and save the redundant assignment that comes after it.
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/vport.c')
0 files changed, 0 insertions, 0 deletions