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

Function dsw_close

dpdk/drivers/event/dsw/dsw_evdev.c:363–376  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

361}
362
363static int
364dsw_close(struct rte_eventdev *dev)
365{
366 struct dsw_evdev *dsw = dsw_pmd_priv(dev);
367 uint16_t port_id;
368
369 for (port_id = 0; port_id < dsw->num_ports; port_id++)
370 dsw_port_release(&dsw->ports[port_id]);
371
372 dsw->num_ports = 0;
373 dsw->num_queues = 0;
374
375 return 0;
376}
377
378static int
379dsw_eth_rx_adapter_caps_get(const struct rte_eventdev *dev __rte_unused,

Callers

nothing calls this directly

Calls 2

dsw_pmd_privFunction · 0.85
dsw_port_releaseFunction · 0.85

Tested by

no test coverage detected