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: sta...@dpdk.
If the value _SC_IOV_MAX is missing, sysconf returns -1.
In this case, iov_max is set to a default value of 1024.
Fixes: ec12df9504fe ("net/tap: fix support for large Rx queues")
Cc: sta...@dpdk.org
Signed-off-by: Oleg Polyakov
Acked-by: Keith Wiles
---
drivers/net/tap/rte_eth_tap.c | 9 ++
From: Oleg Polyakov
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 | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/net/tap
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
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: olegpoly123
---
drivers/net/tap/rte_eth_tap.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers
Cc: sta...@dpdk.org
Signed-off-by: Oeg Polyakov
---
drivers/net/tap/rte_eth_tap.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c
index cd48b2b2a..e7da73509 100644
--- a/drivers/net/tap/rte_eth_tap.c
+++ b/dr
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: Oeg Polyakov
---
drivers/net/tap/rte_eth_tap.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/ne
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: Oeg Polyakov
---
drivers/net/tap/rte_eth_tap.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/ne
8 matches
Mail list logo