Lines Matching refs:dcbnl_ops
225 if (!netdev->dcbnl_ops->getstate) in dcbnl_getstate()
229 netdev->dcbnl_ops->getstate(netdev)); in dcbnl_getstate()
244 if (!netdev->dcbnl_ops->getpfccfg) in dcbnl_getpfccfg()
264 netdev->dcbnl_ops->getpfccfg(netdev, i - DCB_PFC_UP_ATTR_0, in dcbnl_getpfccfg()
282 if (!netdev->dcbnl_ops->getpermhwaddr) in dcbnl_getperm_hwaddr()
286 netdev->dcbnl_ops->getpermhwaddr(netdev, perm_addr); in dcbnl_getperm_hwaddr()
303 if (!netdev->dcbnl_ops->getcap) in dcbnl_getcap()
322 if (!netdev->dcbnl_ops->getcap(netdev, i, &value)) { in dcbnl_getcap()
347 if (!netdev->dcbnl_ops->getnumtcs) in dcbnl_getnumtcs()
366 ret = netdev->dcbnl_ops->getnumtcs(netdev, i, &value); in dcbnl_getnumtcs()
392 if (!netdev->dcbnl_ops->setnumtcs) in dcbnl_setnumtcs()
406 ret = netdev->dcbnl_ops->setnumtcs(netdev, i, value); in dcbnl_setnumtcs()
417 if (!netdev->dcbnl_ops->getpfcstate) in dcbnl_getpfcstate()
421 netdev->dcbnl_ops->getpfcstate(netdev)); in dcbnl_getpfcstate()
432 if (!netdev->dcbnl_ops->setpfcstate) in dcbnl_setpfcstate()
437 netdev->dcbnl_ops->setpfcstate(netdev, value); in dcbnl_setpfcstate()
472 if (netdev->dcbnl_ops->getapp) { in dcbnl_getapp()
473 ret = netdev->dcbnl_ops->getapp(netdev, idtype, id); in dcbnl_getapp()
542 if (netdev->dcbnl_ops->setapp) { in dcbnl_setapp()
543 ret = netdev->dcbnl_ops->setapp(netdev, idtype, id, up); in dcbnl_setapp()
574 if (!netdev->dcbnl_ops->getpgtccfgtx || in __dcbnl_pg_getcfg()
575 !netdev->dcbnl_ops->getpgtccfgrx || in __dcbnl_pg_getcfg()
576 !netdev->dcbnl_ops->getpgbwgcfgtx || in __dcbnl_pg_getcfg()
577 !netdev->dcbnl_ops->getpgbwgcfgrx) in __dcbnl_pg_getcfg()
616 netdev->dcbnl_ops->getpgtccfgrx(netdev, in __dcbnl_pg_getcfg()
621 netdev->dcbnl_ops->getpgtccfgtx(netdev, in __dcbnl_pg_getcfg()
670 netdev->dcbnl_ops->getpgbwgcfgrx(netdev, in __dcbnl_pg_getcfg()
674 netdev->dcbnl_ops->getpgbwgcfgtx(netdev, in __dcbnl_pg_getcfg()
714 if (!netdev->dcbnl_ops->setstate) in dcbnl_setstate()
720 netdev->dcbnl_ops->setstate(netdev, value)); in dcbnl_setstate()
734 if (!netdev->dcbnl_ops->setpfccfg) in dcbnl_setpfccfg()
747 netdev->dcbnl_ops->setpfccfg(netdev, in dcbnl_setpfccfg()
762 if (!netdev->dcbnl_ops->setall) in dcbnl_setall()
766 netdev->dcbnl_ops->setall(netdev)); in dcbnl_setall()
788 if (!netdev->dcbnl_ops->setpgtccfgtx || in __dcbnl_pg_setcfg()
789 !netdev->dcbnl_ops->setpgtccfgrx || in __dcbnl_pg_setcfg()
790 !netdev->dcbnl_ops->setpgbwgcfgtx || in __dcbnl_pg_setcfg()
791 !netdev->dcbnl_ops->setpgbwgcfgrx) in __dcbnl_pg_setcfg()
830 netdev->dcbnl_ops->setpgtccfgrx(netdev, in __dcbnl_pg_setcfg()
835 netdev->dcbnl_ops->setpgtccfgtx(netdev, in __dcbnl_pg_setcfg()
850 netdev->dcbnl_ops->setpgbwgcfgrx(netdev, in __dcbnl_pg_setcfg()
854 netdev->dcbnl_ops->setpgbwgcfgtx(netdev, in __dcbnl_pg_setcfg()
888 if (!netdev->dcbnl_ops->getbcnrp || in dcbnl_bcn_getcfg()
889 !netdev->dcbnl_ops->getbcncfg) in dcbnl_bcn_getcfg()
908 netdev->dcbnl_ops->getbcnrp(netdev, i - DCB_BCN_ATTR_RP_0, in dcbnl_bcn_getcfg()
919 netdev->dcbnl_ops->getbcncfg(netdev, i, in dcbnl_bcn_getcfg()
947 if (!netdev->dcbnl_ops->setbcncfg || in dcbnl_bcn_setcfg()
948 !netdev->dcbnl_ops->setbcnrp) in dcbnl_bcn_setcfg()
961 netdev->dcbnl_ops->setbcnrp(netdev, in dcbnl_bcn_setcfg()
969 netdev->dcbnl_ops->setbcncfg(netdev, in dcbnl_bcn_setcfg()
982 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; in dcbnl_build_peer_app()
1037 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; in dcbnl_ieee_fill()
1120 if (netdev->dcbnl_ops->getdcbx) in dcbnl_ieee_fill()
1121 dcbx = netdev->dcbnl_ops->getdcbx(netdev); in dcbnl_ieee_fill()
1170 const struct dcbnl_rtnl_ops *ops = dev->dcbnl_ops; in dcbnl_cee_pg_fill()
1223 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; in dcbnl_cee_fill()
1294 if (netdev->dcbnl_ops->getdcbx) in dcbnl_cee_fill()
1295 dcbx = netdev->dcbnl_ops->getdcbx(netdev); in dcbnl_cee_fill()
1365 const struct dcbnl_rtnl_ops *ops = dev->dcbnl_ops; in dcbnl_notify()
1416 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; in dcbnl_ieee_set()
1489 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; in dcbnl_ieee_get()
1500 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; in dcbnl_ieee_del()
1545 if (!netdev->dcbnl_ops->getdcbx) in dcbnl_getdcbx()
1549 netdev->dcbnl_ops->getdcbx(netdev)); in dcbnl_getdcbx()
1557 if (!netdev->dcbnl_ops->setdcbx) in dcbnl_setdcbx()
1566 netdev->dcbnl_ops->setdcbx(netdev, value)); in dcbnl_setdcbx()
1577 if (!netdev->dcbnl_ops->getfeatcfg) in dcbnl_getfeatcfg()
1599 ret = netdev->dcbnl_ops->getfeatcfg(netdev, i, &value); in dcbnl_getfeatcfg()
1621 if (!netdev->dcbnl_ops->setfeatcfg) in dcbnl_setfeatcfg()
1639 ret = netdev->dcbnl_ops->setfeatcfg(netdev, i, value); in dcbnl_setfeatcfg()
1654 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; in dcbnl_cee_get()
1736 if (!netdev->dcbnl_ops) in dcb_doit()
1824 if (dev->dcbnl_ops->getdcbx) in dcb_setapp()
1825 event.dcbx = dev->dcbnl_ops->getdcbx(dev); in dcb_setapp()
1885 if (dev->dcbnl_ops->getdcbx) in dcb_ieee_setapp()
1886 event.dcbx = dev->dcbnl_ops->getdcbx(dev); in dcb_ieee_setapp()
1917 if (dev->dcbnl_ops->getdcbx) in dcb_ieee_delapp()
1918 event.dcbx = dev->dcbnl_ops->getdcbx(dev); in dcb_ieee_delapp()