XFRM_DEV_OFFLOAD_PACKET
if (x->xso.type != XFRM_DEV_OFFLOAD_PACKET)
if (x->xdo.type != XFRM_DEV_OFFLOAD_PACKET) {
if (x->xdo.type == XFRM_DEV_OFFLOAD_PACKET &&
attrs->type = XFRM_DEV_OFFLOAD_PACKET;
attrs->type != XFRM_DEV_OFFLOAD_PACKET)
x->xso.type != XFRM_DEV_OFFLOAD_PACKET)
if (x->xso.type != XFRM_DEV_OFFLOAD_PACKET) {
case XFRM_DEV_OFFLOAD_PACKET:
case XFRM_DEV_OFFLOAD_PACKET:
case XFRM_DEV_OFFLOAD_PACKET:
if (x->xso.type != XFRM_DEV_OFFLOAD_PACKET)
x->xso.type == XFRM_DEV_OFFLOAD_PACKET) {
if (ipsec->is_uplink_rep && type == XFRM_DEV_OFFLOAD_PACKET)
case XFRM_DEV_OFFLOAD_PACKET:
if (attrs->upspec.proto && attrs->type == XFRM_DEV_OFFLOAD_PACKET) {
if (attrs->type == XFRM_DEV_OFFLOAD_PACKET)
case XFRM_DEV_OFFLOAD_PACKET:
if (sa_entry->attrs.type == XFRM_DEV_OFFLOAD_PACKET) {
if (sa_entry->attrs.type == XFRM_DEV_OFFLOAD_PACKET)
if (sa_entry->attrs.type == XFRM_DEV_OFFLOAD_PACKET)
struct mlx5e_ipsec_rx *rx = ipsec_rx(ipsec, family, XFRM_DEV_OFFLOAD_PACKET);
struct mlx5e_ipsec_rx *rx = ipsec_rx(ipsec, family, XFRM_DEV_OFFLOAD_PACKET);
if (ipsec->is_uplink_rep && type == XFRM_DEV_OFFLOAD_PACKET)
if (ipsec->is_uplink_rep && type == XFRM_DEV_OFFLOAD_PACKET)
if (attrs->type == XFRM_DEV_OFFLOAD_PACKET)
if (x->xso.type == XFRM_DEV_OFFLOAD_PACKET) {
if (x->xso.type == XFRM_DEV_OFFLOAD_PACKET && x->xso.dev != dev) {
xso->type = XFRM_DEV_OFFLOAD_PACKET;
xdo->type = XFRM_DEV_OFFLOAD_PACKET;
check_tunnel_size = x->xso.type == XFRM_DEV_OFFLOAD_PACKET &&
if (err <= 0 || x->xso.type == XFRM_DEV_OFFLOAD_PACKET)
family = (x->xso.type != XFRM_DEV_OFFLOAD_PACKET) ? x->outer_mode.family
if (x->xso.type == XFRM_DEV_OFFLOAD_PACKET) {
if (newpos && policy->xdo.type != XFRM_DEV_OFFLOAD_PACKET)
if (newpos && policy->xdo.type != XFRM_DEV_OFFLOAD_PACKET)
if (ret && ret->xdo.type == XFRM_DEV_OFFLOAD_PACKET)
if (xfrm[i]->xso.type != XFRM_DEV_OFFLOAD_PACKET)
if (pol->xdo.type == XFRM_DEV_OFFLOAD_PACKET && sp == &dummy)
if (!entry0 || pol->xdo.type == XFRM_DEV_OFFLOAD_PACKET) {
if (newpos && policy->xdo.type != XFRM_DEV_OFFLOAD_PACKET)
if (_type != XFRM_DEV_OFFLOAD_PACKET) { \
if (_x->xso.type == XFRM_DEV_OFFLOAD_PACKET) \
if (!_x || _x->xso.type == XFRM_DEV_OFFLOAD_PACKET) \
if (xdo->type == XFRM_DEV_OFFLOAD_PACKET) {
if (x->xso.type != XFRM_DEV_OFFLOAD_PACKET)
} else if (x->xso.type == XFRM_DEV_OFFLOAD_PACKET)
if (pol->xdo.type == XFRM_DEV_OFFLOAD_PACKET) {
if (x->xso.type != XFRM_DEV_OFFLOAD_PACKET)
} else if (x->xso.type == XFRM_DEV_OFFLOAD_PACKET)
if (pol->xdo.type == XFRM_DEV_OFFLOAD_PACKET) {
if (x->xso.type != XFRM_DEV_OFFLOAD_PACKET)
} else if (x->xso.type == XFRM_DEV_OFFLOAD_PACKET)
if (pol->xdo.type == XFRM_DEV_OFFLOAD_PACKET) {
xso->type = XFRM_DEV_OFFLOAD_PACKET;
if (xso->type == XFRM_DEV_OFFLOAD_PACKET) {
if (x->xso.type == XFRM_DEV_OFFLOAD_PACKET)
if (xso->type == XFRM_DEV_OFFLOAD_PACKET)