Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec.c92 case XFRM_DEV_OFFLOAD_PACKET: in mlx5e_ipsec_update_esn_state()
271 attrs->type != XFRM_DEV_OFFLOAD_PACKET) in mlx5e_ipsec_init_macs()
441 if (x->xso.type != XFRM_DEV_OFFLOAD_PACKET) { in mlx5e_xfrm_validate_state()
496 case XFRM_DEV_OFFLOAD_PACKET: in mlx5e_xfrm_validate_state()
611 case XFRM_DEV_OFFLOAD_PACKET: in mlx5_ipsec_create_work()
631 case XFRM_DEV_OFFLOAD_PACKET: in mlx5_ipsec_create_work()
658 if (x->xso.type != XFRM_DEV_OFFLOAD_PACKET) in mlx5e_ipsec_create_dwork()
737 x->xso.type == XFRM_DEV_OFFLOAD_PACKET && in mlx5e_xfrm_add_state()
759 if (x->xso.type == XFRM_DEV_OFFLOAD_PACKET && in mlx5e_xfrm_add_state()
800 attrs->type == XFRM_DEV_OFFLOAD_PACKET) in mlx5e_xfrm_del_state()
[all...]
H A 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()
1069 if (ipsec->is_uplink_rep && type == XFRM_DEV_OFFLOAD_PACKET) in ipsec_fs_get_ns()
1368 case XFRM_DEV_OFFLOAD_PACKET: in rx_add_rule()
1460 case XFRM_DEV_OFFLOAD_PACKET: in tx_add_rule()
1876 if (sa_entry->attrs.type == XFRM_DEV_OFFLOAD_PACKET) { in mlx5e_accel_ipsec_fs_add_rule()
1893 if (sa_entry->attrs.type == XFRM_DEV_OFFLOAD_PACKET) in mlx5e_accel_ipsec_fs_add_rule()
1908 if (sa_entry->attrs.type == XFRM_DEV_OFFLOAD_PACKET) in mlx5e_accel_ipsec_fs_del_rule()
H A Dipsec_offload.c174 if (attrs->type == XFRM_DEV_OFFLOAD_PACKET) in mlx5_create_ipsec_obj()
/kernel/linux/linux-6.6/net/xfrm/
H A 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()
414 if (x->xso.type == XFRM_DEV_OFFLOAD_PACKET || in xfrm_dev_offload_ok()
H A 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...]
H A Dxfrm_output.c496 if (err <= 0 || x->xso.type == XFRM_DEV_OFFLOAD_PACKET) in xfrm_output_one()
710 family = (x->xso.type != XFRM_DEV_OFFLOAD_PACKET) ? x->outer_mode.family in xfrm_output()
725 if (x->xso.type == XFRM_DEV_OFFLOAD_PACKET) { in xfrm_output()
H A 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()
2682 if (xfrm[i]->xso.type != XFRM_DEV_OFFLOAD_PACKET) in xfrm_bundle_create()
H A Dxfrm_user.c961 if (xso->type == XFRM_DEV_OFFLOAD_PACKET) in copy_user_offload()
/kernel/linux/linux-6.6/include/net/
H A 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()

Completed in 23 milliseconds