On Tue, Jul 22, 2014 at 5:09 PM, Daniele Di Proietto
<[email protected]> wrote:
> These values has been found to give the best throughput in simple cases (1
> flow
> 64 bytes UDP packets)
>
> Signed-off-by: Daniele Di Proietto <[email protected]>
Pushed to master. But we need to make these parameter configurable.
> ---
> lib/netdev-dpdk.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c
> index 62c9a0c..b45e367 100644
> --- a/lib/netdev-dpdk.c
> +++ b/lib/netdev-dpdk.c
> @@ -123,8 +123,8 @@ static const struct rte_eth_txconf tx_conf = {
> .txq_flags = ETH_TXQ_FLAGS_NOMULTSEGS|ETH_TXQ_FLAGS_NOOFFLOADS,
> };
>
> -enum { MAX_RX_QUEUE_LEN = 64 };
> -enum { MAX_TX_QUEUE_LEN = 64 };
> +enum { MAX_RX_QUEUE_LEN = 192 };
> +enum { MAX_TX_QUEUE_LEN = 384 };
> enum { DRAIN_TSC = 200000ULL };
>
> static int rte_eal_init_ret = ENODEV;
> --
> 2.0.0
>
> _______________________________________________
> dev mailing list
> [email protected]
> http://openvswitch.org/mailman/listinfo/dev
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev