Oleg Polyakov efa28ae847 net/tap: fix getting max iovec
If the value _SC_IOV_MAX is missing, sysconf returns -1.
In this case, iov_max is set to a default value of 1024.
This should never happen except for redhat bug:
   https://bugzilla.redhat.com/show_bug.cgi?id=1504165

Fixes: ec12df9504fe ("net/tap: fix support for large Rx queues")
Cc: stable@dpdk.org

Signed-off-by: Oleg Polyakov <olegp123@walla.co.il>
Acked-by: Keith Wiles <keith.wiles@intel.com>
2019-03-21 18:37:43 +01:00
..
2019-03-21 18:37:43 +01:00
2018-04-11 01:47:47 +02:00
2018-04-11 01:47:47 +02:00
2018-04-11 01:47:47 +02:00
2018-04-27 18:00:59 +01:00
2018-04-11 01:47:47 +02:00
2018-05-17 19:07:08 +02:00
2018-04-11 01:47:47 +02:00