Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec.c274 attrs->type != XFRM_DEV_OFFLOAD_PACKET) in mlx5e_ipsec_init_macs()
432 x->xso.type != XFRM_DEV_OFFLOAD_PACKET) in mlx5e_ipsec_build_accel_xfrm_attrs()
529 if (x->xso.type != XFRM_DEV_OFFLOAD_PACKET) { in mlx5e_xfrm_validate_state()
584 case XFRM_DEV_OFFLOAD_PACKET: in mlx5e_xfrm_validate_state()
705 case XFRM_DEV_OFFLOAD_PACKET: in mlx5_ipsec_create_work()
725 case XFRM_DEV_OFFLOAD_PACKET: in mlx5_ipsec_create_work()
751 if (x->xso.type != XFRM_DEV_OFFLOAD_PACKET) in mlx5e_ipsec_create_dwork()
814 x->xso.type == XFRM_DEV_OFFLOAD_PACKET) { in mlx5e_xfrm_add_state()
1106 if (x->xso.type != XFRM_DEV_OFFLOAD_PACKET) in mlx5e_xfrm_update_stats()
1201 if (x->xdo.type != XFRM_DEV_OFFLOAD_PACKET) { in mlx5e_xfrm_validate_policy()
[all …]
H A Dipsec_fs.c77 if (ipsec->is_uplink_rep && type == XFRM_DEV_OFFLOAD_PACKET) in ipsec_rx()
88 if (ipsec->is_uplink_rep && type == XFRM_DEV_OFFLOAD_PACKET) in ipsec_tx()
614 struct mlx5e_ipsec_rx *rx = ipsec_rx(ipsec, family, XFRM_DEV_OFFLOAD_PACKET); in handle_ipsec_rx_bringup()
631 struct mlx5e_ipsec_rx *rx = ipsec_rx(ipsec, family, XFRM_DEV_OFFLOAD_PACKET); in handle_ipsec_rx_cleanup()
1679 if (ipsec->is_uplink_rep && type == XFRM_DEV_OFFLOAD_PACKET) in ipsec_fs_get_ns()
2078 case XFRM_DEV_OFFLOAD_PACKET: in rx_add_rule()
2112 if (attrs->upspec.proto && attrs->type == XFRM_DEV_OFFLOAD_PACKET) { in rx_add_rule()
2118 if (attrs->type == XFRM_DEV_OFFLOAD_PACKET) in rx_add_rule()
2198 case XFRM_DEV_OFFLOAD_PACKET: in tx_add_rule()
2622 if (sa_entry->attrs.type == XFRM_DEV_OFFLOAD_PACKET) { in mlx5e_accel_ipsec_fs_add_rule()
[all …]
H A Dipsec_offload.c183 if (attrs->type == XFRM_DEV_OFFLOAD_PACKET) in mlx5_create_ipsec_obj()
/linux/net/xfrm/
H A Dxfrm_device.c142 if (x->xso.type == XFRM_DEV_OFFLOAD_PACKET && x->xso.dev != dev) { in validate_xmit_xfrm()
324 xso->type = XFRM_DEV_OFFLOAD_PACKET; in xfrm_dev_state_add()
379 xdo->type = XFRM_DEV_OFFLOAD_PACKET; in xfrm_dev_policy_add()
439 check_tunnel_size = x->xso.type == XFRM_DEV_OFFLOAD_PACKET && in xfrm_dev_offload_ok()
H A Dxfrm_state.c102 if (_type != XFRM_DEV_OFFLOAD_PACKET) { \
104 if (_x->xso.type == XFRM_DEV_OFFLOAD_PACKET) \
110 if (!_x || _x->xso.type == XFRM_DEV_OFFLOAD_PACKET) \
1143 if (xdo->type == XFRM_DEV_OFFLOAD_PACKET) { in __xfrm_state_lookup_all()
1144 if (x->xso.type != XFRM_DEV_OFFLOAD_PACKET) in __xfrm_state_lookup_all()
1155 } else if (x->xso.type == XFRM_DEV_OFFLOAD_PACKET) in __xfrm_state_lookup_all()
1424 if (pol->xdo.type == XFRM_DEV_OFFLOAD_PACKET) { in xfrm_state_find()
1425 if (x->xso.type != XFRM_DEV_OFFLOAD_PACKET) in xfrm_state_find()
1436 } else if (x->xso.type == XFRM_DEV_OFFLOAD_PACKET) in xfrm_state_find()
1459 if (pol->xdo.type == XFRM_DEV_OFFLOAD_PACKET) { in xfrm_state_find()
[all …]
H A Dxfrm_output.c505 if (err <= 0 || x->xso.type == XFRM_DEV_OFFLOAD_PACKET) in xfrm_output_one()
757 family = (x->xso.type != XFRM_DEV_OFFLOAD_PACKET) ? x->outer_mode.family in xfrm_output()
772 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()
3831 if (pol->xdo.type == XFRM_DEV_OFFLOAD_PACKET && sp == &dummy) in __xfrm_policy_check()
H A Dxfrm_user.c1197 if (xso->type == XFRM_DEV_OFFLOAD_PACKET) in copy_user_offload()
/linux/include/net/
H A Dxfrm.h142 XFRM_DEV_OFFLOAD_PACKET, enumerator
1285 if (x->xso.type == XFRM_DEV_OFFLOAD_PACKET) { in __xfrm_policy_check2()