Lines Matching refs:dcbnl_ops

245 	if (!netdev->dcbnl_ops->getstate)  in dcbnl_getstate()
249 netdev->dcbnl_ops->getstate(netdev)); in dcbnl_getstate()
264 if (!netdev->dcbnl_ops->getpfccfg) in dcbnl_getpfccfg()
284 netdev->dcbnl_ops->getpfccfg(netdev, i - DCB_PFC_UP_ATTR_0, in dcbnl_getpfccfg()
302 if (!netdev->dcbnl_ops->getpermhwaddr) in dcbnl_getperm_hwaddr()
306 netdev->dcbnl_ops->getpermhwaddr(netdev, perm_addr); in dcbnl_getperm_hwaddr()
323 if (!netdev->dcbnl_ops->getcap) in dcbnl_getcap()
343 if (!netdev->dcbnl_ops->getcap(netdev, i, &value)) { in dcbnl_getcap()
368 if (!netdev->dcbnl_ops->getnumtcs) in dcbnl_getnumtcs()
388 ret = netdev->dcbnl_ops->getnumtcs(netdev, i, &value); in dcbnl_getnumtcs()
414 if (!netdev->dcbnl_ops->setnumtcs) in dcbnl_setnumtcs()
429 ret = netdev->dcbnl_ops->setnumtcs(netdev, i, value); in dcbnl_setnumtcs()
440 if (!netdev->dcbnl_ops->getpfcstate) in dcbnl_getpfcstate()
444 netdev->dcbnl_ops->getpfcstate(netdev)); in dcbnl_getpfcstate()
455 if (!netdev->dcbnl_ops->setpfcstate) in dcbnl_setpfcstate()
460 netdev->dcbnl_ops->setpfcstate(netdev, value); in dcbnl_setpfcstate()
496 if (netdev->dcbnl_ops->getapp) { in dcbnl_getapp()
497 ret = netdev->dcbnl_ops->getapp(netdev, idtype, id); in dcbnl_getapp()
567 if (netdev->dcbnl_ops->setapp) { in dcbnl_setapp()
568 ret = netdev->dcbnl_ops->setapp(netdev, idtype, id, up); in dcbnl_setapp()
599 if (!netdev->dcbnl_ops->getpgtccfgtx || in __dcbnl_pg_getcfg()
600 !netdev->dcbnl_ops->getpgtccfgrx || in __dcbnl_pg_getcfg()
601 !netdev->dcbnl_ops->getpgbwgcfgtx || in __dcbnl_pg_getcfg()
602 !netdev->dcbnl_ops->getpgbwgcfgrx) in __dcbnl_pg_getcfg()
643 netdev->dcbnl_ops->getpgtccfgrx(netdev, in __dcbnl_pg_getcfg()
648 netdev->dcbnl_ops->getpgtccfgtx(netdev, in __dcbnl_pg_getcfg()
697 netdev->dcbnl_ops->getpgbwgcfgrx(netdev, in __dcbnl_pg_getcfg()
701 netdev->dcbnl_ops->getpgbwgcfgtx(netdev, in __dcbnl_pg_getcfg()
741 if (!netdev->dcbnl_ops->setstate) in dcbnl_setstate()
747 netdev->dcbnl_ops->setstate(netdev, value)); in dcbnl_setstate()
761 if (!netdev->dcbnl_ops->setpfccfg) in dcbnl_setpfccfg()
774 netdev->dcbnl_ops->setpfccfg(netdev, in dcbnl_setpfccfg()
789 if (!netdev->dcbnl_ops->setall) in dcbnl_setall()
793 netdev->dcbnl_ops->setall(netdev)); in dcbnl_setall()
815 if (!netdev->dcbnl_ops->setpgtccfgtx || in __dcbnl_pg_setcfg()
816 !netdev->dcbnl_ops->setpgtccfgrx || in __dcbnl_pg_setcfg()
817 !netdev->dcbnl_ops->setpgbwgcfgtx || in __dcbnl_pg_setcfg()
818 !netdev->dcbnl_ops->setpgbwgcfgrx) in __dcbnl_pg_setcfg()
860 netdev->dcbnl_ops->setpgtccfgrx(netdev, in __dcbnl_pg_setcfg()
865 netdev->dcbnl_ops->setpgtccfgtx(netdev, in __dcbnl_pg_setcfg()
880 netdev->dcbnl_ops->setpgbwgcfgrx(netdev, in __dcbnl_pg_setcfg()
884 netdev->dcbnl_ops->setpgbwgcfgtx(netdev, in __dcbnl_pg_setcfg()
918 if (!netdev->dcbnl_ops->getbcnrp || in dcbnl_bcn_getcfg()
919 !netdev->dcbnl_ops->getbcncfg) in dcbnl_bcn_getcfg()
939 netdev->dcbnl_ops->getbcnrp(netdev, i - DCB_BCN_ATTR_RP_0, in dcbnl_bcn_getcfg()
950 netdev->dcbnl_ops->getbcncfg(netdev, i, in dcbnl_bcn_getcfg()
978 if (!netdev->dcbnl_ops->setbcncfg || in dcbnl_bcn_setcfg()
979 !netdev->dcbnl_ops->setbcnrp) in dcbnl_bcn_setcfg()
992 netdev->dcbnl_ops->setbcnrp(netdev, in dcbnl_bcn_setcfg()
1000 netdev->dcbnl_ops->setbcncfg(netdev, in dcbnl_bcn_setcfg()
1013 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; in dcbnl_build_peer_app()
1066 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; in dcbnl_getapptrust()
1141 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; in dcbnl_ieee_fill()
1237 if (netdev->dcbnl_ops->getdcbx) in dcbnl_ieee_fill()
1238 dcbx = netdev->dcbnl_ops->getdcbx(netdev); in dcbnl_ieee_fill()
1314 const struct dcbnl_rtnl_ops *ops = dev->dcbnl_ops; in dcbnl_cee_pg_fill()
1367 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; in dcbnl_cee_fill()
1439 if (netdev->dcbnl_ops->getdcbx) in dcbnl_cee_fill()
1440 dcbx = netdev->dcbnl_ops->getdcbx(netdev); in dcbnl_cee_fill()
1512 const struct dcbnl_rtnl_ops *ops = dev->dcbnl_ops; in dcbnl_notify()
1563 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; in dcbnl_ieee_set()
1699 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; in dcbnl_ieee_get()
1710 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; in dcbnl_ieee_del()
1753 if (!netdev->dcbnl_ops->getdcbx) in dcbnl_getdcbx()
1757 netdev->dcbnl_ops->getdcbx(netdev)); in dcbnl_getdcbx()
1765 if (!netdev->dcbnl_ops->setdcbx) in dcbnl_setdcbx()
1774 netdev->dcbnl_ops->setdcbx(netdev, value)); in dcbnl_setdcbx()
1785 if (!netdev->dcbnl_ops->getfeatcfg) in dcbnl_getfeatcfg()
1808 ret = netdev->dcbnl_ops->getfeatcfg(netdev, i, &value); in dcbnl_getfeatcfg()
1830 if (!netdev->dcbnl_ops->setfeatcfg) in dcbnl_setfeatcfg()
1849 ret = netdev->dcbnl_ops->setfeatcfg(netdev, i, value); in dcbnl_setfeatcfg()
1864 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; in dcbnl_cee_get()
1949 if (!netdev->dcbnl_ops) in dcb_doit()
2059 if (dev->dcbnl_ops->getdcbx) in dcb_setapp()
2060 event.dcbx = dev->dcbnl_ops->getdcbx(dev); in dcb_setapp()
2183 if (dev->dcbnl_ops->getdcbx) in dcb_ieee_setapp()
2184 event.dcbx = dev->dcbnl_ops->getdcbx(dev); in dcb_ieee_setapp()
2217 if (dev->dcbnl_ops->getdcbx) in dcb_ieee_delapp()
2218 event.dcbx = dev->dcbnl_ops->getdcbx(dev); in dcb_ieee_delapp()
2396 if (!dev->dcbnl_ops) in dcbnl_netdevice_event()