Re: [PATCH bpf-next v8 16/17] net/mlx5e: Support RX XDP metadata

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

 





On 20/01/2023 0:15, Stanislav Fomichev wrote:
From: Toke Høiland-Jørgensen <toke@xxxxxxxxxx>

Support RX hash and timestamp metadata kfuncs. We need to pass in the cqe
pointer to the mlx5e_skb_from* functions so it can be retrieved from the
XDP ctx to do this.

Cc: Tariq Toukan <tariqt@xxxxxxxxxx>
Cc: Saeed Mahameed <saeedm@xxxxxxxxxx>
Cc: John Fastabend <john.fastabend@xxxxxxxxx>
Cc: David Ahern <dsahern@xxxxxxxxx>
Cc: Martin KaFai Lau <martin.lau@xxxxxxxxx>
Cc: Jakub Kicinski <kuba@xxxxxxxxxx>
Cc: Willem de Bruijn <willemb@xxxxxxxxxx>
Cc: Jesper Dangaard Brouer <brouer@xxxxxxxxxx>
Cc: Anatoly Burakov <anatoly.burakov@xxxxxxxxx>
Cc: Alexander Lobakin <alexandr.lobakin@xxxxxxxxx>
Cc: Magnus Karlsson <magnus.karlsson@xxxxxxxxx>
Cc: Maryam Tahhan <mtahhan@xxxxxxxxxx>
Cc: xdp-hints@xxxxxxxxxxxxxxx
Cc: netdev@xxxxxxxxxxxxxxx
Signed-off-by: Toke Høiland-Jørgensen <toke@xxxxxxxxxx>
Signed-off-by: Stanislav Fomichev <sdf@xxxxxxxxxx>
---
  drivers/net/ethernet/mellanox/mlx5/core/en.h  |  5 +-
  .../net/ethernet/mellanox/mlx5/core/en/txrx.h |  5 ++
  .../net/ethernet/mellanox/mlx5/core/en/xdp.c  | 28 ++++++++++
  .../net/ethernet/mellanox/mlx5/core/en/xdp.h  |  4 ++
  .../ethernet/mellanox/mlx5/core/en/xsk/rx.c   | 14 +++++
  .../ethernet/mellanox/mlx5/core/en/xsk/rx.h   |  2 +
  .../net/ethernet/mellanox/mlx5/core/en_main.c |  1 +
  .../net/ethernet/mellanox/mlx5/core/en_rx.c   | 51 ++++++++++---------
  8 files changed, 84 insertions(+), 26 deletions(-)


Thanks for your patches.
Reviewed-by: Tariq Toukan <tariqt@xxxxxxxxxx>




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux