Lines Matching refs:netdev

1759 		  (rxq[qs].rspq.netdev  in sge_qinfo_show()
1760 ? rxq[qs].rspq.netdev->name in sge_qinfo_show()
1763 (rxq[qs].rspq.netdev in sge_qinfo_show()
1765 netdev_priv(rxq[qs].rspq.netdev))->port_id in sge_qinfo_show()
1916 (rxq[qs].rspq.netdev in sge_qstats_show()
1917 ? rxq[qs].rspq.netdev->name in sge_qstats_show()
2612 struct net_device *netdev; in cxgb4vf_pci_probe() local
2751 netdev = alloc_etherdev_mq(sizeof(struct port_info), in cxgb4vf_pci_probe()
2753 if (netdev == NULL) { in cxgb4vf_pci_probe()
2758 adapter->port[pidx] = netdev; in cxgb4vf_pci_probe()
2759 SET_NETDEV_DEV(netdev, &pdev->dev); in cxgb4vf_pci_probe()
2760 pi = netdev_priv(netdev); in cxgb4vf_pci_probe()
2771 netif_carrier_off(netdev); in cxgb4vf_pci_probe()
2772 netdev->irq = pdev->irq; in cxgb4vf_pci_probe()
2774 netdev->hw_features = NETIF_F_SG | TSO_FLAGS | in cxgb4vf_pci_probe()
2777 netdev->vlan_features = NETIF_F_SG | TSO_FLAGS | in cxgb4vf_pci_probe()
2780 netdev->features = netdev->hw_features | in cxgb4vf_pci_probe()
2783 netdev->features |= NETIF_F_HIGHDMA; in cxgb4vf_pci_probe()
2785 netdev->priv_flags |= IFF_UNICAST_FLT; in cxgb4vf_pci_probe()
2787 netdev->netdev_ops = &cxgb4vf_netdev_ops; in cxgb4vf_pci_probe()
2788 netdev->ethtool_ops = &cxgb4vf_ethtool_ops; in cxgb4vf_pci_probe()
2808 netdev = adapter->port[pidx]; in cxgb4vf_pci_probe()
2809 if (netdev == NULL) in cxgb4vf_pci_probe()
2812 err = register_netdev(netdev); in cxgb4vf_pci_probe()
2815 " skipping\n", netdev->name); in cxgb4vf_pci_probe()
2895 netdev = adapter->port[pidx]; in cxgb4vf_pci_probe()
2896 if (netdev == NULL) in cxgb4vf_pci_probe()
2898 pi = netdev_priv(netdev); in cxgb4vf_pci_probe()
2901 unregister_netdev(netdev); in cxgb4vf_pci_probe()
2902 free_netdev(netdev); in cxgb4vf_pci_probe()
2969 struct net_device *netdev = adapter->port[pidx]; in cxgb4vf_pci_remove() local
2972 if (netdev == NULL) in cxgb4vf_pci_remove()
2975 pi = netdev_priv(netdev); in cxgb4vf_pci_remove()
2977 free_netdev(netdev); in cxgb4vf_pci_remove()