Lines Matching refs:dcbnl_ops

244 	/* if (!tb[DCB_ATTR_STATE] || !netdev->dcbnl_ops->getstate) */
245 if (!netdev->dcbnl_ops->getstate)
249 netdev->dcbnl_ops->getstate(netdev));
264 if (!netdev->dcbnl_ops->getpfccfg)
284 netdev->dcbnl_ops->getpfccfg(netdev, i - DCB_PFC_UP_ATTR_0,
302 if (!netdev->dcbnl_ops->getpermhwaddr)
306 netdev->dcbnl_ops->getpermhwaddr(netdev, perm_addr);
323 if (!netdev->dcbnl_ops->getcap)
343 if (!netdev->dcbnl_ops->getcap(netdev, i, &value)) {
368 if (!netdev->dcbnl_ops->getnumtcs)
388 ret = netdev->dcbnl_ops->getnumtcs(netdev, i, &value);
414 if (!netdev->dcbnl_ops->setnumtcs)
429 ret = netdev->dcbnl_ops->setnumtcs(netdev, i, value);
440 if (!netdev->dcbnl_ops->getpfcstate)
444 netdev->dcbnl_ops->getpfcstate(netdev));
455 if (!netdev->dcbnl_ops->setpfcstate)
460 netdev->dcbnl_ops->setpfcstate(netdev, value);
496 if (netdev->dcbnl_ops->getapp) {
497 ret = netdev->dcbnl_ops->getapp(netdev, idtype, id);
567 if (netdev->dcbnl_ops->setapp) {
568 ret = netdev->dcbnl_ops->setapp(netdev, idtype, id, up);
599 if (!netdev->dcbnl_ops->getpgtccfgtx ||
600 !netdev->dcbnl_ops->getpgtccfgrx ||
601 !netdev->dcbnl_ops->getpgbwgcfgtx ||
602 !netdev->dcbnl_ops->getpgbwgcfgrx)
643 netdev->dcbnl_ops->getpgtccfgrx(netdev,
648 netdev->dcbnl_ops->getpgtccfgtx(netdev,
697 netdev->dcbnl_ops->getpgbwgcfgrx(netdev,
701 netdev->dcbnl_ops->getpgbwgcfgtx(netdev,
741 if (!netdev->dcbnl_ops->setstate)
747 netdev->dcbnl_ops->setstate(netdev, value));
761 if (!netdev->dcbnl_ops->setpfccfg)
774 netdev->dcbnl_ops->setpfccfg(netdev,
789 if (!netdev->dcbnl_ops->setall)
793 netdev->dcbnl_ops->setall(netdev));
815 if (!netdev->dcbnl_ops->setpgtccfgtx ||
816 !netdev->dcbnl_ops->setpgtccfgrx ||
817 !netdev->dcbnl_ops->setpgbwgcfgtx ||
818 !netdev->dcbnl_ops->setpgbwgcfgrx)
860 netdev->dcbnl_ops->setpgtccfgrx(netdev,
865 netdev->dcbnl_ops->setpgtccfgtx(netdev,
880 netdev->dcbnl_ops->setpgbwgcfgrx(netdev,
884 netdev->dcbnl_ops->setpgbwgcfgtx(netdev,
918 if (!netdev->dcbnl_ops->getbcnrp ||
919 !netdev->dcbnl_ops->getbcncfg)
939 netdev->dcbnl_ops->getbcnrp(netdev, i - DCB_BCN_ATTR_RP_0,
950 netdev->dcbnl_ops->getbcncfg(netdev, i,
978 if (!netdev->dcbnl_ops->setbcncfg ||
979 !netdev->dcbnl_ops->setbcnrp)
992 netdev->dcbnl_ops->setbcnrp(netdev,
1000 netdev->dcbnl_ops->setbcncfg(netdev,
1013 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops;
1066 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops;
1141 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops;
1237 if (netdev->dcbnl_ops->getdcbx)
1238 dcbx = netdev->dcbnl_ops->getdcbx(netdev);
1314 const struct dcbnl_rtnl_ops *ops = dev->dcbnl_ops;
1367 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops;
1439 if (netdev->dcbnl_ops->getdcbx)
1440 dcbx = netdev->dcbnl_ops->getdcbx(netdev);
1512 const struct dcbnl_rtnl_ops *ops = dev->dcbnl_ops;
1563 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops;
1699 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops;
1710 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops;
1753 if (!netdev->dcbnl_ops->getdcbx)
1757 netdev->dcbnl_ops->getdcbx(netdev));
1765 if (!netdev->dcbnl_ops->setdcbx)
1774 netdev->dcbnl_ops->setdcbx(netdev, value));
1785 if (!netdev->dcbnl_ops->getfeatcfg)
1808 ret = netdev->dcbnl_ops->getfeatcfg(netdev, i, &value);
1830 if (!netdev->dcbnl_ops->setfeatcfg)
1849 ret = netdev->dcbnl_ops->setfeatcfg(netdev, i, value);
1864 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops;
1949 if (!netdev->dcbnl_ops)
2059 if (dev->dcbnl_ops->getdcbx)
2060 event.dcbx = dev->dcbnl_ops->getdcbx(dev);
2183 if (dev->dcbnl_ops->getdcbx)
2184 event.dcbx = dev->dcbnl_ops->getdcbx(dev);
2217 if (dev->dcbnl_ops->getdcbx)
2218 event.dcbx = dev->dcbnl_ops->getdcbx(dev);
2396 if (!dev->dcbnl_ops)