• Home
  • Raw
  • Download

Lines Matching refs:ops

380 	const struct net_device_ops *ops = real_dev->netdev_ops;  in vlan_dev_ioctl()  local
391 if (netif_device_present(real_dev) && ops->ndo_eth_ioctl) in vlan_dev_ioctl()
392 err = ops->ndo_eth_ioctl(real_dev, &ifrr, cmd); in vlan_dev_ioctl()
405 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_neigh_setup() local
408 if (netif_device_present(real_dev) && ops->ndo_neigh_setup) in vlan_dev_neigh_setup()
409 err = ops->ndo_neigh_setup(real_dev, pa); in vlan_dev_neigh_setup()
419 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_fcoe_ddp_setup() local
422 if (ops->ndo_fcoe_ddp_setup) in vlan_dev_fcoe_ddp_setup()
423 rc = ops->ndo_fcoe_ddp_setup(real_dev, xid, sgl, sgc); in vlan_dev_fcoe_ddp_setup()
431 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_fcoe_ddp_done() local
434 if (ops->ndo_fcoe_ddp_done) in vlan_dev_fcoe_ddp_done()
435 len = ops->ndo_fcoe_ddp_done(real_dev, xid); in vlan_dev_fcoe_ddp_done()
443 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_fcoe_enable() local
446 if (ops->ndo_fcoe_enable) in vlan_dev_fcoe_enable()
447 rc = ops->ndo_fcoe_enable(real_dev); in vlan_dev_fcoe_enable()
454 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_fcoe_disable() local
457 if (ops->ndo_fcoe_disable) in vlan_dev_fcoe_disable()
458 rc = ops->ndo_fcoe_disable(real_dev); in vlan_dev_fcoe_disable()
466 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_fcoe_ddp_target() local
469 if (ops->ndo_fcoe_ddp_target) in vlan_dev_fcoe_ddp_target()
470 rc = ops->ndo_fcoe_ddp_target(real_dev, xid, sgl, sgc); in vlan_dev_fcoe_ddp_target()
480 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_fcoe_get_wwn() local
483 if (ops->ndo_fcoe_get_wwn) in vlan_dev_fcoe_get_wwn()
484 rc = ops->ndo_fcoe_get_wwn(real_dev, wwn, type); in vlan_dev_fcoe_get_wwn()
705 const struct ethtool_ops *ops = vlan->real_dev->ethtool_ops; in vlan_ethtool_get_ts_info() local
710 } else if (ops->get_ts_info) { in vlan_ethtool_get_ts_info()
711 return ops->get_ts_info(vlan->real_dev, info); in vlan_ethtool_get_ts_info()
843 const struct macsec_ops *ops = vlan_get_macsec_ops(ctx); in vlan_macsec_dev_open() local
845 if (!ops) in vlan_macsec_dev_open()
848 return vlan_macsec_offload(ops->mdo_dev_open, ctx); in vlan_macsec_dev_open()
853 const struct macsec_ops *ops = vlan_get_macsec_ops(ctx); in vlan_macsec_dev_stop() local
855 if (!ops) in vlan_macsec_dev_stop()
858 return vlan_macsec_offload(ops->mdo_dev_stop, ctx); in vlan_macsec_dev_stop()
863 const struct macsec_ops *ops = vlan_get_macsec_ops(ctx); in vlan_macsec_add_secy() local
865 if (!ops) in vlan_macsec_add_secy()
868 return vlan_macsec_offload(ops->mdo_add_secy, ctx); in vlan_macsec_add_secy()
873 const struct macsec_ops *ops = vlan_get_macsec_ops(ctx); in vlan_macsec_upd_secy() local
875 if (!ops) in vlan_macsec_upd_secy()
878 return vlan_macsec_offload(ops->mdo_upd_secy, ctx); in vlan_macsec_upd_secy()
883 const struct macsec_ops *ops = vlan_get_macsec_ops(ctx); in vlan_macsec_del_secy() local
885 if (!ops) in vlan_macsec_del_secy()
888 return vlan_macsec_offload(ops->mdo_del_secy, ctx); in vlan_macsec_del_secy()
893 const struct macsec_ops *ops = vlan_get_macsec_ops(ctx); in vlan_macsec_add_rxsc() local
895 if (!ops) in vlan_macsec_add_rxsc()
898 return vlan_macsec_offload(ops->mdo_add_rxsc, ctx); in vlan_macsec_add_rxsc()
903 const struct macsec_ops *ops = vlan_get_macsec_ops(ctx); in vlan_macsec_upd_rxsc() local
905 if (!ops) in vlan_macsec_upd_rxsc()
908 return vlan_macsec_offload(ops->mdo_upd_rxsc, ctx); in vlan_macsec_upd_rxsc()
913 const struct macsec_ops *ops = vlan_get_macsec_ops(ctx); in vlan_macsec_del_rxsc() local
915 if (!ops) in vlan_macsec_del_rxsc()
918 return vlan_macsec_offload(ops->mdo_del_rxsc, ctx); in vlan_macsec_del_rxsc()
923 const struct macsec_ops *ops = vlan_get_macsec_ops(ctx); in vlan_macsec_add_rxsa() local
925 if (!ops) in vlan_macsec_add_rxsa()
928 return vlan_macsec_offload(ops->mdo_add_rxsa, ctx); in vlan_macsec_add_rxsa()
933 const struct macsec_ops *ops = vlan_get_macsec_ops(ctx); in vlan_macsec_upd_rxsa() local
935 if (!ops) in vlan_macsec_upd_rxsa()
938 return vlan_macsec_offload(ops->mdo_upd_rxsa, ctx); in vlan_macsec_upd_rxsa()
943 const struct macsec_ops *ops = vlan_get_macsec_ops(ctx); in vlan_macsec_del_rxsa() local
945 if (!ops) in vlan_macsec_del_rxsa()
948 return vlan_macsec_offload(ops->mdo_del_rxsa, ctx); in vlan_macsec_del_rxsa()
953 const struct macsec_ops *ops = vlan_get_macsec_ops(ctx); in vlan_macsec_add_txsa() local
955 if (!ops) in vlan_macsec_add_txsa()
958 return vlan_macsec_offload(ops->mdo_add_txsa, ctx); in vlan_macsec_add_txsa()
963 const struct macsec_ops *ops = vlan_get_macsec_ops(ctx); in vlan_macsec_upd_txsa() local
965 if (!ops) in vlan_macsec_upd_txsa()
968 return vlan_macsec_offload(ops->mdo_upd_txsa, ctx); in vlan_macsec_upd_txsa()
973 const struct macsec_ops *ops = vlan_get_macsec_ops(ctx); in vlan_macsec_del_txsa() local
975 if (!ops) in vlan_macsec_del_txsa()
978 return vlan_macsec_offload(ops->mdo_del_txsa, ctx); in vlan_macsec_del_txsa()
983 const struct macsec_ops *ops = vlan_get_macsec_ops(ctx); in vlan_macsec_get_dev_stats() local
985 if (!ops) in vlan_macsec_get_dev_stats()
988 return vlan_macsec_offload(ops->mdo_get_dev_stats, ctx); in vlan_macsec_get_dev_stats()
993 const struct macsec_ops *ops = vlan_get_macsec_ops(ctx); in vlan_macsec_get_tx_sc_stats() local
995 if (!ops) in vlan_macsec_get_tx_sc_stats()
998 return vlan_macsec_offload(ops->mdo_get_tx_sc_stats, ctx); in vlan_macsec_get_tx_sc_stats()
1003 const struct macsec_ops *ops = vlan_get_macsec_ops(ctx); in vlan_macsec_get_tx_sa_stats() local
1005 if (!ops) in vlan_macsec_get_tx_sa_stats()
1008 return vlan_macsec_offload(ops->mdo_get_tx_sa_stats, ctx); in vlan_macsec_get_tx_sa_stats()
1013 const struct macsec_ops *ops = vlan_get_macsec_ops(ctx); in vlan_macsec_get_rx_sc_stats() local
1015 if (!ops) in vlan_macsec_get_rx_sc_stats()
1018 return vlan_macsec_offload(ops->mdo_get_rx_sc_stats, ctx); in vlan_macsec_get_rx_sc_stats()
1023 const struct macsec_ops *ops = vlan_get_macsec_ops(ctx); in vlan_macsec_get_rx_sa_stats() local
1025 if (!ops) in vlan_macsec_get_rx_sa_stats()
1028 return vlan_macsec_offload(ops->mdo_get_rx_sa_stats, ctx); in vlan_macsec_get_rx_sa_stats()