Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec.c270 attrs->type != XFRM_DEV_OFFLOAD_PACKET) in mlx5e_ipsec_init_macs()
440 if (x->xso.type != XFRM_DEV_OFFLOAD_PACKET) { in mlx5e_xfrm_validate_state()
495 case XFRM_DEV_OFFLOAD_PACKET: in mlx5e_xfrm_validate_state()
616 case XFRM_DEV_OFFLOAD_PACKET: in mlx5_ipsec_create_work()
636 case XFRM_DEV_OFFLOAD_PACKET: in mlx5_ipsec_create_work()
663 if (x->xso.type != XFRM_DEV_OFFLOAD_PACKET) in mlx5e_ipsec_create_dwork()
747 x->xso.type == XFRM_DEV_OFFLOAD_PACKET && in mlx5e_xfrm_add_state()
769 if (x->xso.type == XFRM_DEV_OFFLOAD_PACKET && in mlx5e_xfrm_add_state()
1018 if (x->xso.type != XFRM_DEV_OFFLOAD_PACKET) in mlx5e_xfrm_update_stats()
1076 if (x->xdo.type != XFRM_DEV_OFFLOAD_PACKET) { in mlx5e_xfrm_validate_policy()
[all …]
H A Dipsec_fs.c61 if (ipsec->is_uplink_rep && type == XFRM_DEV_OFFLOAD_PACKET) in ipsec_rx()
72 if (ipsec->is_uplink_rep && type == XFRM_DEV_OFFLOAD_PACKET) in ipsec_tx()
498 struct mlx5e_ipsec_rx *rx = ipsec_rx(ipsec, family, XFRM_DEV_OFFLOAD_PACKET); in handle_ipsec_rx_bringup()
516 struct mlx5e_ipsec_rx *rx = ipsec_rx(ipsec, family, XFRM_DEV_OFFLOAD_PACKET); in handle_ipsec_rx_cleanup()
1306 if (ipsec->is_uplink_rep && type == XFRM_DEV_OFFLOAD_PACKET) in ipsec_fs_get_ns()
1626 case XFRM_DEV_OFFLOAD_PACKET: in rx_add_rule()
1659 if (attrs->type == XFRM_DEV_OFFLOAD_PACKET) in rx_add_rule()
1734 case XFRM_DEV_OFFLOAD_PACKET: in tx_add_rule()
2149 if (sa_entry->attrs.type == XFRM_DEV_OFFLOAD_PACKET) { in mlx5e_accel_ipsec_fs_add_rule()
2166 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/net/xfrm/
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) \
1154 if (xdo->type == XFRM_DEV_OFFLOAD_PACKET) { in __xfrm_state_lookup_all()
1155 if (x->xso.type != XFRM_DEV_OFFLOAD_PACKET) in __xfrm_state_lookup_all()
1166 } else if (x->xso.type == XFRM_DEV_OFFLOAD_PACKET) in __xfrm_state_lookup_all()
1442 if (pol->xdo.type == XFRM_DEV_OFFLOAD_PACKET) { in xfrm_state_find()
1443 if (x->xso.type != XFRM_DEV_OFFLOAD_PACKET) in xfrm_state_find()
1454 } else if (x->xso.type == XFRM_DEV_OFFLOAD_PACKET) in xfrm_state_find()
1477 if (pol->xdo.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()
2193 if (ret && ret->xdo.type == XFRM_DEV_OFFLOAD_PACKET) in xfrm_policy_lookup_bytype()
2732 if (xfrm[i]->xso.type != XFRM_DEV_OFFLOAD_PACKET) in xfrm_bundle_create()
/linux/include/net/
H A Dxfrm.h142 XFRM_DEV_OFFLOAD_PACKET, enumerator
1271 if (x->xso.type == XFRM_DEV_OFFLOAD_PACKET) { in __xfrm_policy_check2()