dcbnl_ops 343 drivers/net/ethernet/amd/xgbe/xgbe-main.c netdev->dcbnl_ops = xgbe_get_dcbnl_ops(); dcbnl_ops 13374 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c dev->dcbnl_ops = &bnx2x_dcbnl_ops; dcbnl_ops 714 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c static const struct dcbnl_rtnl_ops dcbnl_ops = { dcbnl_ops 737 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c bp->dev->dcbnl_ops = &dcbnl_ops; dcbnl_ops 5905 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c netdev->dcbnl_ops = &cxgb4_dcb_ops; dcbnl_ops 101 drivers/net/ethernet/hisilicon/hns3/hns3_dcbnl.c dev->dcbnl_ops = &hns3_dcbnl_ops; dcbnl_ops 152 drivers/net/ethernet/intel/fm10k/fm10k_dcbnl.c dev->dcbnl_ops = &fm10k_dcbnl_ops; dcbnl_ops 131 drivers/net/ethernet/intel/i40e/i40e_dcb_nl.c static const struct dcbnl_rtnl_ops dcbnl_ops = { dcbnl_ops 293 drivers/net/ethernet/intel/i40e/i40e_dcb_nl.c dev->dcbnl_ops = &dcbnl_ops; dcbnl_ops 10979 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c netdev->dcbnl_ops = &ixgbe_dcbnl_ops; dcbnl_ops 3334 drivers/net/ethernet/mellanox/mlx4/en_netdev.c dev->dcbnl_ops = &mlx4_en_dcbnl_ops; dcbnl_ops 3337 drivers/net/ethernet/mellanox/mlx4/en_netdev.c dev->dcbnl_ops = &mlx4_en_dcbnl_pfc_ops; dcbnl_ops 4884 drivers/net/ethernet/mellanox/mlx5/core/en_main.c netdev->dcbnl_ops = &mlx5e_dcbnl_ops; dcbnl_ops 1459 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c netdev->dcbnl_ops = &mlx5e_dcbnl_ops; dcbnl_ops 706 drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c mlxsw_sp_port->dev->dcbnl_ops = &mlxsw_sp_dcbnl_ops; dcbnl_ops 348 drivers/net/ethernet/qlogic/qede/qede_dcbnl.c dev->dcbnl_ops = &qede_dcbnl_ops; dcbnl_ops 245 drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c dcb->adapter->netdev->dcbnl_ops = &qlcnic_dcbnl_ops; dcbnl_ops 738 drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c if (idx == QLC_DCB_OPER_IDX && adapter->netdev->dcbnl_ops) dcbnl_ops 1644 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c return ndev->dcbnl_ops->getstate(ndev); dcbnl_ops 1663 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c rv = (int)ndev->dcbnl_ops->getcap(ndev, DCB_CAP_ATTR_DCBX, &caps); dcbnl_ops 2158 drivers/scsi/fcoe/fcoe.c if (netdev && netdev->dcbnl_ops && netdev->dcbnl_ops->getdcbx) { dcbnl_ops 2159 drivers/scsi/fcoe/fcoe.c dcbx = netdev->dcbnl_ops->getdcbx(netdev); dcbnl_ops 852 drivers/target/iscsi/cxgbit/cxgbit_cm.c return ndev->dcbnl_ops->getstate(ndev); dcbnl_ops 872 drivers/target/iscsi/cxgbit/cxgbit_cm.c ret = (int)ndev->dcbnl_ops->getcap(ndev, DCB_CAP_ATTR_DCBX, &caps); dcbnl_ops 2049 include/linux/netdevice.h const struct dcbnl_rtnl_ops *dcbnl_ops; dcbnl_ops 211 net/dcb/dcbnl.c if (!netdev->dcbnl_ops->getstate) dcbnl_ops 215 net/dcb/dcbnl.c netdev->dcbnl_ops->getstate(netdev)); dcbnl_ops 230 net/dcb/dcbnl.c if (!netdev->dcbnl_ops->getpfccfg) dcbnl_ops 250 net/dcb/dcbnl.c netdev->dcbnl_ops->getpfccfg(netdev, i - DCB_PFC_UP_ATTR_0, dcbnl_ops 268 net/dcb/dcbnl.c if (!netdev->dcbnl_ops->getpermhwaddr) dcbnl_ops 272 net/dcb/dcbnl.c netdev->dcbnl_ops->getpermhwaddr(netdev, perm_addr); dcbnl_ops 289 net/dcb/dcbnl.c if (!netdev->dcbnl_ops->getcap) dcbnl_ops 309 net/dcb/dcbnl.c if (!netdev->dcbnl_ops->getcap(netdev, i, &value)) { dcbnl_ops 334 net/dcb/dcbnl.c if (!netdev->dcbnl_ops->getnumtcs) dcbnl_ops 354 net/dcb/dcbnl.c ret = netdev->dcbnl_ops->getnumtcs(netdev, i, &value); dcbnl_ops 380 net/dcb/dcbnl.c if (!netdev->dcbnl_ops->setnumtcs) dcbnl_ops 395 net/dcb/dcbnl.c ret = netdev->dcbnl_ops->setnumtcs(netdev, i, value); dcbnl_ops 406 net/dcb/dcbnl.c if (!netdev->dcbnl_ops->getpfcstate) dcbnl_ops 410 net/dcb/dcbnl.c netdev->dcbnl_ops->getpfcstate(netdev)); dcbnl_ops 421 net/dcb/dcbnl.c if (!netdev->dcbnl_ops->setpfcstate) dcbnl_ops 426 net/dcb/dcbnl.c netdev->dcbnl_ops->setpfcstate(netdev, value); dcbnl_ops 462 net/dcb/dcbnl.c if (netdev->dcbnl_ops->getapp) { dcbnl_ops 463 net/dcb/dcbnl.c ret = netdev->dcbnl_ops->getapp(netdev, idtype, id); dcbnl_ops 533 net/dcb/dcbnl.c if (netdev->dcbnl_ops->setapp) { dcbnl_ops 534 net/dcb/dcbnl.c ret = netdev->dcbnl_ops->setapp(netdev, idtype, id, up); dcbnl_ops 565 net/dcb/dcbnl.c if (!netdev->dcbnl_ops->getpgtccfgtx || dcbnl_ops 566 net/dcb/dcbnl.c !netdev->dcbnl_ops->getpgtccfgrx || dcbnl_ops 567 net/dcb/dcbnl.c !netdev->dcbnl_ops->getpgbwgcfgtx || dcbnl_ops 568 net/dcb/dcbnl.c !netdev->dcbnl_ops->getpgbwgcfgrx) dcbnl_ops 609 net/dcb/dcbnl.c netdev->dcbnl_ops->getpgtccfgrx(netdev, dcbnl_ops 614 net/dcb/dcbnl.c netdev->dcbnl_ops->getpgtccfgtx(netdev, dcbnl_ops 663 net/dcb/dcbnl.c netdev->dcbnl_ops->getpgbwgcfgrx(netdev, dcbnl_ops 667 net/dcb/dcbnl.c netdev->dcbnl_ops->getpgbwgcfgtx(netdev, dcbnl_ops 707 net/dcb/dcbnl.c if (!netdev->dcbnl_ops->setstate) dcbnl_ops 713 net/dcb/dcbnl.c netdev->dcbnl_ops->setstate(netdev, value)); dcbnl_ops 727 net/dcb/dcbnl.c if (!netdev->dcbnl_ops->setpfccfg) dcbnl_ops 740 net/dcb/dcbnl.c netdev->dcbnl_ops->setpfccfg(netdev, dcbnl_ops 755 net/dcb/dcbnl.c if (!netdev->dcbnl_ops->setall) dcbnl_ops 759 net/dcb/dcbnl.c netdev->dcbnl_ops->setall(netdev)); dcbnl_ops 781 net/dcb/dcbnl.c if (!netdev->dcbnl_ops->setpgtccfgtx || dcbnl_ops 782 net/dcb/dcbnl.c !netdev->dcbnl_ops->setpgtccfgrx || dcbnl_ops 783 net/dcb/dcbnl.c !netdev->dcbnl_ops->setpgbwgcfgtx || dcbnl_ops 784 net/dcb/dcbnl.c !netdev->dcbnl_ops->setpgbwgcfgrx) dcbnl_ops 826 net/dcb/dcbnl.c netdev->dcbnl_ops->setpgtccfgrx(netdev, dcbnl_ops 831 net/dcb/dcbnl.c netdev->dcbnl_ops->setpgtccfgtx(netdev, dcbnl_ops 846 net/dcb/dcbnl.c netdev->dcbnl_ops->setpgbwgcfgrx(netdev, dcbnl_ops 850 net/dcb/dcbnl.c netdev->dcbnl_ops->setpgbwgcfgtx(netdev, dcbnl_ops 884 net/dcb/dcbnl.c if (!netdev->dcbnl_ops->getbcnrp || dcbnl_ops 885 net/dcb/dcbnl.c !netdev->dcbnl_ops->getbcncfg) dcbnl_ops 905 net/dcb/dcbnl.c netdev->dcbnl_ops->getbcnrp(netdev, i - DCB_BCN_ATTR_RP_0, dcbnl_ops 916 net/dcb/dcbnl.c netdev->dcbnl_ops->getbcncfg(netdev, i, dcbnl_ops 944 net/dcb/dcbnl.c if (!netdev->dcbnl_ops->setbcncfg || dcbnl_ops 945 net/dcb/dcbnl.c !netdev->dcbnl_ops->setbcnrp) dcbnl_ops 958 net/dcb/dcbnl.c netdev->dcbnl_ops->setbcnrp(netdev, dcbnl_ops 966 net/dcb/dcbnl.c netdev->dcbnl_ops->setbcncfg(netdev, dcbnl_ops 979 net/dcb/dcbnl.c const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; dcbnl_ops 1035 net/dcb/dcbnl.c const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; dcbnl_ops 1128 net/dcb/dcbnl.c if (netdev->dcbnl_ops->getdcbx) dcbnl_ops 1129 net/dcb/dcbnl.c dcbx = netdev->dcbnl_ops->getdcbx(netdev); dcbnl_ops 1178 net/dcb/dcbnl.c const struct dcbnl_rtnl_ops *ops = dev->dcbnl_ops; dcbnl_ops 1231 net/dcb/dcbnl.c const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; dcbnl_ops 1303 net/dcb/dcbnl.c if (netdev->dcbnl_ops->getdcbx) dcbnl_ops 1304 net/dcb/dcbnl.c dcbx = netdev->dcbnl_ops->getdcbx(netdev); dcbnl_ops 1376 net/dcb/dcbnl.c const struct dcbnl_rtnl_ops *ops = dev->dcbnl_ops; dcbnl_ops 1427 net/dcb/dcbnl.c const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; dcbnl_ops 1517 net/dcb/dcbnl.c const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; dcbnl_ops 1528 net/dcb/dcbnl.c const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; dcbnl_ops 1574 net/dcb/dcbnl.c if (!netdev->dcbnl_ops->getdcbx) dcbnl_ops 1578 net/dcb/dcbnl.c netdev->dcbnl_ops->getdcbx(netdev)); dcbnl_ops 1586 net/dcb/dcbnl.c if (!netdev->dcbnl_ops->setdcbx) dcbnl_ops 1595 net/dcb/dcbnl.c netdev->dcbnl_ops->setdcbx(netdev, value)); dcbnl_ops 1606 net/dcb/dcbnl.c if (!netdev->dcbnl_ops->getfeatcfg) dcbnl_ops 1629 net/dcb/dcbnl.c ret = netdev->dcbnl_ops->getfeatcfg(netdev, i, &value); dcbnl_ops 1651 net/dcb/dcbnl.c if (!netdev->dcbnl_ops->setfeatcfg) dcbnl_ops 1670 net/dcb/dcbnl.c ret = netdev->dcbnl_ops->setfeatcfg(netdev, i, value); dcbnl_ops 1685 net/dcb/dcbnl.c const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; dcbnl_ops 1768 net/dcb/dcbnl.c if (!netdev->dcbnl_ops) dcbnl_ops 1857 net/dcb/dcbnl.c if (dev->dcbnl_ops->getdcbx) dcbnl_ops 1858 net/dcb/dcbnl.c event.dcbx = dev->dcbnl_ops->getdcbx(dev); dcbnl_ops 1920 net/dcb/dcbnl.c if (dev->dcbnl_ops->getdcbx) dcbnl_ops 1921 net/dcb/dcbnl.c event.dcbx = dev->dcbnl_ops->getdcbx(dev); dcbnl_ops 1952 net/dcb/dcbnl.c if (dev->dcbnl_ops->getdcbx) dcbnl_ops 1953 net/dcb/dcbnl.c event.dcbx = dev->dcbnl_ops->getdcbx(dev);