Home
last modified time | relevance | path

Searched refs:XFRM_DEV_OFFLOAD_PACKET (Results 1 – 9 of 9) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec.c92 case XFRM_DEV_OFFLOAD_PACKET: in mlx5e_ipsec_update_esn_state()
264 attrs->type != XFRM_DEV_OFFLOAD_PACKET) in mlx5e_ipsec_init_macs()
408 if (x->xso.type != XFRM_DEV_OFFLOAD_PACKET) { in mlx5e_xfrm_validate_state()
463 case XFRM_DEV_OFFLOAD_PACKET: in mlx5e_xfrm_validate_state()
577 case XFRM_DEV_OFFLOAD_PACKET: in mlx5_ipsec_create_work()
597 case XFRM_DEV_OFFLOAD_PACKET: in mlx5_ipsec_create_work()
624 if (x->xso.type != XFRM_DEV_OFFLOAD_PACKET) in mlx5e_ipsec_create_dwork()
703 x->xso.type == XFRM_DEV_OFFLOAD_PACKET && in mlx5e_xfrm_add_state()
725 if (x->xso.type == XFRM_DEV_OFFLOAD_PACKET && in mlx5e_xfrm_add_state()
766 attrs->type == XFRM_DEV_OFFLOAD_PACKET) in mlx5e_xfrm_del_state()
[all …]
Dipsec_fs.c45 if (ipsec->is_uplink_rep && type == XFRM_DEV_OFFLOAD_PACKET) in ipsec_rx()
56 if (ipsec->is_uplink_rep && type == XFRM_DEV_OFFLOAD_PACKET) in ipsec_tx()
965 if (ipsec->is_uplink_rep && type == XFRM_DEV_OFFLOAD_PACKET) in ipsec_fs_get_ns()
1263 case XFRM_DEV_OFFLOAD_PACKET: in rx_add_rule()
1355 case XFRM_DEV_OFFLOAD_PACKET: in tx_add_rule()
1768 if (sa_entry->attrs.type == XFRM_DEV_OFFLOAD_PACKET) { in mlx5e_accel_ipsec_fs_add_rule()
1785 if (sa_entry->attrs.type == XFRM_DEV_OFFLOAD_PACKET) in mlx5e_accel_ipsec_fs_add_rule()
1800 if (sa_entry->attrs.type == XFRM_DEV_OFFLOAD_PACKET) in mlx5e_accel_ipsec_fs_del_rule()
Dipsec_offload.c169 if (attrs->type == XFRM_DEV_OFFLOAD_PACKET) in mlx5_create_ipsec_obj()
/Linux-v6.6/net/xfrm/
Dxfrm_device.c140 if (x->xso.type == XFRM_DEV_OFFLOAD_PACKET && x->xso.dev != dev) { in validate_xmit_xfrm()
310 xso->type = XFRM_DEV_OFFLOAD_PACKET; in xfrm_dev_state_add()
370 xdo->type = XFRM_DEV_OFFLOAD_PACKET; in xfrm_dev_policy_add()
413 if (x->xso.type == XFRM_DEV_OFFLOAD_PACKET || in xfrm_dev_offload_ok()
Dxfrm_state.c91 if (_type != XFRM_DEV_OFFLOAD_PACKET) { \
93 if (_x->xso.type == XFRM_DEV_OFFLOAD_PACKET) \
99 if (!_x || _x->xso.type == XFRM_DEV_OFFLOAD_PACKET) \
988 if (xdo->type == XFRM_DEV_OFFLOAD_PACKET) { in __xfrm_state_lookup_all()
989 if (x->xso.type != XFRM_DEV_OFFLOAD_PACKET) in __xfrm_state_lookup_all()
1000 } else if (x->xso.type == XFRM_DEV_OFFLOAD_PACKET) in __xfrm_state_lookup_all()
1162 if (pol->xdo.type == XFRM_DEV_OFFLOAD_PACKET) { in xfrm_state_find()
1163 if (x->xso.type != XFRM_DEV_OFFLOAD_PACKET) in xfrm_state_find()
1174 } else if (x->xso.type == XFRM_DEV_OFFLOAD_PACKET) in xfrm_state_find()
1196 if (pol->xdo.type == XFRM_DEV_OFFLOAD_PACKET) { in xfrm_state_find()
[all …]
Dxfrm_output.c496 if (err <= 0 || x->xso.type == XFRM_DEV_OFFLOAD_PACKET) in xfrm_output_one()
721 if (x->xso.type == XFRM_DEV_OFFLOAD_PACKET) { in xfrm_output()
Dxfrm_policy.c539 if (!entry0 || pol->xdo.type == XFRM_DEV_OFFLOAD_PACKET) { in xfrm_dst_hash_transfer()
870 if (newpos && policy->xdo.type != XFRM_DEV_OFFLOAD_PACKET) in xfrm_policy_inexact_list_reinsert()
1354 if (newpos && policy->xdo.type != XFRM_DEV_OFFLOAD_PACKET) in xfrm_hash_rebuild()
1529 if (newpos && policy->xdo.type != XFRM_DEV_OFFLOAD_PACKET) in xfrm_policy_insert_inexact_list()
1566 if (newpos && policy->xdo.type != XFRM_DEV_OFFLOAD_PACKET) in xfrm_policy_insert_list()
2194 if (ret && ret->xdo.type == XFRM_DEV_OFFLOAD_PACKET) in xfrm_policy_lookup_bytype()
Dxfrm_user.c961 if (xso->type == XFRM_DEV_OFFLOAD_PACKET) in copy_user_offload()
/Linux-v6.6/include/net/
Dxfrm.h138 XFRM_DEV_OFFLOAD_PACKET, enumerator
1173 if (x->xso.type == XFRM_DEV_OFFLOAD_PACKET) in __xfrm_policy_check2()
1586 if (x->xso.type != XFRM_DEV_OFFLOAD_PACKET) in xfrm_dev_state_update_curlft()