Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:

platform/linux-dpdk/pool/dpdk.c
line 28
@@ -258,11 +258,6 @@ static int check_params(odp_pool_param_t *params)
 
        switch (params->type) {
        case ODP_POOL_BUFFER:
-               if (params->buf.num > capa.buf.max_num) {


Comment:
If would probably be better to keep this and just correct it rather than delete 
it:
```
if (capa.buf.max_num && params->buf.num > capa.buf.max_num) ...
```

https://github.com/Linaro/odp/pull/312#discussion_r153659144
updated_at 2017-11-29 20:41:35

Reply via email to