Thread (8 messages) flat view 8 messages, 2 authors, 2021-01-25

Re: [dpdk-dev] [PATCH 1/4] net/mlx5: fix invalid multi-process ID

From: Raslan Darawsheh <hidden>
Date: 2021-01-25 08:31:55

Hi,
-----Original Message-----
From: Suanming Mou <redacted>
Sent: Sunday, January 24, 2021 1:02 PM
To: Slava Ovsiienko <redacted>; Matan Azrad
[off-list ref]
Cc: Raslan Darawsheh <redacted>; dev@dpdk.org
Subject: [PATCH 1/4] net/mlx5: fix invalid multi-process ID

The device port_id is used for inter-process communication and must
be the same both for primary and secondary process

This IPC port_id was configured with the invalid temporary value in
port spawn routine. This temporary value was used by the function
rte_eth_dev_get_port_by_name() to check whether the port exists.

This commit corrects the mp port_id with rte_eth_dev port_id.

Fixes: 2eb4d0107acc ("net/mlx5: refactor PCI probing on Linux")
Missing Cc: stable@dpdk.org
Will add during integration.
Signed-off-by: Suanming Mou <redacted>
Acked-by: Viacheslav Ovsiienko <redacted>
---

Kindest regards,
Raslan Darawsheh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help