Lines Matching refs:xfrmdev_ops
444 if (!slave->dev->xfrmdev_ops || in bond_ipsec_add_sa()
445 !slave->dev->xfrmdev_ops->xdo_dev_state_add || in bond_ipsec_add_sa()
459 err = slave->dev->xfrmdev_ops->xdo_dev_state_add(xs, extack); in bond_ipsec_add_sa()
484 if (!slave->dev->xfrmdev_ops || in bond_ipsec_add_sa_all()
485 !slave->dev->xfrmdev_ops->xdo_dev_state_add || in bond_ipsec_add_sa_all()
499 if (slave->dev->xfrmdev_ops->xdo_dev_state_add(ipsec->xs, NULL)) { in bond_ipsec_add_sa_all()
535 if (!slave->dev->xfrmdev_ops || in bond_ipsec_del_sa()
536 !slave->dev->xfrmdev_ops->xdo_dev_state_delete || in bond_ipsec_del_sa()
542 slave->dev->xfrmdev_ops->xdo_dev_state_delete(xs); in bond_ipsec_del_sa()
574 if (!slave->dev->xfrmdev_ops || in bond_ipsec_del_sa_all()
575 !slave->dev->xfrmdev_ops->xdo_dev_state_delete || in bond_ipsec_del_sa_all()
581 slave->dev->xfrmdev_ops->xdo_dev_state_delete(ipsec->xs); in bond_ipsec_del_sa_all()
617 if (!real_dev->xfrmdev_ops || in bond_ipsec_offload_ok()
618 !real_dev->xfrmdev_ops->xdo_dev_offload_ok || in bond_ipsec_offload_ok()
624 err = real_dev->xfrmdev_ops->xdo_dev_offload_ok(skb, xs); in bond_ipsec_offload_ok()
630 static const struct xfrmdev_ops bond_xfrmdev_ops = {
5805 bond_dev->xfrmdev_ops = &bond_xfrmdev_ops; in bond_setup()