All of lore.kernel.org
 help / color / mirror / Atom feed
* [dpdk-dev] examples/ethtool: issue in rte_ethtool_net_open()
@ 2022-03-28 12:09 Usman Tanveer
  0 siblings, 0 replies; only message in thread
From: Usman Tanveer @ 2022-03-28 12:09 UTC (permalink / raw)
  To: dev; +Cc: ivan.ilchenko, arybchenko, remy.horton

[-- Attachment #1: Type: text/plain, Size: 438 bytes --]

Hi,

I have a question from dpdk-ethtool.

*file: examples/ethtool/lib/rte_ethtool.c*











*intrte_ethtool_net_open(uint16_t port_id){ int ret; ret =
rte_eth_dev_stop(port_id); if (ret != 0) return ret; return
rte_eth_dev_start(port_id);}*

Does anyone know the purpose of calling rte_eth_dev_stop(port_id) before
calling the start function, it stops the port and then starts it again. Why
not just call rte_eth_dev_start(port_id)?

[-- Attachment #2: Type: text/html, Size: 601 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-28 12:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-28 12:09 [dpdk-dev] examples/ethtool: issue in rte_ethtool_net_open() Usman Tanveer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.