[dpdk-dev] [PATCH v2] net/null: support bulk allocation

2018-03-08 Thread Mallesh Koujalagi
options:dpdk-devargs=eth_null0,size=64,copy=1 $VSCTL add-port ovs-br dpdk2 -- set Interface dpdk2 type=dpdk \ options:dpdk-devargs=eth_null1,size=64,copy=1 Signed-off-by: Mallesh Koujalagi --- drivers/net/null/rte_eth_null.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-)

[dpdk-dev] [PATCH v3] net/null:Different mac address support

2018-03-06 Thread Mallesh Koujalagi
After attaching two Null device to ovs, seeing "00.00.00.00.00.00" mac address for both null devices. Fix this issue, by setting different mac address. Signed-off-by: Mallesh Koujalagi --- drivers/net/null/rte_eth_null.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-)

[dpdk-dev] [PATCH v2] net/null:Different mac address support

2018-03-05 Thread Mallesh Koujalagi
After attaching two Null device to ovs, seeing "00.00.00.00.00.00" mac address for both null devices. Fix this issue, by setting different mac address. Signed-off-by: Mallesh Koujalagi --- drivers/net/null/rte_eth_null.c | 26 +++--- 1 file changed, 23 insert

[dpdk-dev] [PATCH] net/null: Support bulk alloc and free.

2018-02-02 Thread Mallesh Koujalagi
After bulk allocation and freeing of multiple mbufs increase more than ~2% throughput on single core. Signed-off-by: Mallesh Koujalagi --- drivers/net/null/rte_eth_null.c | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/drivers/net/null/rte_eth_null.c b

[dpdk-dev] [PATCH] net/null:Different mac address support

2018-02-02 Thread Mallesh Koujalagi
After attaching two Null device to ovs, seeing "00.00.00.00.00.00" mac address for both null devices. Fix this issue, by setting different mac address. Signed-off-by: Mallesh Koujalagi --- drivers/net/null/rte_eth_null.c | 23 +-- 1 file changed, 21 insert

[dpdk-dev] [PATCH] ethdev: fix MTU setup error

2018-01-30 Thread Mallesh Koujalagi
NULL device is failed to attach ovs, reported operation not supported and configuration failed. To attach ovs: $VSCTL add-port ovs-br dpdk1 -- set Interface dpdk1 type=dpdk \ options:dpdk-devargs=eth_null0,size=64,copy=1 Signed-off-by: Mallesh Koujalagi --- drivers/net/null