On Tue, Jul 21, 2015 at 3:05 AM, Nicolas Morey-Chaisemartin <
[email protected]> wrote:

> It is the pool responsibility to ensure that there is enough space
> available for headroom and tailroom in the segment(s)
> Also fixes the issue where ODP_CONFIG_PACKET_SEG_MIN_LEN <
> ODP_CONFIG_PACKET_HEADROOM
>
> Signed-off-by: Nicolas Morey-Chaisemartin <[email protected]>
>

Reviewed-and-tested-by: Bill Fischofer <[email protected]>


> ---
>  test/validation/packet/packet.c | 3 ---
>  1 file changed, 3 deletions(-)
>
> diff --git a/test/validation/packet/packet.c
> b/test/validation/packet/packet.c
> index 0bd1666..9771053 100644
> --- a/test/validation/packet/packet.c
> +++ b/test/validation/packet/packet.c
> @@ -19,12 +19,9 @@
>
>  static odp_pool_t packet_pool;
>  static const uint32_t packet_len = PACKET_BUF_LEN -
> -                               ODP_CONFIG_PACKET_HEADROOM -
> -                               ODP_CONFIG_PACKET_TAILROOM -
>                                 PACKET_TAILROOM_RESERVE;
>
>  static const uint32_t segmented_packet_len = PACKET_BUF_LEN * 5 -
> -       ODP_CONFIG_PACKET_HEADROOM - ODP_CONFIG_PACKET_TAILROOM -
>         PACKET_TAILROOM_RESERVE;
>
>  odp_packet_t test_packet, segmented_test_packet;
> _______________________________________________
> lng-odp mailing list
> [email protected]
> https://lists.linaro.org/mailman/listinfo/lng-odp
>
_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to