mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
net/mlx5e: Handle hardware IPsec limits events
commit 8c582ddfbb 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:
committed by
Greg Kroah-Hartman
parent
e90c7d26ca
commit
d7dc6a8604
@@ -34,7 +34,6 @@
|
|||||||
#ifndef __MLX5E_IPSEC_H__
|
#ifndef __MLX5E_IPSEC_H__
|
||||||
#define __MLX5E_IPSEC_H__
|
#define __MLX5E_IPSEC_H__
|
||||||
|
|
||||||
#ifdef CONFIG_MLX5_EN_IPSEC
|
|
||||||
|
|
||||||
#include <linux/mlx5/device.h>
|
#include <linux/mlx5/device.h>
|
||||||
#include <net/xfrm.h>
|
#include <net/xfrm.h>
|
||||||
@@ -146,6 +145,7 @@ struct mlx5e_ipsec_sa_entry {
|
|||||||
struct mlx5e_ipsec_modify_state_work modify_work;
|
struct mlx5e_ipsec_modify_state_work modify_work;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifdef CONFIG_MLX5_EN_IPSEC
|
||||||
int mlx5e_ipsec_init(struct mlx5e_priv *priv);
|
int mlx5e_ipsec_init(struct mlx5e_priv *priv);
|
||||||
void mlx5e_ipsec_cleanup(struct mlx5e_priv *priv);
|
void mlx5e_ipsec_cleanup(struct mlx5e_priv *priv);
|
||||||
void mlx5e_ipsec_build_netdev(struct mlx5e_priv *priv);
|
void mlx5e_ipsec_build_netdev(struct mlx5e_priv *priv);
|
||||||
|
|||||||
Reference in New Issue
Block a user