[dpdk-dev] [PATCH] lib: librte_ether: fix RTE_PMD_DEBUG_TRACE macro

2015-12-06 Thread Yaacov Hazan
RTE_PMD_DEBUG_TRACE was changed also to support pedantic flag, but not completely. the macro changed only under the RTE_LIBRTE_ETHDEV_DEBUG define, but when RTE_LIBRTE_ETHDEV_DEBUG is not defined the old format was left. fix the macro to support pedantic flag in any case. Signed-off-by: Yaacov

[dpdk-dev] Flow Director - big endian handling

2015-12-30 Thread Yaacov Hazan
Hi JingJing, I looked at your patch for flow director - app/testpmd: update flow director commands - a56335925919d26c81dec8accf31c39d2f790c5a. It seems there is some mismatch in the handling of big endian between the filter and mask. In the cmd_flow_director_filter_parsed function, which add th

[dpdk-dev] ethdev: fix link status race condition

2016-01-17 Thread Yaacov Hazan
Hi, I looked in your patch ethdev: fix link status race condition (d5790b03), and have a question. According to your change when dev_start is called and the device supports lsc we doesn't ask the device status. But, if the device is already up, when you start dpdk application, the application c

[dpdk-dev] [PATCH] net:bonding: fix free_queues function when no queues exist

2015-10-22 Thread Yaacov Hazan
From: Raslsn Darawsheh In case of creating bond device without add any slaves and quit from testpmd, application crashed since rx/tx queues are NULL. add checking of this paramters before trying to free. Signed-off-by: Raslsn Darawsheh Signed-off-by: Yaacov Hazan --- drivers/net/bonding

[dpdk-dev] [PATCH v2] net:bonding: fix free_queues function when no queues exist

2015-10-26 Thread Yaacov Hazan
From: Raslsn Darawsheh In case of creating bond device without add any slaves and quit from testpmd, application crashed since rx/tx queues are NULL. add checking of this paramters before trying to free. Signed-off-by: Raslsn Darawsheh Signed-off-by: Yaacov Hazan --- in previous patch there

[dpdk-dev] Bonding Active/Backup mode

2015-11-08 Thread Yaacov Hazan
Hi, I starting to check the bonding mode, and have a few questions about the Active - Backup mode (1). According to DPDK documentation and that is also what I saw in bond_pmd code. When we configure bond to Active/Backup mode, the bond port gets his MAC from the primary MAC, and the backup sla

[dpdk-dev] [PATCH] mlx5: fix RETA table size

2016-03-30 Thread Yaacov Hazan
Change RETA table size to use 256 entries for better performance. Fixes: ebb30ec64a68 ("mlx5: increase RETA table size") Signed-off-by: Yaacov Hazan --- drivers/net/mlx5/mlx5_defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/mlx5/mlx5_defs.h b/d

[dpdk-dev] [PATCH v2] mlx5: fix RETA table size

2016-03-31 Thread Yaacov Hazan
table size") Signed-off-by: Yaacov Hazan --- drivers/net/mlx5/mlx5_defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/mlx5/mlx5_defs.h b/drivers/net/mlx5/mlx5_defs.h index 195440c..09207d9 100644 --- a/drivers/net/mlx5/mlx5_defs.h +++ b/drivers/net/mlx5/m