On Fri, 8 Mar 2019 14:06:58 -0500
olegpoly123 wrote:
> struct rx_queue *rxq = &internals->rxq[rx_queue_id];
> struct rte_mbuf **tmp = &rxq->pool;
> long iov_max = sysconf(_SC_IOV_MAX);
> +
> + if (iov_max <= 0) {
> + TAP_LOG(WARNING,
> + "_SC
> On Mar 8, 2019, at 1:06 PM, olegpoly123 wrote:
>
> If the value _SC_IOV_MAX is missing, sysconf returns -1.
> In this case, iov_max is set to a default value of 1024.
>
> Cc: sta...@dpdk.org
>
> Signed-off-by: Oleg Polyakov
> ---
> drivers/net/tap/rte_eth_tap.c | 8
> 1 file chang
If the value _SC_IOV_MAX is missing, sysconf returns -1.
In this case, iov_max is set to a default value of 1024.
Cc: sta...@dpdk.org
Signed-off-by: Oleg Polyakov
---
drivers/net/tap/rte_eth_tap.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/net/tap/rte_eth_tap.c b/driver
3 matches
Mail list logo