Hi Dave,
This patchset contains performance improvements
to the XDP_TX use case in the mlx4 Eth driver.
Patch 1 is a simple change in a function parameter type.
Patch 2 replaces a call to a generic function with the
relevant parts inlined.
Patch 3 moves the write of descriptors' constant values
from data path to control path.
Series generated against net-next commit:
833e0e2f24fd net: dst: move cpu inside ifdef to avoid compilation warning
Thanks,
Tariq.
Tariq Toukan (3):
net/mlx4_en: Replace netdev parameter with priv in XDP xmit function
net/mlx4_en: Obsolete call to generic write_desc in XDP xmit flow
net/mlx4_en: XDP_TX, assign constant values of TX descs on ring
creaion
drivers/net/ethernet/mellanox/mlx4/en_netdev.c | 1 +
drivers/net/ethernet/mellanox/mlx4/en_rx.c | 2 +-
drivers/net/ethernet/mellanox/mlx4/en_tx.c | 46 +++++++++++++++++---------
drivers/net/ethernet/mellanox/mlx4/mlx4_en.h | 4 ++-
4 files changed, 36 insertions(+), 17 deletions(-)
--
1.8.3.1