OSDN Git Service

net/mlx5e: aRFS, Warn if aRFS table does not exist for aRFS rule
authorAdham Faris <afaris@nvidia.com>
Mon, 8 May 2023 11:27:48 +0000 (14:27 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Mon, 21 Aug 2023 17:55:14 +0000 (10:55 -0700)
commit7653d80672455658ea106a6ba1bcabfd7a9c3917
tree3909ffeec3c973493ec8134730231f6380e658bb
parent7a73cf0bf7f96cd2b9f2ea890bf1e981730d8d6c
net/mlx5e: aRFS, Warn if aRFS table does not exist for aRFS rule

aRFS tables should be allocated and exist in advance. Driver shouldn't
reach a point where it tries to add aRFS rule to table that does not
exist.

Add warning if driver encounters such situation.

Signed-off-by: Adham Faris <afaris@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c