MCPcopy Create free account
hub / github.com/F-Stack/f-stack / idpf_dev_stop

Function idpf_dev_stop

dpdk/drivers/net/idpf/idpf_ethdev.c:800–817  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

798}
799
800static int
801idpf_dev_stop(struct rte_eth_dev *dev)
802{
803 struct idpf_vport *vport = dev->data->dev_private;
804
805 if (dev->data->dev_started == 0)
806 return 0;
807
808 idpf_vc_vport_ena_dis(vport, false);
809
810 idpf_stop_queues(dev);
811
812 idpf_vport_irq_unmap_config(vport, dev->data->nb_rx_queues);
813
814 idpf_vc_vectors_dealloc(vport);
815
816 return 0;
817}
818
819static int
820idpf_dev_close(struct rte_eth_dev *dev)

Callers 1

idpf_dev_closeFunction · 0.85

Calls 4

idpf_vc_vport_ena_disFunction · 0.85
idpf_stop_queuesFunction · 0.85
idpf_vc_vectors_deallocFunction · 0.85

Tested by

no test coverage detected