Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec.c98 case XFRM_DEV_OFFLOAD_PACKET: in mlx5e_ipsec_update_esn_state()
277 attrs->type != XFRM_DEV_OFFLOAD_PACKET) in mlx5e_ipsec_init_macs()
447 if (x->xso.type != XFRM_DEV_OFFLOAD_PACKET) { in mlx5e_xfrm_validate_state()
502 case XFRM_DEV_OFFLOAD_PACKET: in mlx5e_xfrm_validate_state()
617 case XFRM_DEV_OFFLOAD_PACKET: in mlx5_ipsec_create_work()
637 case XFRM_DEV_OFFLOAD_PACKET: in mlx5_ipsec_create_work()
664 if (x->xso.type != XFRM_DEV_OFFLOAD_PACKET) in mlx5e_ipsec_create_dwork()
749 x->xso.type == XFRM_DEV_OFFLOAD_PACKET && in mlx5e_xfrm_add_state()
771 if (x->xso.type == XFRM_DEV_OFFLOAD_PACKET && in mlx5e_xfrm_add_state()
1035 if (x->xdo.type != XFRM_DEV_OFFLOAD_PACKET) { in mlx5e_xfrm_validate_policy()
[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()
1068 if (ipsec->is_uplink_rep && type == XFRM_DEV_OFFLOAD_PACKET) in ipsec_fs_get_ns()
1367 case XFRM_DEV_OFFLOAD_PACKET: in rx_add_rule()
1458 case XFRM_DEV_OFFLOAD_PACKET: in tx_add_rule()
1873 if (sa_entry->attrs.type == XFRM_DEV_OFFLOAD_PACKET) { in mlx5e_accel_ipsec_fs_add_rule()
1890 if (sa_entry->attrs.type == XFRM_DEV_OFFLOAD_PACKET) in mlx5e_accel_ipsec_fs_add_rule()
1905 if (sa_entry->attrs.type == XFRM_DEV_OFFLOAD_PACKET) in mlx5e_accel_ipsec_fs_del_rule()
H A Dipsec_offload.c180 if (attrs->type == XFRM_DEV_OFFLOAD_PACKET) in mlx5_create_ipsec_obj()
/openbmc/linux/net/xfrm/
H A Dxfrm_device.c140 if (x->xso.type == XFRM_DEV_OFFLOAD_PACKET && x->xso.dev != dev) { in validate_xmit_xfrm()
315 xso->type = XFRM_DEV_OFFLOAD_PACKET; in xfrm_dev_state_add()
375 xdo->type = XFRM_DEV_OFFLOAD_PACKET; in xfrm_dev_policy_add()
419 if (x->xso.type == XFRM_DEV_OFFLOAD_PACKET || in xfrm_dev_offload_ok()
H A Dxfrm_state.c92 if (_type != XFRM_DEV_OFFLOAD_PACKET) { \
94 if (_x->xso.type == XFRM_DEV_OFFLOAD_PACKET) \
100 if (!_x || _x->xso.type == XFRM_DEV_OFFLOAD_PACKET) \
1046 if (xdo->type == XFRM_DEV_OFFLOAD_PACKET) { in __xfrm_state_lookup_all()
1047 if (x->xso.type != XFRM_DEV_OFFLOAD_PACKET) in __xfrm_state_lookup_all()
1058 } else if (x->xso.type == XFRM_DEV_OFFLOAD_PACKET) in __xfrm_state_lookup_all()
1220 if (pol->xdo.type == XFRM_DEV_OFFLOAD_PACKET) { in xfrm_state_find()
1221 if (x->xso.type != XFRM_DEV_OFFLOAD_PACKET) in xfrm_state_find()
1232 } else if (x->xso.type == XFRM_DEV_OFFLOAD_PACKET) in xfrm_state_find()
1254 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.c562 if (!entry0 || pol->xdo.type == XFRM_DEV_OFFLOAD_PACKET) { in xfrm_dst_hash_transfer()
893 if (newpos && policy->xdo.type != XFRM_DEV_OFFLOAD_PACKET) in xfrm_policy_inexact_list_reinsert()
1377 if (newpos && policy->xdo.type != XFRM_DEV_OFFLOAD_PACKET) in xfrm_hash_rebuild()
1552 if (newpos && policy->xdo.type != XFRM_DEV_OFFLOAD_PACKET) in xfrm_policy_insert_inexact_list()
1589 if (newpos && policy->xdo.type != XFRM_DEV_OFFLOAD_PACKET) in xfrm_policy_insert_list()
2215 if (ret && ret->xdo.type == XFRM_DEV_OFFLOAD_PACKET) in xfrm_policy_lookup_bytype()
2706 if (xfrm[i]->xso.type != XFRM_DEV_OFFLOAD_PACKET) in xfrm_bundle_create()
H A Dxfrm_user.c965 if (xso->type == XFRM_DEV_OFFLOAD_PACKET) in copy_user_offload()
/openbmc/linux/include/net/
H A Dxfrm.h138 XFRM_DEV_OFFLOAD_PACKET, enumerator
1184 if (x->xso.type == XFRM_DEV_OFFLOAD_PACKET) { in __xfrm_policy_check2()
1607 if (x->xso.type != XFRM_DEV_OFFLOAD_PACKET) in xfrm_dev_state_update_curlft()