net/mlx5e: Handle hardware IPsec limits events
commit 8c582ddfbb473c1d799c40b5140aed81278e2837 upstream. Enable object changed event to signal IPsec about hitting soft and hard limits. Signed-off-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> Cc: Florian Fainelli <f.fainelli@gmail.com> Cc: Naresh Kamboju <naresh.kamboju@linaro.org> [ only take the #ifdef movement portion of the commit to resolve some 6.1.y build errors - gregkh ] Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
e90c7d26ca
commit
d7dc6a8604
@ -34,7 +34,6 @@
|
||||
#ifndef __MLX5E_IPSEC_H__
|
||||
#define __MLX5E_IPSEC_H__
|
||||
|
||||
#ifdef CONFIG_MLX5_EN_IPSEC
|
||||
|
||||
#include <linux/mlx5/device.h>
|
||||
#include <net/xfrm.h>
|
||||
@ -146,6 +145,7 @@ struct mlx5e_ipsec_sa_entry {
|
||||
struct mlx5e_ipsec_modify_state_work modify_work;
|
||||
};
|
||||
|
||||
#ifdef CONFIG_MLX5_EN_IPSEC
|
||||
int mlx5e_ipsec_init(struct mlx5e_priv *priv);
|
||||
void mlx5e_ipsec_cleanup(struct mlx5e_priv *priv);
|
||||
void mlx5e_ipsec_build_netdev(struct mlx5e_priv *priv);
|
||||
|
Loading…
Reference in New Issue
Block a user