Searched refs:soft_packet_limit (Results 1 - 8 of 8) sorted by relevance

/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec_offload.c131 if (attrs->lft.soft_packet_limit != XFRM_INF) {
133 attrs->lft.soft_packet_limit);
406 if (attrs->lft.soft_packet_limit > BIT_ULL(31)) {
430 attrs->lft.soft_packet_limit = XFRM_INF;
438 attrs->lft.soft_packet_limit);
469 if (attrs->lft.soft_packet_limit != XFRM_INF)
H A Dipsec.c153 attrs->lft.soft_packet_limit = x->lft.soft_packet_limit;
154 if (x->lft.soft_packet_limit == XFRM_INF)
225 n = (x->lft.soft_packet_limit - attrs->lft.hard_packet_limit) / BIT_ULL(31);
227 x->lft.soft_packet_limit;
255 attrs->lft.soft_packet_limit = lower_32_bits(start_value);
535 if (x->lft.soft_packet_limit >= x->lft.hard_packet_limit &&
542 if (!x->lft.soft_packet_limit || !x->lft.hard_packet_limit) {
667 if (x->lft.soft_packet_limit == XFRM_INF &&
H A Dipsec.h66 u64 soft_packet_limit; member in struct:mlx5_ipsec_lft
/linux-master/include/uapi/linux/
H A Dxfrm.h70 __u64 soft_packet_limit; member in struct:xfrm_lifetime_cfg
/linux-master/net/xfrm/
H A Dxfrm_compat.c14 compat_u64 soft_packet_limit, hard_packet_limit; member in struct:compat_xfrm_lifetime_cfg
H A Dxfrm_state.c675 x->lft.soft_packet_limit = XFRM_INF;
1952 x->curlft.packets >= x->lft.soft_packet_limit)) {
/linux-master/net/key/
H A Daf_key.c897 lifetime->sadb_lifetime_allocations = _X2KEY(x->lft.soft_packet_limit);
1146 x->lft.soft_packet_limit = _KEY2X(lifetime->sadb_lifetime_allocations);
2126 lifetime->sadb_lifetime_allocations = _X2KEY(xp->lft.soft_packet_limit);
2315 xp->lft.soft_packet_limit = XFRM_INF;
2324 xp->lft.soft_packet_limit = _KEY2X(lifetime->sadb_lifetime_allocations);
3312 xp->lft.soft_packet_limit = XFRM_INF;
/linux-master/tools/testing/selftests/net/
H A Dipsec.c948 req.info.lft.soft_packet_limit = XFRM_INF;
991 info->lft.soft_packet_limit != XFRM_INF ||
1124 req.info.lft.soft_packet_limit = XFRM_INF;

Completed in 174 milliseconds