Lines Matching refs:dcbnl_ops

222 	if (!netdev->dcbnl_ops->getstate)  in dcbnl_getstate()
226 netdev->dcbnl_ops->getstate(netdev)); in dcbnl_getstate()
241 if (!netdev->dcbnl_ops->getpfccfg) in dcbnl_getpfccfg()
260 netdev->dcbnl_ops->getpfccfg(netdev, i - DCB_PFC_UP_ATTR_0, in dcbnl_getpfccfg()
278 if (!netdev->dcbnl_ops->getpermhwaddr) in dcbnl_getperm_hwaddr()
282 netdev->dcbnl_ops->getpermhwaddr(netdev, perm_addr); in dcbnl_getperm_hwaddr()
299 if (!netdev->dcbnl_ops->getcap) in dcbnl_getcap()
318 if (!netdev->dcbnl_ops->getcap(netdev, i, &value)) { in dcbnl_getcap()
343 if (!netdev->dcbnl_ops->getnumtcs) in dcbnl_getnumtcs()
362 ret = netdev->dcbnl_ops->getnumtcs(netdev, i, &value); in dcbnl_getnumtcs()
388 if (!netdev->dcbnl_ops->setnumtcs) in dcbnl_setnumtcs()
402 ret = netdev->dcbnl_ops->setnumtcs(netdev, i, value); in dcbnl_setnumtcs()
413 if (!netdev->dcbnl_ops->getpfcstate) in dcbnl_getpfcstate()
417 netdev->dcbnl_ops->getpfcstate(netdev)); in dcbnl_getpfcstate()
428 if (!netdev->dcbnl_ops->setpfcstate) in dcbnl_setpfcstate()
433 netdev->dcbnl_ops->setpfcstate(netdev, value); in dcbnl_setpfcstate()
468 if (netdev->dcbnl_ops->getapp) { in dcbnl_getapp()
469 ret = netdev->dcbnl_ops->getapp(netdev, idtype, id); in dcbnl_getapp()
538 if (netdev->dcbnl_ops->setapp) { in dcbnl_setapp()
539 ret = netdev->dcbnl_ops->setapp(netdev, idtype, id, up); in dcbnl_setapp()
570 if (!netdev->dcbnl_ops->getpgtccfgtx || in __dcbnl_pg_getcfg()
571 !netdev->dcbnl_ops->getpgtccfgrx || in __dcbnl_pg_getcfg()
572 !netdev->dcbnl_ops->getpgbwgcfgtx || in __dcbnl_pg_getcfg()
573 !netdev->dcbnl_ops->getpgbwgcfgrx) in __dcbnl_pg_getcfg()
612 netdev->dcbnl_ops->getpgtccfgrx(netdev, in __dcbnl_pg_getcfg()
617 netdev->dcbnl_ops->getpgtccfgtx(netdev, in __dcbnl_pg_getcfg()
666 netdev->dcbnl_ops->getpgbwgcfgrx(netdev, in __dcbnl_pg_getcfg()
670 netdev->dcbnl_ops->getpgbwgcfgtx(netdev, in __dcbnl_pg_getcfg()
710 if (!netdev->dcbnl_ops->setstate) in dcbnl_setstate()
716 netdev->dcbnl_ops->setstate(netdev, value)); in dcbnl_setstate()
730 if (!netdev->dcbnl_ops->setpfccfg) in dcbnl_setpfccfg()
742 netdev->dcbnl_ops->setpfccfg(netdev, in dcbnl_setpfccfg()
757 if (!netdev->dcbnl_ops->setall) in dcbnl_setall()
761 netdev->dcbnl_ops->setall(netdev)); in dcbnl_setall()
783 if (!netdev->dcbnl_ops->setpgtccfgtx || in __dcbnl_pg_setcfg()
784 !netdev->dcbnl_ops->setpgtccfgrx || in __dcbnl_pg_setcfg()
785 !netdev->dcbnl_ops->setpgbwgcfgtx || in __dcbnl_pg_setcfg()
786 !netdev->dcbnl_ops->setpgbwgcfgrx) in __dcbnl_pg_setcfg()
825 netdev->dcbnl_ops->setpgtccfgrx(netdev, in __dcbnl_pg_setcfg()
830 netdev->dcbnl_ops->setpgtccfgtx(netdev, in __dcbnl_pg_setcfg()
845 netdev->dcbnl_ops->setpgbwgcfgrx(netdev, in __dcbnl_pg_setcfg()
849 netdev->dcbnl_ops->setpgbwgcfgtx(netdev, in __dcbnl_pg_setcfg()
883 if (!netdev->dcbnl_ops->getbcnrp || in dcbnl_bcn_getcfg()
884 !netdev->dcbnl_ops->getbcncfg) in dcbnl_bcn_getcfg()
903 netdev->dcbnl_ops->getbcnrp(netdev, i - DCB_BCN_ATTR_RP_0, in dcbnl_bcn_getcfg()
914 netdev->dcbnl_ops->getbcncfg(netdev, i, in dcbnl_bcn_getcfg()
942 if (!netdev->dcbnl_ops->setbcncfg || in dcbnl_bcn_setcfg()
943 !netdev->dcbnl_ops->setbcnrp) in dcbnl_bcn_setcfg()
955 netdev->dcbnl_ops->setbcnrp(netdev, in dcbnl_bcn_setcfg()
963 netdev->dcbnl_ops->setbcncfg(netdev, in dcbnl_bcn_setcfg()
976 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; in dcbnl_build_peer_app()
1032 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; in dcbnl_ieee_fill()
1125 if (netdev->dcbnl_ops->getdcbx) in dcbnl_ieee_fill()
1126 dcbx = netdev->dcbnl_ops->getdcbx(netdev); in dcbnl_ieee_fill()
1175 const struct dcbnl_rtnl_ops *ops = dev->dcbnl_ops; in dcbnl_cee_pg_fill()
1228 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; in dcbnl_cee_fill()
1299 if (netdev->dcbnl_ops->getdcbx) in dcbnl_cee_fill()
1300 dcbx = netdev->dcbnl_ops->getdcbx(netdev); in dcbnl_cee_fill()
1371 const struct dcbnl_rtnl_ops *ops = dev->dcbnl_ops; in dcbnl_notify()
1422 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; in dcbnl_ieee_set()
1511 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; in dcbnl_ieee_get()
1522 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; in dcbnl_ieee_del()
1567 if (!netdev->dcbnl_ops->getdcbx) in dcbnl_getdcbx()
1571 netdev->dcbnl_ops->getdcbx(netdev)); in dcbnl_getdcbx()
1579 if (!netdev->dcbnl_ops->setdcbx) in dcbnl_setdcbx()
1588 netdev->dcbnl_ops->setdcbx(netdev, value)); in dcbnl_setdcbx()
1599 if (!netdev->dcbnl_ops->getfeatcfg) in dcbnl_getfeatcfg()
1621 ret = netdev->dcbnl_ops->getfeatcfg(netdev, i, &value); in dcbnl_getfeatcfg()
1643 if (!netdev->dcbnl_ops->setfeatcfg) in dcbnl_setfeatcfg()
1661 ret = netdev->dcbnl_ops->setfeatcfg(netdev, i, value); in dcbnl_setfeatcfg()
1676 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; in dcbnl_cee_get()
1759 if (!netdev->dcbnl_ops) in dcb_doit()
1848 if (dev->dcbnl_ops->getdcbx) in dcb_setapp()
1849 event.dcbx = dev->dcbnl_ops->getdcbx(dev); in dcb_setapp()
1911 if (dev->dcbnl_ops->getdcbx) in dcb_ieee_setapp()
1912 event.dcbx = dev->dcbnl_ops->getdcbx(dev); in dcb_ieee_setapp()
1943 if (dev->dcbnl_ops->getdcbx) in dcb_ieee_delapp()
1944 event.dcbx = dev->dcbnl_ops->getdcbx(dev); in dcb_ieee_delapp()