DPDK usage discussions
 help / color / mirror / Atom feed
* Does the mlx5 NIC support reloading
@ 2023-08-14  3:06 jinag
  2023-08-14  6:41 ` Matan Azrad
  0 siblings, 1 reply; 7+ messages in thread
From: jinag @ 2023-08-14  3:06 UTC (permalink / raw)
  To: users, matan, shahafs, viacheslavo

[-- 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 --]

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Does the mlx5 NIC support reloading
@ 2023-08-14  2:58 jinag
  0 siblings, 0 replies; 7+ messages in thread
From: jinag @ 2023-08-14  2:58 UTC (permalink / raw)
  To: users, matan, shahafs, viacheslavo

[-- Attachment #1: Type: text/plain, Size: 275 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


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-08-25  6:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-14  3:06 Does the mlx5 NIC support reloading jinag
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

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).