DPDK usage discussions
 help / color / mirror / Atom feed
From: jinag  <15720603159@163.com>
To: users@dpdk.org, matan@nvidia.com, shahafs@nvidia.com,
	viacheslavo@nvidia.com
Subject: Does the mlx5 NIC support reloading
Date: Mon, 14 Aug 2023 11:06:42 +0800 (CST)	[thread overview]
Message-ID: <752958ae.6cad.189f2029477.Coremail.15720603159@163.com> (raw)

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

Hi 
I am verifying the reload function of the mlx5 nic based on dpdk 19.11:
echo 1 > /sys/bus/pci/devices/$pci_address/remove
echo 1 > /sys/bus/pci/rescan
rte_bus_probe();  
rte_eth_dev_stop(); 
rte_eth_dev_start(); 
    net_mlx5: port 0 TX queue 0 CQ creation failure
    net_mlx5: port 0 TX queue allocation failed: cannot allocate memory
The nic cannot be reinitialized.


I am not sure if the above operation is correct. Could you please tell me if the mlx5 nic supports reloading(for example, the network card is down during normal  operation) and which dpdk functions need to be called.


Thanks!






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

             reply	other threads:[~2023-08-14 14:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-14  3:06 jinag [this message]
2023-08-14  6:41 ` Matan Azrad
2023-08-14 10:05   ` jinag
2023-08-14 10:25     ` Matan Azrad
2023-08-17  5:13   ` Slava Ovsiienko
2023-08-24  7:35     ` jinag
  -- strict thread matches above, loose matches on Subject: below --
2023-08-14  2:58 jinag

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=752958ae.6cad.189f2029477.Coremail.15720603159@163.com \
    --to=15720603159@163.com \
    --cc=matan@nvidia.com \
    --cc=shahafs@nvidia.com \
    --cc=users@dpdk.org \
    --cc=viacheslavo@nvidia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).