diff mbox

[2/2] linux-generic: jumbo frames raw sockets (obsolete after Bills patch)

Message ID 1424440666-30218-2-git-send-email-maxim.uvarov@linaro.org
State New
Headers show

Commit Message

Maxim Uvarov Feb. 20, 2015, 1:57 p.m. UTC
This patch is not needed, has to be fixed after Bills patches come in.
I leve it here for case if smbd. will like to test that patches.

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
---
 platform/linux-generic/odp_buffer_pool.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

Comments

Bill Fischofer Feb. 20, 2015, 10:20 p.m. UTC | #1
This part of the patch is now needed with the v0.11 code changes in
odp_pool.c

On Fri, Feb 20, 2015 at 7:57 AM, Maxim Uvarov <maxim.uvarov@linaro.org>
wrote:

> This patch is not needed, has to be fixed after Bills patches come in.
> I leve it here for case if smbd. will like to test that patches.
>
> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
> ---
>  platform/linux-generic/odp_buffer_pool.c | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/platform/linux-generic/odp_buffer_pool.c
> b/platform/linux-generic/odp_buffer_pool.c
> index f8e35b4..c6d1585 100644
> --- a/platform/linux-generic/odp_buffer_pool.c
> +++ b/platform/linux-generic/odp_buffer_pool.c
> @@ -283,9 +283,7 @@ odp_pool_t odp_pool_create(const char *name,
>
>                 pool->s.flags.unsegmented = unseg;
>                 pool->s.flags.zeroized = zeroized;
> -               pool->s.seg_size = unseg ?
> -                       blk_size : ODP_CONFIG_PACKET_SEG_LEN_MIN;
> -
> +               pool->s.seg_size =  blk_size;
>
>                 uint8_t *block_base_addr = pool->s.pool_base_addr;
>                 uint8_t *mdata_base_addr =
> --
> 1.8.5.1.163.gd7aced9
>
>
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/lng-odp
>
Bill Fischofer Feb. 20, 2015, 10:20 p.m. UTC | #2
Make that not needed not now needed (typo)

On Fri, Feb 20, 2015 at 4:20 PM, Bill Fischofer <bill.fischofer@linaro.org>
wrote:

> This part of the patch is now needed with the v0.11 code changes in
> odp_pool.c
>
> On Fri, Feb 20, 2015 at 7:57 AM, Maxim Uvarov <maxim.uvarov@linaro.org>
> wrote:
>
>> This patch is not needed, has to be fixed after Bills patches come in.
>> I leve it here for case if smbd. will like to test that patches.
>>
>> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
>> ---
>>  platform/linux-generic/odp_buffer_pool.c | 4 +---
>>  1 file changed, 1 insertion(+), 3 deletions(-)
>>
>> diff --git a/platform/linux-generic/odp_buffer_pool.c
>> b/platform/linux-generic/odp_buffer_pool.c
>> index f8e35b4..c6d1585 100644
>> --- a/platform/linux-generic/odp_buffer_pool.c
>> +++ b/platform/linux-generic/odp_buffer_pool.c
>> @@ -283,9 +283,7 @@ odp_pool_t odp_pool_create(const char *name,
>>
>>                 pool->s.flags.unsegmented = unseg;
>>                 pool->s.flags.zeroized = zeroized;
>> -               pool->s.seg_size = unseg ?
>> -                       blk_size : ODP_CONFIG_PACKET_SEG_LEN_MIN;
>> -
>> +               pool->s.seg_size =  blk_size;
>>
>>                 uint8_t *block_base_addr = pool->s.pool_base_addr;
>>                 uint8_t *mdata_base_addr =
>> --
>> 1.8.5.1.163.gd7aced9
>>
>>
>> _______________________________________________
>> lng-odp mailing list
>> lng-odp@lists.linaro.org
>> http://lists.linaro.org/mailman/listinfo/lng-odp
>>
>
>
diff mbox

Patch

diff --git a/platform/linux-generic/odp_buffer_pool.c b/platform/linux-generic/odp_buffer_pool.c
index f8e35b4..c6d1585 100644
--- a/platform/linux-generic/odp_buffer_pool.c
+++ b/platform/linux-generic/odp_buffer_pool.c
@@ -283,9 +283,7 @@  odp_pool_t odp_pool_create(const char *name,
 
 		pool->s.flags.unsegmented = unseg;
 		pool->s.flags.zeroized = zeroized;
-		pool->s.seg_size = unseg ?
-			blk_size : ODP_CONFIG_PACKET_SEG_LEN_MIN;
-
+		pool->s.seg_size =  blk_size;
 
 		uint8_t *block_base_addr = pool->s.pool_base_addr;
 		uint8_t *mdata_base_addr =