diff mbox

dpdk: ensure packet size is the same as buffer size

Message ID 1407406192-17703-1-git-send-email-anders.roxell@linaro.org
State Accepted
Commit 68b9239f5b1000bccf45b6e32366cadb9b682b6a
Headers show

Commit Message

Anders Roxell Aug. 7, 2014, 10:09 a.m. UTC
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
---
 platform/linux-dpdk/include/api/odp_packet.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Venkatesh Vivekanandan Aug. 7, 2014, 10:22 a.m. UTC | #1
On 7 August 2014 15:39, Anders Roxell <anders.roxell@linaro.org> wrote:

> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
> ---
>  platform/linux-dpdk/include/api/odp_packet.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/platform/linux-dpdk/include/api/odp_packet.h
> b/platform/linux-dpdk/include/api/odp_packet.h
> index bdb3417..5545bdc 100644
> --- a/platform/linux-dpdk/include/api/odp_packet.h
> +++ b/platform/linux-dpdk/include/api/odp_packet.h
> @@ -24,7 +24,7 @@ extern "C" {
>  /**
>   * ODP packet descriptor
>   */
> -typedef unsigned long odp_packet_t;
> +typedef odp_buffer_t odp_packet_t;
>
>
>  /** Invalid packet */
>

Reviewed-by: Venkatesh Vivekanandan <venkatesh.vivekanandan@linaro.org>

> --
> 1.9.1
>
>
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/lng-odp
>
Maxim Uvarov Aug. 11, 2014, 11:27 a.m. UTC | #2
Merged, thanks!
Maxim.

On 08/07/2014 02:09 PM, Anders Roxell wrote:
> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
> ---
>   platform/linux-dpdk/include/api/odp_packet.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/platform/linux-dpdk/include/api/odp_packet.h b/platform/linux-dpdk/include/api/odp_packet.h
> index bdb3417..5545bdc 100644
> --- a/platform/linux-dpdk/include/api/odp_packet.h
> +++ b/platform/linux-dpdk/include/api/odp_packet.h
> @@ -24,7 +24,7 @@ extern "C" {
>   /**
>    * ODP packet descriptor
>    */
> -typedef unsigned long odp_packet_t;
> +typedef odp_buffer_t odp_packet_t;
>   
>   
>   /** Invalid packet */
diff mbox

Patch

diff --git a/platform/linux-dpdk/include/api/odp_packet.h b/platform/linux-dpdk/include/api/odp_packet.h
index bdb3417..5545bdc 100644
--- a/platform/linux-dpdk/include/api/odp_packet.h
+++ b/platform/linux-dpdk/include/api/odp_packet.h
@@ -24,7 +24,7 @@  extern "C" {
 /**
  * ODP packet descriptor
  */
-typedef unsigned long odp_packet_t;
+typedef odp_buffer_t odp_packet_t;
 
 
 /** Invalid packet */