[dpdk-dev] net/ark: Add missing call to probe_finish for first device
Checks
Commit Message
Fix on commit fbe90cdd776c ("ethdev: add probing finish function")
Signed-off-by: Ed Czeck <ed.czeck@atomicrules.com>
---
drivers/net/ark/ark_ethdev.c | 1 +
1 file changed, 1 insertion(+)
Comments
> On May 21, 2018, at 3:29 PM, Ed Czeck <ed.czeck@atomicrules.com> wrote:
>
> Fix on commit fbe90cdd776c ("ethdev: add probing finish function")
>
> Signed-off-by: Ed Czeck <ed.czeck@atomicrules.com>
> ---
> drivers/net/ark/ark_ethdev.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/net/ark/ark_ethdev.c b/drivers/net/ark/ark_ethdev.c
> index 62e4fd3..834d8a9 100644
> --- a/drivers/net/ark/ark_ethdev.c
> +++ b/drivers/net/ark/ark_ethdev.c
> @@ -390,6 +390,7 @@ eth_ark_dev_init(struct rte_eth_dev *dev)
> if (p == 0) {
> /* First port is already allocated by DPDK */
> eth_dev = ark->eth_dev;
> + rte_eth_dev_probing_finish(eth_dev);
> continue;
> }
>
> --
> 2.7.4
>
Acked-by: John Miller <john.miller@atomicrules.com <mailto:john.miller@atomicrules.com>>
21/05/2018 21:42, john miller:
>
> > On May 21, 2018, at 3:29 PM, Ed Czeck <ed.czeck@atomicrules.com> wrote:
> >
> > Fix on commit fbe90cdd776c ("ethdev: add probing finish function")
Fixes: fbe90cdd776c ("ethdev: add probing finish function")
> > Signed-off-by: Ed Czeck <ed.czeck@atomicrules.com>
>
> Acked-by: John Miller <john.miller@atomicrules.com <mailto:john.miller@atomicrules.com>>
Reviewed-by: Thomas Monjalon <thomas@monjalon.net>
Suggested title: fix call to probing finish function for first port
On 5/21/2018 10:26 PM, Thomas Monjalon wrote:
> 21/05/2018 21:42, john miller:
>>
>>> On May 21, 2018, at 3:29 PM, Ed Czeck <ed.czeck@atomicrules.com> wrote:
>>>
>>> Fix on commit fbe90cdd776c ("ethdev: add probing finish function")
>
> Fixes: fbe90cdd776c ("ethdev: add probing finish function")
>
>>> Signed-off-by: Ed Czeck <ed.czeck@atomicrules.com>
>>
>> Acked-by: John Miller <john.miller@atomicrules.com <mailto:john.miller@atomicrules.com>>
>
> Reviewed-by: Thomas Monjalon <thomas@monjalon.net>
>
> Suggested title: fix call to probing finish function for first port
Applied to dpdk-next-net/master, thanks.
(suggested title applied)
@@ -390,6 +390,7 @@ eth_ark_dev_init(struct rte_eth_dev *dev)
if (p == 0) {
/* First port is already allocated by DPDK */
eth_dev = ark->eth_dev;
+ rte_eth_dev_probing_finish(eth_dev);
continue;
}