[dpdk-dev] [PATCH] app/testpmd:add bond type description

2017-06-29 Thread RongQiang Xie
the primary port info. Signed-off-by: RongQiang Xie --- app/test-pmd/cmdline.c | 1 + 1 file changed, 1 insertion(+) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index 4eac498..1ae5fc0 100755 --- a/app/test-pmd/cmdline.c +++ b/app/test-pmd/cmdline.c @@ -4455,6 +4455,7 @@ static

[dpdk-dev] [PATCH] app/testpmd:add bond type description

2017-06-29 Thread RongQiang Xie
primary port info may be more appropriate. Signed-off-by: RongQiang Xie --- app/test-pmd/cmdline.c | 19 --- 1 file changed, 12 insertions(+), 7 deletions(-) mode change 100644 => 100755 app/test-pmd/cmdline.c diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c old m

[dpdk-dev] [PATCH] app/testpmd:add bond type description

2017-06-30 Thread RongQiang Xie
primary port info may be more appropriate. Signed-off-by: RongQiang Xie --- 0001-app-testpmd-add-bond-type-description.patch | 60 app/test-pmd/cmdline.c | 15 -- 2 files changed, 70 insertions(+), 5 deletions(-) create mode 100644 0001-app

[dpdk-dev] [PATCH] app/testpmd:add bond type description

2017-06-30 Thread RongQiang Xie
primary port info may be more appropriate. Signed-off-by: RongQiang Xie --- app/test-pmd/cmdline.c | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index ff8ffd2..45845a4 100644 --- a/app/test-pmd/cmdline.c +++ b

[dpdk-dev] [PATCH] app/testpmd: fix the comments in source file cmdline

2017-06-15 Thread RongQiang Xie
Because the comments in function cmd_add_bonding_slave_parsed() and cmd_remove_bonding_slave_parsed() is 'Set the primary slave for a bonded device',so fix it with 'add the slave for a bonded device' and 'remove the slave from a bonded device'. Signed-off-by: Ro

[dpdk-dev] [PATCH] lib/lib_eal:fix the pointer 'elem' may be NULL bug

2017-06-28 Thread RongQiang Xie
Signed-off-by: RongQiang Xie --- lib/librte_eal/common/eal_common_memzone.c | 6 ++ 1 file changed, 6 insertions(+) mode change 100644 => 100755 lib/librte_eal/common/eal_common_memzone.c diff --git a/lib/librte_eal/common/eal_common_memzone.c b/lib/librte_eal/common/eal_common_memzon

[dpdk-dev] [PATCH] app/testpmd:add bond type description In function cmd_show_bonding_config_parsed() use number represent the bond type, in order more detailed, add bond type description otherwise we

2017-06-29 Thread RongQiang Xie
Signed-off-by: RongQiang Xie --- app/test-pmd/cmdline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index fcbc6b1..4eac498 100755 --- a/app/test-pmd/cmdline.c +++ b/app/test-pmd/cmdline.c @@ -4456,7 +4456,7 @@ static void

[dpdk-dev] [PATCH] net/ixgbe:fix some bugs about rte zmalloc memory may NULL

2017-08-22 Thread Rongqiang XIE
In the function ixgbe_flow_create(), the value ntuple_filter_ptr, ethertype_filter_ptr,syn_filter_ptr,fdir_rule_ptr and l2_tn_filter_ptr use rte_zmalloc() malloc memory may return NULL,so, we should add judge the return is NULL or success. Signed-off-by: Rongqiang XIE --- drivers/net/ixgbe

[dpdk-dev] [PATCH] lib/lib_eal:add mellanox kernel driver type

2017-08-22 Thread Rongqiang XIE
rv to fix this problem. Signed-off-by: Rongqiang XIE --- lib/librte_eal/common/include/rte_dev.h | 2 ++ lib/librte_eal/linuxapp/eal/eal_pci.c | 4 2 files changed, 6 insertions(+) diff --git a/lib/librte_eal/common/include/rte_dev.h b/lib/librte_eal/common/include/rte_dev.h index 53

[dpdk-dev] [PATCH] lib/lib_eal:add mellanox kernel driver type

2017-08-22 Thread Rongqiang XIE
kdrv to fix this problem. Signed-off-by: Rongqiang XIE --- lib/librte_eal/common/include/rte_dev.h | 2 ++ lib/librte_eal/linuxapp/eal/eal_pci.c | 4 2 files changed, 6 insertions(+) diff --git a/lib/librte_eal/common/include/rte_dev.h b/lib/librte_eal/common/include/rte_dev.h index 53

[dpdk-dev] [PATCH] lib/librte_pipeline:fix the array index out of bound

2017-08-23 Thread Rongqiang XIE
pt to access element 4 of array action_mask0. Signed-off-by: Rongqiang XIE --- lib/librte_pipeline/rte_pipeline.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/librte_pipeline/rte_pipeline.c b/lib/librte_pipeline/rte_pipeline.c index 7f8fbac..2914445 1006

[dpdk-dev] [PATCH] net/enic:fix no return value bug

2017-08-23 Thread Rongqiang XIE
In enic_alloc_consistent() function, if the value mze malloc faile, !mze is true, free the rz should return NULL. Signed-off-by: Rongqiang XIE --- drivers/net/enic/enic_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/enic/enic_main.c b/drivers/net/enic/enic_main.c index

[dpdk-dev] [PATCH] net/qede:fix the bug about pointer params may NULL

2017-08-24 Thread Rongqiang XIE
In function qede_rss_reta_update(),the pointer params returned from call to function rte_zmalloc() may be NULL and will be dereferenced. So, should judge the params is NULL or not. Signed-off-by: Rongqiang XIE --- drivers/net/qede/qede_ethdev.c | 4 1 file changed, 4 insertions(+) diff

[dpdk-dev] [PATCH] app/testpmd:add bond type description

2017-08-24 Thread Rongqiang XIE
primary port info may be more appropriate. Signed-off-by: Rongqiang XIE --- app/test-pmd/cmdline.c | 29 +++-- drivers/net/bonding/rte_eth_bond.h | 15 + drivers/net/bonding/rte_eth_bond_api.c | 39 ++ 3 files

[dpdk-dev] [PATCH] app/testpmd:add bond type description

2017-08-24 Thread Rongqiang XIE
primary port info may be more appropriate. Signed-off-by: Rongqiang XIE --- app/test-pmd/cmdline.c | 29 + drivers/net/bonding/rte_eth_bond.h | 15 +++ drivers/net/bonding/rte_eth_bond_api.c | 39 drivers

[dpdk-dev] [PATCH v2] app/testpmd:add bond type description

2017-08-25 Thread Rongqiang XIE
primary port info may be more appropriate. Signed-off-by: Rongqiang XIE --- app/test-pmd/cmdline.c | 28 --- drivers/net/bonding/rte_eth_bond.h | 15 +++ drivers/net/bonding/rte_eth_bond_api.c | 40 drivers

[dpdk-dev] [PATCH v3] app/testpmd:add bond type description

2017-08-25 Thread Rongqiang XIE
primary port info may be more appropriate. Signed-off-by: Rongqiang XIE --- app/test-pmd/cmdline.c | 28 --- drivers/net/bonding/rte_eth_bond.h | 15 +++ drivers/net/bonding/rte_eth_bond_api.c | 40 drivers

[dpdk-dev] [PATCH v4] app/testpmd:add bond type description

2017-08-28 Thread Rongqiang XIE
primary port info may be more appropriate. Signed-off-by: Rongqiang XIE --- app/test-pmd/cmdline.c | 26 +++--- drivers/net/bonding/rte_eth_bond.h | 15 +++ drivers/net/bonding/rte_eth_bond_api.c | 40 drivers/net