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

Function bnxt_stop_rxtx

dpdk/drivers/net/bnxt/bnxt_cpr.c:413–426  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

411}
412
413void bnxt_stop_rxtx(struct rte_eth_dev *eth_dev)
414{
415 eth_dev->rx_pkt_burst = rte_eth_pkt_burst_dummy;
416 eth_dev->tx_pkt_burst = rte_eth_pkt_burst_dummy;
417
418 rte_eth_fp_ops[eth_dev->data->port_id].rx_pkt_burst =
419 eth_dev->rx_pkt_burst;
420 rte_eth_fp_ops[eth_dev->data->port_id].tx_pkt_burst =
421 eth_dev->tx_pkt_burst;
422 rte_mb();
423
424 /* Allow time for threads to exit the real burst functions. */
425 rte_delay_ms(100);
426}

Callers 4

bnxt_handle_async_eventFunction · 0.85
bnxt_dev_stopFunction · 0.85
bnxt_check_fw_healthFunction · 0.85
bnxt_rep_dev_stop_opFunction · 0.85

Calls 1

rte_delay_msFunction · 0.85

Tested by

no test coverage detected