Lines Matching refs:dcbnl_ops
228 if (!netdev->dcbnl_ops->getstate) in dcbnl_getstate()
232 netdev->dcbnl_ops->getstate(netdev)); in dcbnl_getstate()
247 if (!netdev->dcbnl_ops->getpfccfg) in dcbnl_getpfccfg()
267 netdev->dcbnl_ops->getpfccfg(netdev, i - DCB_PFC_UP_ATTR_0, in dcbnl_getpfccfg()
285 if (!netdev->dcbnl_ops->getpermhwaddr) in dcbnl_getperm_hwaddr()
289 netdev->dcbnl_ops->getpermhwaddr(netdev, perm_addr); in dcbnl_getperm_hwaddr()
306 if (!netdev->dcbnl_ops->getcap) in dcbnl_getcap()
325 if (!netdev->dcbnl_ops->getcap(netdev, i, &value)) { in dcbnl_getcap()
350 if (!netdev->dcbnl_ops->getnumtcs) in dcbnl_getnumtcs()
369 ret = netdev->dcbnl_ops->getnumtcs(netdev, i, &value); in dcbnl_getnumtcs()
395 if (!netdev->dcbnl_ops->setnumtcs) in dcbnl_setnumtcs()
409 ret = netdev->dcbnl_ops->setnumtcs(netdev, i, value); in dcbnl_setnumtcs()
420 if (!netdev->dcbnl_ops->getpfcstate) in dcbnl_getpfcstate()
424 netdev->dcbnl_ops->getpfcstate(netdev)); in dcbnl_getpfcstate()
435 if (!netdev->dcbnl_ops->setpfcstate) in dcbnl_setpfcstate()
440 netdev->dcbnl_ops->setpfcstate(netdev, value); in dcbnl_setpfcstate()
475 if (netdev->dcbnl_ops->getapp) { in dcbnl_getapp()
476 ret = netdev->dcbnl_ops->getapp(netdev, idtype, id); in dcbnl_getapp()
545 if (netdev->dcbnl_ops->setapp) { in dcbnl_setapp()
546 ret = netdev->dcbnl_ops->setapp(netdev, idtype, id, up); in dcbnl_setapp()
577 if (!netdev->dcbnl_ops->getpgtccfgtx || in __dcbnl_pg_getcfg()
578 !netdev->dcbnl_ops->getpgtccfgrx || in __dcbnl_pg_getcfg()
579 !netdev->dcbnl_ops->getpgbwgcfgtx || in __dcbnl_pg_getcfg()
580 !netdev->dcbnl_ops->getpgbwgcfgrx) in __dcbnl_pg_getcfg()
619 netdev->dcbnl_ops->getpgtccfgrx(netdev, in __dcbnl_pg_getcfg()
624 netdev->dcbnl_ops->getpgtccfgtx(netdev, in __dcbnl_pg_getcfg()
673 netdev->dcbnl_ops->getpgbwgcfgrx(netdev, in __dcbnl_pg_getcfg()
677 netdev->dcbnl_ops->getpgbwgcfgtx(netdev, in __dcbnl_pg_getcfg()
717 if (!netdev->dcbnl_ops->setstate) in dcbnl_setstate()
723 netdev->dcbnl_ops->setstate(netdev, value)); in dcbnl_setstate()
737 if (!netdev->dcbnl_ops->setpfccfg) in dcbnl_setpfccfg()
750 netdev->dcbnl_ops->setpfccfg(netdev, in dcbnl_setpfccfg()
765 if (!netdev->dcbnl_ops->setall) in dcbnl_setall()
769 netdev->dcbnl_ops->setall(netdev)); in dcbnl_setall()
791 if (!netdev->dcbnl_ops->setpgtccfgtx || in __dcbnl_pg_setcfg()
792 !netdev->dcbnl_ops->setpgtccfgrx || in __dcbnl_pg_setcfg()
793 !netdev->dcbnl_ops->setpgbwgcfgtx || in __dcbnl_pg_setcfg()
794 !netdev->dcbnl_ops->setpgbwgcfgrx) in __dcbnl_pg_setcfg()
833 netdev->dcbnl_ops->setpgtccfgrx(netdev, in __dcbnl_pg_setcfg()
838 netdev->dcbnl_ops->setpgtccfgtx(netdev, in __dcbnl_pg_setcfg()
853 netdev->dcbnl_ops->setpgbwgcfgrx(netdev, in __dcbnl_pg_setcfg()
857 netdev->dcbnl_ops->setpgbwgcfgtx(netdev, in __dcbnl_pg_setcfg()
891 if (!netdev->dcbnl_ops->getbcnrp || in dcbnl_bcn_getcfg()
892 !netdev->dcbnl_ops->getbcncfg) in dcbnl_bcn_getcfg()
911 netdev->dcbnl_ops->getbcnrp(netdev, i - DCB_BCN_ATTR_RP_0, in dcbnl_bcn_getcfg()
922 netdev->dcbnl_ops->getbcncfg(netdev, i, in dcbnl_bcn_getcfg()
950 if (!netdev->dcbnl_ops->setbcncfg || in dcbnl_bcn_setcfg()
951 !netdev->dcbnl_ops->setbcnrp) in dcbnl_bcn_setcfg()
964 netdev->dcbnl_ops->setbcnrp(netdev, in dcbnl_bcn_setcfg()
972 netdev->dcbnl_ops->setbcncfg(netdev, in dcbnl_bcn_setcfg()
985 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; in dcbnl_build_peer_app()
1040 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; in dcbnl_ieee_fill()
1123 if (netdev->dcbnl_ops->getdcbx) in dcbnl_ieee_fill()
1124 dcbx = netdev->dcbnl_ops->getdcbx(netdev); in dcbnl_ieee_fill()
1173 const struct dcbnl_rtnl_ops *ops = dev->dcbnl_ops; in dcbnl_cee_pg_fill()
1226 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; in dcbnl_cee_fill()
1297 if (netdev->dcbnl_ops->getdcbx) in dcbnl_cee_fill()
1298 dcbx = netdev->dcbnl_ops->getdcbx(netdev); in dcbnl_cee_fill()
1368 const struct dcbnl_rtnl_ops *ops = dev->dcbnl_ops; in dcbnl_notify()
1419 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; in dcbnl_ieee_set()
1492 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; in dcbnl_ieee_get()
1503 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; in dcbnl_ieee_del()
1548 if (!netdev->dcbnl_ops->getdcbx) in dcbnl_getdcbx()
1552 netdev->dcbnl_ops->getdcbx(netdev)); in dcbnl_getdcbx()
1560 if (!netdev->dcbnl_ops->setdcbx) in dcbnl_setdcbx()
1569 netdev->dcbnl_ops->setdcbx(netdev, value)); in dcbnl_setdcbx()
1580 if (!netdev->dcbnl_ops->getfeatcfg) in dcbnl_getfeatcfg()
1602 ret = netdev->dcbnl_ops->getfeatcfg(netdev, i, &value); in dcbnl_getfeatcfg()
1624 if (!netdev->dcbnl_ops->setfeatcfg) in dcbnl_setfeatcfg()
1642 ret = netdev->dcbnl_ops->setfeatcfg(netdev, i, value); in dcbnl_setfeatcfg()
1657 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; in dcbnl_cee_get()
1739 if (!netdev->dcbnl_ops) in dcb_doit()
1827 if (dev->dcbnl_ops->getdcbx) in dcb_setapp()
1828 event.dcbx = dev->dcbnl_ops->getdcbx(dev); in dcb_setapp()
1888 if (dev->dcbnl_ops->getdcbx) in dcb_ieee_setapp()
1889 event.dcbx = dev->dcbnl_ops->getdcbx(dev); in dcb_ieee_setapp()
1920 if (dev->dcbnl_ops->getdcbx) in dcb_ieee_delapp()
1921 event.dcbx = dev->dcbnl_ops->getdcbx(dev); in dcb_ieee_delapp()