Lines Matching refs:octep_dev
67 ioq_vector->octep_dev = oct; in octep_alloc_ioq_vectors()
340 struct octep_device *oct = ioq_vector->octep_dev; in octep_ioq_intr_handler()
1391 struct octep_device *octep_dev = NULL; in octep_probe() local
1431 octep_dev = netdev_priv(netdev); in octep_probe()
1432 octep_dev->netdev = netdev; in octep_probe()
1433 octep_dev->pdev = pdev; in octep_probe()
1434 octep_dev->dev = &pdev->dev; in octep_probe()
1435 pci_set_drvdata(pdev, octep_dev); in octep_probe()
1437 err = octep_device_setup(octep_dev); in octep_probe()
1443 err = octep_setup_pfvf_mbox(octep_dev); in octep_probe()
1449 err = octep_ctrl_net_get_info(octep_dev, OCTEP_CTRL_NET_INVALID_VFID, in octep_probe()
1450 &octep_dev->conf->fw_info); in octep_probe()
1455 dev_info(&octep_dev->pdev->dev, "Heartbeat interval %u msecs Heartbeat miss count %u\n", in octep_probe()
1456 octep_dev->conf->fw_info.hb_interval, in octep_probe()
1457 octep_dev->conf->fw_info.hb_miss_count); in octep_probe()
1458 queue_delayed_work(octep_wq, &octep_dev->hb_task, in octep_probe()
1459 msecs_to_jiffies(octep_dev->conf->fw_info.hb_interval)); in octep_probe()
1466 if (OCTEP_TX_IP_CSUM(octep_dev->conf->fw_info.tx_ol_flags)) in octep_probe()
1469 if (OCTEP_RX_IP_CSUM(octep_dev->conf->fw_info.rx_ol_flags)) in octep_probe()
1472 max_rx_pktlen = octep_ctrl_net_get_mtu(octep_dev, OCTEP_CTRL_NET_INVALID_VFID); in octep_probe()
1474 dev_err(&octep_dev->pdev->dev, in octep_probe()
1483 if (OCTEP_TX_TSO(octep_dev->conf->fw_info.tx_ol_flags)) { in octep_probe()
1489 err = octep_ctrl_net_get_mac_addr(octep_dev, OCTEP_CTRL_NET_INVALID_VFID, in octep_probe()
1490 octep_dev->mac_addr); in octep_probe()
1495 eth_hw_addr_set(netdev, octep_dev->mac_addr); in octep_probe()
1506 octep_device_cleanup(octep_dev); in octep_probe()