now removed. Compile time check is added to ensure the
RTE_DISTRIB_MAX_WORKERS is less than or equal to size of double-word.
Signed-off-by: Qinglai Xiao
---
lib/librte_distributor/rte_distributor.c | 64 ++
lib/librte_distributor/rte_distributor.h |4 ++
2 files
the
algorithm of finding matched tag must be revised.
Signed-off-by: Qinglai Xiao
---
lib/librte_distributor/rte_distributor.c | 45 ++
lib/librte_distributor/rte_distributor.h |4 ++
2 files changed, 37 insertions(+), 12 deletions(-)
diff --git a/lib
This field is added for librte_distributor. User of librte_distributor
is advocated to set value of mbuf->hash.usr before calling
rte_distributor_process. The value of usr is the tag which stands as
identifier of flow.
Signed-off-by: Qinglai Xiao
---
app/test/test_distributo
for each mbuf before calling
the distributor process rte_distributor_process.
Qinglai Xiao (2):
Add new union field usr in mbuf->hash.
Add in_flight_bitmask so as to use full 32 bits of tag.
app/test/test_distributor.c | 18 ++--
app/test/test_distributor_per
tly librte_distributor supports up to 64 worker
threads. If more workers are needed, the size of in_flight_bitmask and
the algorithm of finding matched tag must be revised.
Signed-off-by: Qinglai Xiao
---
app/test/test_distributor.c | 18 ++--
app/test/test_distributor_per
Hi Bruce,
There is a subtle case in which tag values are 2 and 3, respectively. Then
these two tags cannot be distinguished. There should be a better way so as to
handle this situation.
thx &
rgds
-qinglai
--
???: "Thomas Monjalon"
: ?2014/?11/?6 12:36
???: "Bruce Richardson"
User defined tag calculation has access to mbuf.
Default tag is RSS hash result.
Signed-off-by: Qinglai Xiao
---
app/test/test_distributor.c |6 +++---
app/test/test_distributor_perf.c |2 +-
lib/librte_distributor/rte_distributor.c | 12 ++--
lib
routine
for IXGBE_VF_GET_QUEUES must be fixed, otherwise PF always return
1 as Tx/Rx queue number.
[1] See section 7.2.1.2.1, 7.1.2.2 and 7.10.2.7.2 of Intel 82599 10
Gbe Controller Datasheet.
Signed-off-by: Qinglai Xiao
---
lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 19 +++
1
routine
for IXGBE_VF_GET_QUEUES must be fixed, otherwise PF always return
1 as Tx/Rx queue number.
[1] See section 7.2.1.2.1, 7.1.2.2 and 7.10.2.7.2 of Intel 82599 10
Gbe Controller Datasheet.
Signed-off-by: Qinglai Xiao
---
lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 32
Add support for TCP/UDP segment offload on 82599.
User can turn on TSO by setting MSS in the first frame.
Meantime, the L2 and L3 len, together with offload flags must be set in the
first frame accordingly. Otherwise the driver will cease the sending.
---
lib/librte_mbuf/rte_mbuf.h|6 +
;
uint32_t tx_mss;
} misc;
It is gonna be a major change coz it affects the core data structure.
Any comments will be appreciated.
Qinglai Xiao (1):
ixgbe: TCP/UDP segment offload support on 82599.
lib/librte_mbuf/rte_mbuf.h|6 +-
lib/librte_pmd_ixgbe
_ethdev.h
for valid values of 82599 loopback mode.
Signed-off-by: Qinglai Xiao
---
lib/librte_ether/rte_ethdev.h |5 +
lib/librte_pmd_ixgbe/ixgbe_ethdev.c |7 ++
lib/librte_pmd_ixgbe/ixgbe_ethdev.h |5 +
lib/librte_pmd_ixgbe/ixgbe_rxtx.c
Signed-off-by: Qinglai Xiao
---
lib/librte_ether/rte_ethdev.h|1 +
lib/librte_pmd_ixgbe/ixgbe/ixgbe_82599.c | 122 +-
lib/librte_pmd_ixgbe/ixgbe/ixgbe_type.h |7 ++
lib/librte_pmd_ixgbe/ixgbe_ethdev.c |8 ++
lib/librte_pmd_ixgbe
13 matches
Mail list logo