DPDK patches and discussions
 help / color / mirror / Atom feed
From: Amit Prakash Shukla <amitprakashs@marvell.com>
To: David Marchand <david.marchand@redhat.com>,
	"dev@dpdk.org" <dev@dpdk.org>
Cc: "thomas@monjalon.net" <thomas@monjalon.net>,
	"bruce.richardson@intel.com" <bruce.richardson@intel.com>,
	Jerin Jacob <jerinj@marvell.com>
Subject: RE: [EXTERNAL] [RFC 3/6] eventdev: do not include driver header in DMA adapter
Date: Wed, 27 Nov 2024 13:49:23 +0000	[thread overview]
Message-ID: <PH0PR18MB516767D26F3D41B84770730FC8282@PH0PR18MB5167.namprd18.prod.outlook.com> (raw)
In-Reply-To: <20241127112617.1331125-4-david.marchand@redhat.com>

> Subject: [EXTERNAL] [RFC 3/6] eventdev: do not include driver header in DMA
> adapter
> 
> The dma adapter header does not require including rte_dmadev_pmd. h
> which is a driver header. Fixes: 66a30a29387a ("eventdev/dma: introduce
> DMA adapter") Signed-off-by: David Marchand
> <david. marchand@ redhat. com> --- lib/eventdev/rte_event_dma_adapter. h
> The dma adapter header does not require including rte_dmadev_pmd.h
> which is a driver header.
> 
> Fixes: 66a30a29387a ("eventdev/dma: introduce DMA adapter")
> 
> Signed-off-by: David Marchand <david.marchand@redhat.com>
> ---
>  lib/eventdev/rte_event_dma_adapter.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Acked-by: Amit Prakash Shukla <amitprakashs@marvell.com>

Thanks

> diff --git a/lib/eventdev/rte_event_dma_adapter.h
> b/lib/eventdev/rte_event_dma_adapter.h
> index 5c480b82ff..34142f26db 100644
> --- a/lib/eventdev/rte_event_dma_adapter.h
> +++ b/lib/eventdev/rte_event_dma_adapter.h
> @@ -144,7 +144,7 @@
>  #include <stdint.h>
> 
>  #include <rte_common.h>
> -#include <rte_dmadev_pmd.h>
> +#include <rte_dmadev.h>
>  #include <rte_eventdev.h>
> 
>  #ifdef __cplusplus
> --
> 2.47.0

  reply	other threads:[~2024-11-27 13:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-27 11:26 [RFC 0/6] Add a stricter headers check David Marchand
2024-11-27 11:26 ` [RFC 1/6] baseband/acc: fix exported header David Marchand
2024-11-27 11:26 ` [RFC 2/6] drivers: drop export of driver headers David Marchand
2024-11-27 11:26 ` [RFC 3/6] eventdev: do not include driver header in DMA adapter David Marchand
2024-11-27 13:49   ` Amit Prakash Shukla [this message]
2024-11-27 11:26 ` [RFC 4/6] drivers: fix exported headers David Marchand
2024-11-27 11:26 ` [RFC 5/6] build: install indirect headers to a dedicated directory David Marchand
2024-11-27 11:42   ` Bruce Richardson
2024-11-27 11:26 ` [RFC 6/6] buildtools: externally check exported headers David Marchand

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=PH0PR18MB516767D26F3D41B84770730FC8282@PH0PR18MB5167.namprd18.prod.outlook.com \
    --to=amitprakashs@marvell.com \
    --cc=bruce.richardson@intel.com \
    --cc=david.marchand@redhat.com \
    --cc=dev@dpdk.org \
    --cc=jerinj@marvell.com \
    --cc=thomas@monjalon.net \
    /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).