DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] rte_eth_dev_set_link_up: is it ever required to be used after rte_eth_dev_start
@ 2021-02-24 14:08 John Sucaet
  0 siblings, 0 replies; only message in thread
From: John Sucaet @ 2021-02-24 14:08 UTC (permalink / raw)
  To: users

Hello all,

Looking at the api help for rte_eth_dev_set_link_up, it seems it is not 
required to call this function after rte_eth_dev_start. I see this 
confirmed in the fact that even not all pmds implement this function 
(e.g. virtio) and that some pmds call the link_up function in their 
start function.

However I am a bit confused by this example code:

https://doc.dpdk.org/api/examples_2ip_pipeline_2link_8c-example.html#a20

in which there is a call to rte_eth_dev_set_link_up after the start.

In what cases is it needed to call rte_eth_dev_set_link_up right after 
rte_eth_dev_set_link_up?

Thanks

John


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

only message in thread, other threads:[~2021-02-24 14:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-24 14:08 [dpdk-users] rte_eth_dev_set_link_up: is it ever required to be used after rte_eth_dev_start John Sucaet

DPDK usage discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ http://inbox.dpdk.org/users \
		users@dpdk.org
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git