Re: [PATCH v2 24/24] mlx5: Convert to netmem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 05/01/2023 23:46, Matthew Wilcox (Oracle) wrote:
Use the netmem APIs instead of the page_pool APIs.  Possibly we should
add a netmem equivalent of skb_add_rx_frag(), but that can happen
later.  Saves one call to compound_head() in the call to put_page()
in mlx5e_page_release_dynamic() which saves 58 bytes of text.

Signed-off-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>
---
  drivers/net/ethernet/mellanox/mlx5/core/en.h  |  10 +-
  .../net/ethernet/mellanox/mlx5/core/en/txrx.h |   4 +-
  .../net/ethernet/mellanox/mlx5/core/en/xdp.c  |  24 ++--
  .../net/ethernet/mellanox/mlx5/core/en/xdp.h  |   2 +-
  .../net/ethernet/mellanox/mlx5/core/en_main.c |  12 +-
  .../net/ethernet/mellanox/mlx5/core/en_rx.c   | 130 +++++++++---------
  6 files changed, 94 insertions(+), 88 deletions(-)


Thanks for your patch!
Reviewed-by: Tariq Toukan <tariqt@xxxxxxxxxx>

Tariq




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux