* [dpdk-dev] [PATCH] net/mlx5: fix SubFunction representor probe in isolate mode
@ 2021-07-07 11:53 Xueming Li
2021-07-22 14:36 ` Slava Ovsiienko
0 siblings, 1 reply; 3+ messages in thread
From: Xueming Li @ 2021-07-07 11:53 UTC (permalink / raw)
Cc: dev, xuemingl, stable, Matan Azrad, Shahaf Shuler, Viacheslav Ovsiienko
Representor failed to probe in isolated mode due to callback of
retrieving representor info missing. This patch adds it back.
Fixes: cb95feefdd03 ("net/mlx5: support sub-function representor")
Cc: stable@dpdk.org
Signed-off-by: Xueming Li <xuemingl@nvidia.com>
---
drivers/net/mlx5/mlx5.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c
index abd573e8ed..bf0e7401a5 100644
--- a/drivers/net/mlx5/mlx5.c
+++ b/drivers/net/mlx5/mlx5.c
@@ -1720,6 +1720,7 @@ const struct eth_dev_ops mlx5_dev_sec_ops = {
.xstats_get_names = mlx5_xstats_get_names,
.fw_version_get = mlx5_fw_version_get,
.dev_infos_get = mlx5_dev_infos_get,
+ .representor_info_get = mlx5_representor_info_get,
.read_clock = mlx5_txpp_read_clock,
.rx_queue_start = mlx5_rx_queue_start,
.rx_queue_stop = mlx5_rx_queue_stop,
@@ -1753,6 +1754,7 @@ const struct eth_dev_ops mlx5_dev_ops_isolate = {
.xstats_get_names = mlx5_xstats_get_names,
.fw_version_get = mlx5_fw_version_get,
.dev_infos_get = mlx5_dev_infos_get,
+ .representor_info_get = mlx5_representor_info_get,
.read_clock = mlx5_txpp_read_clock,
.dev_supported_ptypes_get = mlx5_dev_supported_ptypes_get,
.vlan_filter_set = mlx5_vlan_filter_set,
--
2.25.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] [PATCH] net/mlx5: fix SubFunction representor probe in isolate mode
2021-07-07 11:53 [dpdk-dev] [PATCH] net/mlx5: fix SubFunction representor probe in isolate mode Xueming Li
@ 2021-07-22 14:36 ` Slava Ovsiienko
2021-07-22 14:50 ` Thomas Monjalon
0 siblings, 1 reply; 3+ messages in thread
From: Slava Ovsiienko @ 2021-07-22 14:36 UTC (permalink / raw)
To: Xueming(Steven) Li; +Cc: dev, stable, Matan Azrad, Shahaf Shuler
> -----Original Message-----
> From: Xueming(Steven) Li <xuemingl@nvidia.com>
> Sent: Wednesday, July 7, 2021 14:53
> Cc: dev@dpdk.org; Xueming(Steven) Li <xuemingl@nvidia.com>;
> stable@dpdk.org; Matan Azrad <matan@nvidia.com>; Shahaf Shuler
> <shahafs@nvidia.com>; Slava Ovsiienko <viacheslavo@nvidia.com>
> Subject: [PATCH] net/mlx5: fix SubFunction representor probe in isolate
> mode
>
> Representor failed to probe in isolated mode due to callback of retrieving
> representor info missing. This patch adds it back.
>
> Fixes: cb95feefdd03 ("net/mlx5: support sub-function representor")
> Cc: stable@dpdk.org
>
> Signed-off-by: Xueming Li <xuemingl@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] [PATCH] net/mlx5: fix SubFunction representor probe in isolate mode
2021-07-22 14:36 ` Slava Ovsiienko
@ 2021-07-22 14:50 ` Thomas Monjalon
0 siblings, 0 replies; 3+ messages in thread
From: Thomas Monjalon @ 2021-07-22 14:50 UTC (permalink / raw)
To: Xueming(Steven) Li
Cc: dev, stable, Matan Azrad, Shahaf Shuler, Slava Ovsiienko
> > Representor failed to probe in isolated mode due to callback of retrieving
> > representor info missing. This patch adds it back.
> >
> > Fixes: cb95feefdd03 ("net/mlx5: support sub-function representor")
> > Cc: stable@dpdk.org
> >
> > Signed-off-by: Xueming Li <xuemingl@nvidia.com>
> Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-07-22 14:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-07 11:53 [dpdk-dev] [PATCH] net/mlx5: fix SubFunction representor probe in isolate mode Xueming Li
2021-07-22 14:36 ` Slava Ovsiienko
2021-07-22 14:50 ` Thomas Monjalon
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).