Lines Matching refs:dcbnl_ops
211 if (!netdev->dcbnl_ops->getstate) in dcbnl_getstate()
215 netdev->dcbnl_ops->getstate(netdev)); in dcbnl_getstate()
230 if (!netdev->dcbnl_ops->getpfccfg) in dcbnl_getpfccfg()
250 netdev->dcbnl_ops->getpfccfg(netdev, i - DCB_PFC_UP_ATTR_0, in dcbnl_getpfccfg()
268 if (!netdev->dcbnl_ops->getpermhwaddr) in dcbnl_getperm_hwaddr()
272 netdev->dcbnl_ops->getpermhwaddr(netdev, perm_addr); in dcbnl_getperm_hwaddr()
289 if (!netdev->dcbnl_ops->getcap) in dcbnl_getcap()
309 if (!netdev->dcbnl_ops->getcap(netdev, i, &value)) { in dcbnl_getcap()
334 if (!netdev->dcbnl_ops->getnumtcs) in dcbnl_getnumtcs()
354 ret = netdev->dcbnl_ops->getnumtcs(netdev, i, &value); in dcbnl_getnumtcs()
380 if (!netdev->dcbnl_ops->setnumtcs) in dcbnl_setnumtcs()
395 ret = netdev->dcbnl_ops->setnumtcs(netdev, i, value); in dcbnl_setnumtcs()
406 if (!netdev->dcbnl_ops->getpfcstate) in dcbnl_getpfcstate()
410 netdev->dcbnl_ops->getpfcstate(netdev)); in dcbnl_getpfcstate()
421 if (!netdev->dcbnl_ops->setpfcstate) in dcbnl_setpfcstate()
426 netdev->dcbnl_ops->setpfcstate(netdev, value); in dcbnl_setpfcstate()
462 if (netdev->dcbnl_ops->getapp) { in dcbnl_getapp()
463 ret = netdev->dcbnl_ops->getapp(netdev, idtype, id); in dcbnl_getapp()
533 if (netdev->dcbnl_ops->setapp) { in dcbnl_setapp()
534 ret = netdev->dcbnl_ops->setapp(netdev, idtype, id, up); in dcbnl_setapp()
565 if (!netdev->dcbnl_ops->getpgtccfgtx || in __dcbnl_pg_getcfg()
566 !netdev->dcbnl_ops->getpgtccfgrx || in __dcbnl_pg_getcfg()
567 !netdev->dcbnl_ops->getpgbwgcfgtx || in __dcbnl_pg_getcfg()
568 !netdev->dcbnl_ops->getpgbwgcfgrx) in __dcbnl_pg_getcfg()
609 netdev->dcbnl_ops->getpgtccfgrx(netdev, in __dcbnl_pg_getcfg()
614 netdev->dcbnl_ops->getpgtccfgtx(netdev, in __dcbnl_pg_getcfg()
663 netdev->dcbnl_ops->getpgbwgcfgrx(netdev, in __dcbnl_pg_getcfg()
667 netdev->dcbnl_ops->getpgbwgcfgtx(netdev, in __dcbnl_pg_getcfg()
707 if (!netdev->dcbnl_ops->setstate) in dcbnl_setstate()
713 netdev->dcbnl_ops->setstate(netdev, value)); in dcbnl_setstate()
727 if (!netdev->dcbnl_ops->setpfccfg) in dcbnl_setpfccfg()
740 netdev->dcbnl_ops->setpfccfg(netdev, in dcbnl_setpfccfg()
755 if (!netdev->dcbnl_ops->setall) in dcbnl_setall()
759 netdev->dcbnl_ops->setall(netdev)); in dcbnl_setall()
781 if (!netdev->dcbnl_ops->setpgtccfgtx || in __dcbnl_pg_setcfg()
782 !netdev->dcbnl_ops->setpgtccfgrx || in __dcbnl_pg_setcfg()
783 !netdev->dcbnl_ops->setpgbwgcfgtx || in __dcbnl_pg_setcfg()
784 !netdev->dcbnl_ops->setpgbwgcfgrx) in __dcbnl_pg_setcfg()
826 netdev->dcbnl_ops->setpgtccfgrx(netdev, in __dcbnl_pg_setcfg()
831 netdev->dcbnl_ops->setpgtccfgtx(netdev, in __dcbnl_pg_setcfg()
846 netdev->dcbnl_ops->setpgbwgcfgrx(netdev, in __dcbnl_pg_setcfg()
850 netdev->dcbnl_ops->setpgbwgcfgtx(netdev, in __dcbnl_pg_setcfg()
884 if (!netdev->dcbnl_ops->getbcnrp || in dcbnl_bcn_getcfg()
885 !netdev->dcbnl_ops->getbcncfg) in dcbnl_bcn_getcfg()
905 netdev->dcbnl_ops->getbcnrp(netdev, i - DCB_BCN_ATTR_RP_0, in dcbnl_bcn_getcfg()
916 netdev->dcbnl_ops->getbcncfg(netdev, i, in dcbnl_bcn_getcfg()
944 if (!netdev->dcbnl_ops->setbcncfg || in dcbnl_bcn_setcfg()
945 !netdev->dcbnl_ops->setbcnrp) in dcbnl_bcn_setcfg()
958 netdev->dcbnl_ops->setbcnrp(netdev, in dcbnl_bcn_setcfg()
966 netdev->dcbnl_ops->setbcncfg(netdev, in dcbnl_bcn_setcfg()
979 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; in dcbnl_build_peer_app()
1035 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; in dcbnl_ieee_fill()
1128 if (netdev->dcbnl_ops->getdcbx) in dcbnl_ieee_fill()
1129 dcbx = netdev->dcbnl_ops->getdcbx(netdev); in dcbnl_ieee_fill()
1178 const struct dcbnl_rtnl_ops *ops = dev->dcbnl_ops; in dcbnl_cee_pg_fill()
1231 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; in dcbnl_cee_fill()
1303 if (netdev->dcbnl_ops->getdcbx) in dcbnl_cee_fill()
1304 dcbx = netdev->dcbnl_ops->getdcbx(netdev); in dcbnl_cee_fill()
1376 const struct dcbnl_rtnl_ops *ops = dev->dcbnl_ops; in dcbnl_notify()
1427 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; in dcbnl_ieee_set()
1525 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; in dcbnl_ieee_get()
1536 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; in dcbnl_ieee_del()
1582 if (!netdev->dcbnl_ops->getdcbx) in dcbnl_getdcbx()
1586 netdev->dcbnl_ops->getdcbx(netdev)); in dcbnl_getdcbx()
1594 if (!netdev->dcbnl_ops->setdcbx) in dcbnl_setdcbx()
1603 netdev->dcbnl_ops->setdcbx(netdev, value)); in dcbnl_setdcbx()
1614 if (!netdev->dcbnl_ops->getfeatcfg) in dcbnl_getfeatcfg()
1637 ret = netdev->dcbnl_ops->getfeatcfg(netdev, i, &value); in dcbnl_getfeatcfg()
1659 if (!netdev->dcbnl_ops->setfeatcfg) in dcbnl_setfeatcfg()
1678 ret = netdev->dcbnl_ops->setfeatcfg(netdev, i, value); in dcbnl_setfeatcfg()
1693 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; in dcbnl_cee_get()
1778 if (!netdev->dcbnl_ops) in dcb_doit()
1867 if (dev->dcbnl_ops->getdcbx) in dcb_setapp()
1868 event.dcbx = dev->dcbnl_ops->getdcbx(dev); in dcb_setapp()
1930 if (dev->dcbnl_ops->getdcbx) in dcb_ieee_setapp()
1931 event.dcbx = dev->dcbnl_ops->getdcbx(dev); in dcb_ieee_setapp()
1962 if (dev->dcbnl_ops->getdcbx) in dcb_ieee_delapp()
1963 event.dcbx = dev->dcbnl_ops->getdcbx(dev); in dcb_ieee_delapp()
2089 if (!dev->dcbnl_ops) in dcbnl_netdevice_event()