Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec.c270 attrs->type != XFRM_DEV_OFFLOAD_PACKET) in mlx5e_ipsec_init_macs()
453 if (x->xso.type != XFRM_DEV_OFFLOAD_PACKET) { in mlx5e_xfrm_validate_state()
508 case XFRM_DEV_OFFLOAD_PACKET: in mlx5e_xfrm_validate_state()
629 case XFRM_DEV_OFFLOAD_PACKET: in mlx5_ipsec_create_work()
649 case XFRM_DEV_OFFLOAD_PACKET: in mlx5_ipsec_create_work()
676 if (x->xso.type != XFRM_DEV_OFFLOAD_PACKET) in mlx5e_ipsec_create_dwork()
760 x->xso.type == XFRM_DEV_OFFLOAD_PACKET && in mlx5e_xfrm_add_state()
782 if (x->xso.type == XFRM_DEV_OFFLOAD_PACKET && in mlx5e_xfrm_add_state()
1016 if (x->xso.type != XFRM_DEV_OFFLOAD_PACKET) in mlx5e_xfrm_update_stats()
1111 if (x->xdo.type != XFRM_DEV_OFFLOAD_PACKET) { in mlx5e_xfrm_validate_policy()
[all …]
H A Dipsec_fs.c76 if (ipsec->is_uplink_rep && type == XFRM_DEV_OFFLOAD_PACKET) in ipsec_rx()
87 if (ipsec->is_uplink_rep && type == XFRM_DEV_OFFLOAD_PACKET) in ipsec_tx()
599 struct mlx5e_ipsec_rx *rx = ipsec_rx(ipsec, family, XFRM_DEV_OFFLOAD_PACKET); in handle_ipsec_rx_bringup()
1650 if (ipsec->is_uplink_rep && type == XFRM_DEV_OFFLOAD_PACKET) in ipsec_fs_get_ns()
2049 case XFRM_DEV_OFFLOAD_PACKET: in rx_add_rule()
2083 if (attrs->upspec.proto && attrs->type == XFRM_DEV_OFFLOAD_PACKET) { in rx_add_rule()
2089 if (attrs->type == XFRM_DEV_OFFLOAD_PACKET) in rx_add_rule()
2169 case XFRM_DEV_OFFLOAD_PACKET: in tx_add_rule()
2593 if (sa_entry->attrs.type == XFRM_DEV_OFFLOAD_PACKET) { in mlx5e_accel_ipsec_fs_add_rule()
2610 if (sa_entry->attrs.type == XFRM_DEV_OFFLOAD_PACKET) in mlx5e_accel_ipsec_fs_add_rule()
[all …]
H A Dipsec_offload.c182 if (attrs->type == XFRM_DEV_OFFLOAD_PACKET) in mlx5_create_ipsec_obj()
/linux-6.15/net/xfrm/
H A Dxfrm_device.c142 if (x->xso.type == XFRM_DEV_OFFLOAD_PACKET && x->xso.dev != dev) { in validate_xmit_xfrm()
325 xso->type = XFRM_DEV_OFFLOAD_PACKET; in xfrm_dev_state_add()
382 xdo->type = XFRM_DEV_OFFLOAD_PACKET; in xfrm_dev_policy_add()
438 check_tunnel_size = x->xso.type == XFRM_DEV_OFFLOAD_PACKET && in xfrm_dev_offload_ok()
H A Dxfrm_state.c104 if (_x->xso.type == XFRM_DEV_OFFLOAD_PACKET) \
1149 if (xdo->type == XFRM_DEV_OFFLOAD_PACKET) { in __xfrm_state_lookup_all()
1150 if (x->xso.type != XFRM_DEV_OFFLOAD_PACKET) in __xfrm_state_lookup_all()
1161 } else if (x->xso.type == XFRM_DEV_OFFLOAD_PACKET) in __xfrm_state_lookup_all()
1437 if (pol->xdo.type == XFRM_DEV_OFFLOAD_PACKET) { in xfrm_state_find()
1438 if (x->xso.type != XFRM_DEV_OFFLOAD_PACKET) in xfrm_state_find()
1472 if (pol->xdo.type == XFRM_DEV_OFFLOAD_PACKET) { in xfrm_state_find()
1473 if (x->xso.type != XFRM_DEV_OFFLOAD_PACKET) in xfrm_state_find()
1548 if (pol->xdo.type == XFRM_DEV_OFFLOAD_PACKET) { in xfrm_state_find()
1552 xso->type = XFRM_DEV_OFFLOAD_PACKET; in xfrm_state_find()
[all …]
H A Dxfrm_output.c498 if (err <= 0 || x->xso.type == XFRM_DEV_OFFLOAD_PACKET) in xfrm_output_one()
750 family = (x->xso.type != XFRM_DEV_OFFLOAD_PACKET) ? x->outer_mode.family in xfrm_output()
765 if (x->xso.type == XFRM_DEV_OFFLOAD_PACKET) { in xfrm_output()
H A Dxfrm_policy.c591 if (!entry0 || pol->xdo.type == XFRM_DEV_OFFLOAD_PACKET) { in xfrm_dst_hash_transfer()
922 if (newpos && policy->xdo.type != XFRM_DEV_OFFLOAD_PACKET) in xfrm_policy_inexact_list_reinsert()
1391 if (newpos && policy->xdo.type != XFRM_DEV_OFFLOAD_PACKET) in xfrm_hash_rebuild()
1567 if (newpos && policy->xdo.type != XFRM_DEV_OFFLOAD_PACKET) in xfrm_policy_insert_list()
2196 if (ret && ret->xdo.type == XFRM_DEV_OFFLOAD_PACKET) in xfrm_policy_lookup_bytype()
2735 if (xfrm[i]->xso.type != XFRM_DEV_OFFLOAD_PACKET) in xfrm_bundle_create()
H A Dxfrm_user.c1152 if (xso->type == XFRM_DEV_OFFLOAD_PACKET) in copy_user_offload()
/linux-6.15/include/net/
H A Dxfrm.h142 XFRM_DEV_OFFLOAD_PACKET, enumerator
1279 if (x->xso.type == XFRM_DEV_OFFLOAD_PACKET) { in __xfrm_policy_check2()