Home
last modified time | relevance | path

Searched refs:xfrmdev_ops (Results 1 – 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/net/xfrm/
Dxfrm_device.c264 if (!dev->xfrmdev_ops || !dev->xfrmdev_ops->xdo_dev_state_add) { in xfrm_dev_state_add()
271 !dev->xfrmdev_ops->xdo_dev_state_advance_esn) { in xfrm_dev_state_add()
283 err = dev->xfrmdev_ops->xdo_dev_state_add(x); in xfrm_dev_state_add()
322 if (dev && dev->xfrmdev_ops && dev->xfrmdev_ops->xdo_dev_offload_ok) in xfrm_dev_offload_ok()
323 return x->xso.dev->xfrmdev_ops->xdo_dev_offload_ok(skb, x); in xfrm_dev_offload_ok()
387 (!(dev->xfrmdev_ops && in xfrm_api_check()
388 dev->xfrmdev_ops->xdo_dev_state_add && in xfrm_api_check()
389 dev->xfrmdev_ops->xdo_dev_state_delete))) in xfrm_api_check()
/kernel/linux/linux-5.10/drivers/net/netdevsim/
Dipsec.c222 static const struct xfrmdev_ops nsim_xfrmdev_ops = {
277 ns->netdev->xfrmdev_ops = &nsim_xfrmdev_ops; in nsim_ipsec_init()
/kernel/linux/linux-5.10/drivers/net/bonding/
Dbond_main.c404 if (!slave->dev->xfrmdev_ops || in bond_ipsec_add_sa()
405 !slave->dev->xfrmdev_ops->xdo_dev_state_add || in bond_ipsec_add_sa()
419 err = slave->dev->xfrmdev_ops->xdo_dev_state_add(xs); in bond_ipsec_add_sa()
444 if (!slave->dev->xfrmdev_ops || in bond_ipsec_add_sa_all()
445 !slave->dev->xfrmdev_ops->xdo_dev_state_add || in bond_ipsec_add_sa_all()
459 if (slave->dev->xfrmdev_ops->xdo_dev_state_add(ipsec->xs)) { in bond_ipsec_add_sa_all()
495 if (!slave->dev->xfrmdev_ops || in bond_ipsec_del_sa()
496 !slave->dev->xfrmdev_ops->xdo_dev_state_delete || in bond_ipsec_del_sa()
502 slave->dev->xfrmdev_ops->xdo_dev_state_delete(xs); in bond_ipsec_del_sa()
534 if (!slave->dev->xfrmdev_ops || in bond_ipsec_del_sa_all()
[all …]
/kernel/linux/linux-5.10/Documentation/networking/
Dxfrm_device.rst42 struct xfrmdev_ops {
67 adapter->netdev->xfrmdev_ops = &ixgbe_xfrmdev_ops;
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_uld.h496 const struct xfrmdev_ops *xfrmdev_ops; member
Dcxgb4_main.c6427 if (!adap->uld[CXGB4_ULD_IPSEC].xfrmdev_ops) { in chcr_offload_state()
6517 ret = adap->uld[CXGB4_ULD_IPSEC].xfrmdev_ops->xdo_dev_state_add(x); in cxgb4_xfrm_add_state()
6537 adap->uld[CXGB4_ULD_IPSEC].xfrmdev_ops->xdo_dev_state_delete(x); in cxgb4_xfrm_del_state()
6555 adap->uld[CXGB4_ULD_IPSEC].xfrmdev_ops->xdo_dev_state_free(x); in cxgb4_xfrm_free_state()
6574 ret = adap->uld[CXGB4_ULD_IPSEC].xfrmdev_ops->xdo_dev_offload_ok(skb, x); in cxgb4_ipsec_offload_ok()
6593 adap->uld[CXGB4_ULD_IPSEC].xfrmdev_ops->xdo_dev_state_advance_esn(x); in cxgb4_advance_esn_state()
6599 static const struct xfrmdev_ops cxgb4_xfrmdev_ops = {
6871 netdev->xfrmdev_ops = &cxgb4_xfrmdev_ops; in init_one()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec.c519 static const struct xfrmdev_ops mlx5e_ipsec_xfrmdev_ops = {
539 netdev->xfrmdev_ops = &mlx5e_ipsec_xfrmdev_ops; in mlx5e_ipsec_build_netdev()
/kernel/linux/linux-5.10/include/net/
Dxfrm.h1892 if (xso->dev && xso->dev->xfrmdev_ops->xdo_dev_state_advance_esn) in xfrm_dev_state_advance_esn()
1893 xso->dev->xfrmdev_ops->xdo_dev_state_advance_esn(x); in xfrm_dev_state_advance_esn()
1919 xso->dev->xfrmdev_ops->xdo_dev_state_delete(x); in xfrm_dev_state_delete()
1927 if (dev && dev->xfrmdev_ops) { in xfrm_dev_state_free()
1928 if (dev->xfrmdev_ops->xdo_dev_state_free) in xfrm_dev_state_free()
1929 dev->xfrmdev_ops->xdo_dev_state_free(x); in xfrm_dev_state_free()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbevf/
Dipsec.c445 static const struct xfrmdev_ops ixgbevf_xfrmdev_ops = {
651 adapter->netdev->xfrmdev_ops = &ixgbevf_xfrmdev_ops; in ixgbevf_init_ipsec_offload()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/
Dchcr_ipsec.c84 static const struct xfrmdev_ops ch_ipsec_xfrmdev_ops = {
100 .xfrmdev_ops = &ch_ipsec_xfrmdev_ops,
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ipsec.c834 static const struct xfrmdev_ops ixgbe_xfrmdev_ops = {
1274 adapter->netdev->xfrmdev_ops = &ixgbe_xfrmdev_ops; in ixgbe_init_ipsec_offload()
/kernel/linux/linux-5.10/include/linux/
Dnetdevice.h946 struct xfrmdev_ops { struct
1958 const struct xfrmdev_ops *xfrmdev_ops; member