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

Function nfp_netvf_stop

dpdk/drivers/net/nfp/nfp_ethdev_vf.c:133–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133static int
134nfp_netvf_stop(struct rte_eth_dev *dev)
135{
136 nfp_net_disable_queues(dev);
137
138 /* Clear queues */
139 nfp_net_stop_tx_queue(dev);
140
141 nfp_net_stop_rx_queue(dev);
142
143 return 0;
144}
145
146static int
147nfp_netvf_set_link_up(struct rte_eth_dev *dev __rte_unused)

Callers

nothing calls this directly

Calls 3

nfp_net_disable_queuesFunction · 0.85
nfp_net_stop_tx_queueFunction · 0.85
nfp_net_stop_rx_queueFunction · 0.85

Tested by

no test coverage detected