Home
last modified time | relevance | path

Searched refs:pf_dev (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.15/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_vfr.c463 struct net_device *pf_dev = bp->dev; in bnxt_vf_rep_netdev_init() local
471 dev->hw_features = pf_dev->hw_features; in bnxt_vf_rep_netdev_init()
472 dev->gso_partial_features = pf_dev->gso_partial_features; in bnxt_vf_rep_netdev_init()
473 dev->vlan_features = pf_dev->vlan_features; in bnxt_vf_rep_netdev_init()
474 dev->hw_enc_features = pf_dev->hw_enc_features; in bnxt_vf_rep_netdev_init()
475 dev->features |= pf_dev->features; in bnxt_vf_rep_netdev_init()
/Linux-v5.15/drivers/vfio/pci/
Dvfio_pci_core.c416 struct vfio_device *pf_dev; in get_pf_vdev() local
421 pf_dev = vfio_device_get_from_dev(&physfn->dev); in get_pf_vdev()
422 if (!pf_dev) in get_pf_vdev()
426 vfio_device_put(pf_dev); in get_pf_vdev()
430 return container_of(pf_dev, struct vfio_pci_core_device, vdev); in get_pf_vdev()