[dpdk-dev] [PATCH] net/ixgbe: fix link never come up problem with x552

2016-11-09 Thread Wei Zhao
From: zhao wei The links never coming up with DPDK16.11 when bring up x552 NIC, device id is 15ac.This is caused by delete some code which casing removes X550em SFP iXFI setup for the drivers in function ixgbe_setup_mac_link_sfp_x550em().Fix methord is recover the deleted

[dpdk-dev] [PATCH] net/ixgbe: fix link never come up problem with x552

2016-11-09 Thread Wei Zhao
From: zhao wei The links never coming up with DPDK16.11 when bring up x552 NIC, device id is 15ac.This is caused by delete some code which casing removes X550em SFP iXFI setup for the drivers in function ixgbe_setup_mac_link_sfp_x550em().Fix methord is recover the deleted

[dpdk-dev] [PATCH] lib/librte_mempool: a redundant of socket_id assignment

2016-11-14 Thread Wei Zhao
From: zhao wei There is a redundant repetition mempool socket_id assignment in the file rte_mempool.c in function rte_mempool_create_empty.The statement "mp->socket_id = socket_id;"appear twice in line 821 and 824.One of them is redundant, so delete it. Fixes: 85226f9c526b

[dpdk-dev] [PATCH] lib/librte_mempool: a redundant word in comment

2016-11-14 Thread Wei Zhao
From: zhao wei There is a redundant repetition word "for" in commnet line the file rte_mempool.h after the definition of RTE_MEMPOOL_OPS_NAMESIZE. The word "for"appear twice in line 359 and 360.One of them is redundant, so delete it. Fixes: 449c49b93a6b

[dpdk-dev] [PATCH v2] mempool: remove a redundant word "for" in comment

2016-11-27 Thread Wei Zhao
From: zhao wei There is a redundant repetition word "for" in commnet line of the file rte_mempool.h after the definition of RTE_MEMPOOL_OPS_NAMESIZE. The word "for"appear twice in line 359 and 360.One of them is redundant, so delete it. Fixes: 449c49b93a6b (" mempool:

[dpdk-dev] [PATCH v2] mempool: remove a redundant socket_id assignment

2016-11-27 Thread Wei Zhao
From: zhao wei There is a redundant repetition mempool socket_id assignment in the file rte_mempool.c in function rte_mempool_create_empty.The statement "mp->socket_id = socket_id;"appear twice in line 821 and 824.One of them is redundant, so delete it. Fixes: 85226f9c526b

[dpdk-dev] [PATCH 11/18] net/ixgbe: parse n-tuple filter

2016-12-02 Thread Wei Zhao
From: wei zhao1 Add rule validate function and check if the rule is a n-tuple rule, and get the n-tuple info. Signed-off-by: wei zhao1 Signed-off-by: Wenzhuo Lu --- drivers/net/ixgbe/ixgbe_ethdev.c | 349

[dpdk-dev] [PATCH 13/18] net/ixgbe: parse SYN filter

2016-12-02 Thread Wei Zhao
From: wei zhao1 check if the rule is a SYN rule, and get the SYN info. Signed-off-by: wei zhao1 Signed-off-by: Wenzhuo Lu --- drivers/net/ixgbe/ixgbe_ethdev.c | 154 +++ 1 file changed, 154

[dpdk-dev] [PATCH 18/18] net/ixgbe: flush consistent filter

2016-12-02 Thread Wei Zhao
From: wei zhao1 This patch adds a function to flush all the flow directory filter on a port. Signed-off-by: wei zhao1 Signed-off-by: Wenzhuo Lu --- drivers/net/ixgbe/ixgbe_ethdev.c | 20 +++- 1 file changed, 19

[dpdk-dev] [PATCH 02/18] net/ixgbe: store flow director filter

2016-12-02 Thread Wei Zhao
From: wei zhao1 Add support for storing flow director filter in SW. Signed-off-by: Wenzhuo Lu Signed-off-by: wei zhao1 --- drivers/net/ixgbe/ixgbe_ethdev.c | 48 ++ drivers/net/ixgbe/ixgbe_ethdev.h | 19 ++-

[dpdk-dev] [PATCH 03/18] net/ixgbe: store L2 tunnel filter

2016-12-02 Thread Wei Zhao
From: wei zhao1 Add support for storing L2 tunnel filter in SW. Signed-off-by: Wenzhuo Lu Signed-off-by: wei zhao1 --- drivers/net/ixgbe/ixgbe_ethdev.c | 151 +++

[dpdk-dev] [PATCH 00/18] net/ixgbe: Consistent filter API

2016-12-02 Thread Wei Zhao
From: wei zhao1 The patches mainly finish following functions: 1) Store and restore all kinds of filters. 2) Parse all kinds of filters. 3) Add flow validate function. 4) Add flow create function. 5) Add flow destroy function. 6) Add flow flush function. wei zhao1 (18):

[dpdk-dev] [PATCH 04/18] net/ixgbe: restore n-tuple filter

2016-12-02 Thread Wei Zhao
From: wei zhao1 Add support for restoring n-tuple filter in SW. Signed-off-by: Wenzhuo Lu Signed-off-by: wei zhao1 --- drivers/net/ixgbe/ixgbe_ethdev.c | 131 +-- 1 file changed, 83

[dpdk-dev] [PATCH 01/18] net/ixgbe: store SYN filter

2016-12-02 Thread Wei Zhao
From: wei zhao1 Add support for storing SYN filter in SW. Signed-off-by: Wenzhuo Lu Signed-off-by: wei zhao1 --- drivers/net/ixgbe/ixgbe_ethdev.c | 12 ++-- drivers/net/ixgbe/ixgbe_ethdev.h | 2 ++ 2 files changed, 12