[dpdk-dev] [dpdk-stable] [PATCH v7] net/tap: fix missing _SC_IOV_MAX

Ferruh Yigit ferruh.yigit at intel.com
Thu Mar 21 18:40:59 CET 2019


On 3/18/2019 6:20 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.
> 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 at dpdk.org
> 
> Signed-off-by: Oleg Polyakov <olegp123 at walla.co.il>
> Acked-by: Keith Wiles <keith.wiles at intel.com>

Applied to dpdk-next-net/master, thanks.


More information about the dev mailing list