Home
last modified time | relevance | path

Searched refs:hard_packet_limit (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec.c158 attrs->lft.hard_packet_limit = x->lft.hard_packet_limit; in mlx5e_ipsec_init_limits()
193 n = attrs->lft.hard_packet_limit / BIT_ULL(31); in mlx5e_ipsec_init_limits()
194 start_value = attrs->lft.hard_packet_limit - n * BIT_ULL(31); in mlx5e_ipsec_init_limits()
201 start_value = attrs->lft.hard_packet_limit - n * BIT_ULL(31); in mlx5e_ipsec_init_limits()
206 attrs->lft.hard_packet_limit = lower_32_bits(start_value); in mlx5e_ipsec_init_limits()
232 start_value = attrs->lft.hard_packet_limit + n * BIT_ULL(31) - in mlx5e_ipsec_init_limits()
244 start_value = attrs->lft.hard_packet_limit + n * BIT_ULL(31) - start_value; in mlx5e_ipsec_init_limits()
535 if (x->lft.soft_packet_limit >= x->lft.hard_packet_limit && in mlx5e_xfrm_validate_state()
536 x->lft.hard_packet_limit != XFRM_INF) { in mlx5e_xfrm_validate_state()
542 if (!x->lft.soft_packet_limit || !x->lft.hard_packet_limit) { in mlx5e_xfrm_validate_state()
[all …]
H A Dipsec.h64 u64 hard_packet_limit; member
H A Dipsec_offload.c125 if (attrs->lft.hard_packet_limit != XFRM_INF) { in mlx5e_ipsec_packet_setup()
127 attrs->lft.hard_packet_limit); in mlx5e_ipsec_packet_setup()
/openbmc/linux/include/uapi/linux/
H A Dxfrm.h70 __u64 hard_packet_limit; member
/openbmc/linux/net/key/
H A Daf_key.c886 lifetime->sadb_lifetime_allocations = _X2KEY(x->lft.hard_packet_limit); in __pfkey_xfrm_state2msg()
1139 x->lft.hard_packet_limit = _KEY2X(lifetime->sadb_lifetime_allocations); in pfkey_msg2xfrm_state()
2117 lifetime->sadb_lifetime_allocations = _X2KEY(xp->lft.hard_packet_limit); in pfkey_xfrm_policy2msg()
2316 xp->lft.hard_packet_limit = XFRM_INF; in pfkey_spdadd()
2318 xp->lft.hard_packet_limit = _KEY2X(lifetime->sadb_lifetime_allocations); in pfkey_spdadd()
3313 xp->lft.hard_packet_limit = XFRM_INF; in pfkey_compile_policy()
/openbmc/linux/tools/testing/selftests/net/
H A Dipsec.c949 req.info.lft.hard_packet_limit = XFRM_INF; in xfrm_state_add()
992 info->lft.hard_packet_limit != XFRM_INF) in xfrm_usersa_found()
1125 req.info.lft.hard_packet_limit = XFRM_INF; in xfrm_policy_add()
/openbmc/linux/net/xfrm/
H A Dxfrm_compat.c14 compat_u64 soft_packet_limit, hard_packet_limit; member
H A Dxfrm_state.c679 x->lft.hard_packet_limit = XFRM_INF; in xfrm_state_alloc()
2001 x->curlft.packets >= x->lft.hard_packet_limit) { in xfrm_state_check_expire()