6 changes:
- reordered with patch 4/9
- recreated due to the changes in patch 4/9
v5 changes:
- replaced memcpy with rte_memcpy
Signed-off-by: Tomasz Kulasek
Acked-by: Tetsuya Mukawa
---
drivers/net/null/rte_eth_null.c | 115 +++
1 file
ek at intel.com>
<1446213364-11856-1-git-send-email-tomaszx.kulasek at intel.com>
v7 changes:
- Makefile for test app changed to not break compilation when
CONFIG_RTE_LIBRTE_PMD_NULL=n (now module is silently omitted when
requirements not met)
Signed-off-by: Tomasz Kulasek
t from eth_dev_ops of bonding device
Signed-off-by: Tomasz Kulasek
Acked-by: Declan Doherty
---
drivers/net/bonding/rte_eth_bond_pmd.c | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c
b/drivers/net/bonding/rte_eth_bond_
ek at intel.com>
<1446213364-11856-1-git-send-email-tomaszx.kulasek at intel.com>
Signed-off-by: Tomasz Kulasek
Acked-by: Declan Doherty
---
.../prog_guide/link_bonding_poll_mode_drv_lib.rst |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git
aszx.kulasek at intel.com>
<1446213364-11856-1-git-send-email-tomaszx.kulasek at intel.com>
Documentation update about implementation details and requirements for
Dynamic RSS Configuration for Bonding.
Signed-off-by: Tomasz Kulasek
Acked-by: Declan Doherty
---
.../prog_guide/link_bondi
s' drivers not supporting
dynamic RSS configuration in bonding),
- some code cleanups,
- updated documentation,
Tomasz Kulasek (9):
bonding: rss dynamic configuration
null: fix segfault when null_pmd added to bonding
null: extend number of virtual queues
null: export eth_dev_null_
ly used as a pattern providing expected behavior, even if
slaves RETA sizes are different.
Signed-off-by: Tomasz Kulasek
Acked-by: Declan Doherty
---
drivers/net/bonding/rte_eth_bond_api.c | 28
drivers/net/bonding/rte_eth_bond_pmd.c | 205 ++--
drivers/n
This patch initializes eth_dev->link_intr_cbs queue used when null pmd is
added to the bonding.
v5 changes:
- removed unnecessary malloc for eth_driver (rte_null_pmd)
Signed-off-by: Tomasz Kulasek
Acked-by: Tetsuya Mukawa
---
drivers/net/null/rte_eth_null.c |2 ++
1 file changed
This patch adds a possibility to configure more than one queue on null
device.
v5 changes:
- fixed queues number configuration (using internals->nb_*_queues instead
of dev->data->nb_*_queues)
Signed-off-by: Tomasz Kulasek
Acked-by: Tetsuya Mukawa
---
drivers/net/null/rte_eth_null
v6 changes:
- reordered with patch 5/9
- fixed forward dependency to patch patch 5/9
Signed-off-by: Tomasz Kulasek
Acked-by: Tetsuya Mukawa
---
drivers/net/null/Makefile |2 +-
drivers/net/null/rte_eth_null.c |4 ++-
drivers/net/null/rte_eth_null.h
:
- replaced memcpy with rte_memcpy
Signed-off-by: Tomasz Kulasek
Acked-by: Tetsuya Mukawa
---
drivers/net/null/rte_eth_null.c | 115 +++
1 file changed, 115 insertions(+)
diff --git a/drivers/net/null/rte_eth_null.c b/drivers/net/null/rte_eth_null.c
index
v7 changes:
- Makefile for test app changed to not break compilation when
CONFIG_RTE_LIBRTE_PMD_NULL=n (now module is silently omitted when
requirements not met)
Signed-off-by: Tomasz Kulasek
Acked-by: Declan Doherty
---
app/test/Makefile|7 +
app/test
This patch adds fills bonding port's stats with a sum of corresponding
values taken from bonded slaves, when stats are requested for bonding port.
v5 changes:
- removed queue_stats_mapping_set from eth_dev_ops of bonding device
Signed-off-by: Tomasz Kulasek
Acked-by: Declan Do
Signed-off-by: Tomasz Kulasek
Acked-by: Declan Doherty
---
.../prog_guide/link_bonding_poll_mode_drv_lib.rst |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst
b/doc/guides/prog_guide
Documentation update about implementation details and requirements for
Dynamic RSS Configuration for Bonding.
Signed-off-by: Tomasz Kulasek
Acked-by: Declan Doherty
---
.../prog_guide/link_bonding_poll_mode_drv_lib.rst | 34 ++--
1 file changed, 32 insertions(+), 2 deletions
okup, used before, it is used by default. Old
implementation is moved to the file l3fwd_em_hlm_sse.h and can be enabled
with HASH_LOOKUP_MULTI global define in compilation time.
This patch depends of Ravi Kerur's "Modify and modularize l3fwd code" and
should be applied after i
SO packets acceptable by device.
Signed-off-by: Tomasz Kulasek
---
doc/guides/rel_notes/deprecation.rst |7 +++
1 file changed, 7 insertions(+)
diff --git a/doc/guides/rel_notes/deprecation.rst
b/doc/guides/rel_notes/deprecation.rst
index f502f86..485aacb 100644
--- a/doc/guides
_pkts);
if (nb_prep < nb_pkts) {
printf("tx_prep failed\n");
/* drop or restore invalid packets */
}
/* Send burst of TX packets */
nb_tx = rte_eth_tx_burst(port, 0, bufs, nb_prep);
/* Free any unsent packets. */
Signe
emcpy
code for length bigger than 255, causing the problem.
The root of this issue and solution is the same as for commit 2c007ea10616
("app/test: fix array overflow warning with gcc 4.5")
Fixes: 9727af14b032 ("app/test: add out-of-place symmetric crypto
operations
ICC complains about enumerated types being mixed in link bonding driver,
as ETH_MQ_RX_RSS is an enum type of mq_mode and not a bitmask as it was
being treated.
Fixes: 734ce47f71e0 ("bonding: support RSS dynamic configuration")
Signed-off-by: Tomasz Kulasek
---
drivers/n
ation as too complex and introducing a new
dependency,
- addapted null pmd to be used as testing device for dynamic RSS configuration,
- addapted test units to use null pmd instead of ring pmd,
- ring pmd is not used and changed in this patchset,
Tomasz Kulasek (9):
bonding: rss dynamic
ly used as a pattern providing expected behavior, even if
slaves RETA sizes are different.
Signed-off-by: Tomasz Kulasek
---
drivers/net/bonding/rte_eth_bond_api.c | 28
drivers/net/bonding/rte_eth_bond_pmd.c | 205 ++--
drivers/net/bonding/rte_eth_bond
When device is added to the bonding, the link status callback is added to
the slave's eth_dev->link_intr_cbs list. This list is not initialized for
null pmd and adding it to the bonding segfaults application.
This patch allocates and sets up required structures.
Signed-off-by: Tomasz
This patch adds a possibility to configure more than one queue on null
device.
Signed-off-by: Tomasz Kulasek
---
drivers/net/null/rte_eth_null.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/net/null/rte_eth_null.c b/drivers/net/null/rte_eth_null.c
This implementation allows to set and read RSS configuration for null
device, and is used to validate right values propagation over the slaves,
in test units for dynamic RSS configuration for bonding.
Signed-off-by: Tomasz Kulasek
---
drivers/net/null/rte_eth_null.c | 116
To use eth_dev_null_create in application this method needs to be exported.
Signed-off-by: Tomasz Kulasek
---
drivers/net/null/Makefile |2 +-
drivers/net/null/rte_eth_null.c |3 ++-
drivers/net/null/rte_eth_null.h | 40
:
- adapted to use null pmd driver in place of ring pmd
Signed-off-by: Tomasz Kulasek
---
app/test/Makefile|8 +
app/test/test_link_bonding_rssconf.c | 679 ++
2 files changed, 687 insertions(+)
create mode 100644 app/test
This patch adds propagation of mapping over the slaves, and fills bonding
port's stats with a sum of corresponding values taken from bonded slaves,
when stats are requested for bonding port.
Signed-off-by: Tomasz Kulasek
---
drivers/net/bonding/rte_eth_bond_pmd.c |
Signed-off-by: Tomasz Kulasek
---
.../prog_guide/link_bonding_poll_mode_drv_lib.rst |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst
b/doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst
index 96e554f
Documentation update about implementation details and requirements for
Dynamic RSS Configuration for Bonding.
Signed-off-by: Tomasz Kulasek
---
.../prog_guide/link_bonding_poll_mode_drv_lib.rst | 34 ++--
1 file changed, 32 insertions(+), 2 deletions(-)
diff --git a/doc
consistency of RSS configuration for slaves isn't required.
Turning on/off RSS mode for slaves when bonding is started is not possible.
Other RSS configuration is propagated over slaves, when bonding device API is
used to do it.
Tomasz Kulasek (8):
bond: dynamic rss configuration
RETA sizes, so it can be
easily used as a pattern providing expected behavior, even if slaves RETA sizes
are different.
Signed-off-by: Tomasz Kulasek
---
drivers/net/bonding/rte_eth_bond_api.c | 22
drivers/net/bonding/rte_eth_bond_pmd.c | 192 ++--
d
This implementation allows to set and read RSS configuration for ring device,
and is used to validate right values propagation over the slaves, in test units
for dynamic RSS configuration for bonding.
It have no impact on packet processing by ring device.
Signed-off-by: Tomasz Kulasek
bonding
a) Remove slave from bonding.
b) Change its configuration to other than bonding.
c) Add slave to the started bonding device.
d) Check if slaves configuration changed.
3) Repeat point 1) and 2) with RSS multi-queue mode enabled/disabled for bonding
port.
Signed-off-by: Tomasz
Queue stats mapping is used in example application. This patch adds propagation
of mapping over the slaves, and fills bonding port's stats with a sum of
corresponding values taken from bonded slaves, when stats are requested for
bonding port.
Signed-off-by: Tomasz Kulasek
---
driver
Per queue statistics are already implemented for ring device, but with static
mapping (stat_idx == queue_id).
This fix is required, if you want to use ring device in test application and is
used only to point that per queue statistics are provided for this device.
Signed-off-by: Tomasz Kulasek
-off-by: Tomasz Kulasek
---
examples/bond_rss/Makefile | 59 +++
examples/bond_rss/bondrss.c | 293 ++
examples/bond_rss/bondrss.h | 163
examples/bond_rss/config.c | 251
examples/bond_rss/ui.c | 915 +++
5
Signed-off-by: Tomasz Kulasek
---
.../prog_guide/link_bonding_poll_mode_drv_lib.rst |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst
b/doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst
index 96e554f
Documentation update about implementation details and requirements for Dynamic
RSS Configuration for Bonding.
Signed-off-by: Tomasz Kulasek
---
.../prog_guide/link_bonding_poll_mode_drv_lib.rst | 32 ++--
1 file changed, 30 insertions(+), 2 deletions(-)
diff --git a/doc
_init
- buffers are not attached to the port-queue
- buffers can be allocated dynamically during application work
- size of buffer can be changed without port restart
Tomasz Kulasek (2):
ethdev: add buffered tx api
examples: rework to use buffered tx
examples/l2fwd-jobstats/main.c
removed from tx buffer structure, now default behavior is
silent drop of unsent packets
- some names was changed in tx buffer structure to be more descriptive
- two default calbacks are provided: rte_eth_tx_buffer_drop_callback and
rte_eth_tx_buffer_count_callback
Signed-off-by: Tomasz
* packet_ordering
* qos_meter
v3 changes
- updated due to the change of callback name
v2 changes
- rework synced with tx buffer API changes
Signed-off-by: Tomasz Kulasek
---
examples/l2fwd-jobstats/main.c | 104 +++--
examples/l2fwd-keepalive/main.c
/rte_eth_dev_data,
so this patch doesn't brake an ABI anymore
- introduced RTE_ETH_TX_BUFFER macro and rte_eth_tx_buffer_init
- buffers are not attached to the port-queue
- buffers can be allocated dynamically during application work
- size of buffer can be changed without port restart
Tomas
default calbacks are provided: rte_eth_tx_buffer_drop_callback and
rte_eth_tx_buffer_count_callback
Signed-off-by: Tomasz Kulasek
Acked-by: Konstantin Ananyev
---
lib/librte_ether/rte_ethdev.c | 46 +++
lib/librte_ether/rte_ethdev.h | 206
* packet_ordering
* qos_meter
v3 changes
- updated due to the change of callback name
v2 changes
- rework synced with tx buffer API changes
Signed-off-by: Tomasz Kulasek
Acked-by: Konstantin Ananyev
---
examples/l2fwd-jobstats/main.c | 104 +++--
examples/l2fwd
aste error causing that not all packets are classified right
in hash_multi_lookup implementation when burst size is not divisible
by 8
Fixes: 94c54b4158d5 ("examples/l3fwd: rework exact-match")
Fixes: dc81ebbacaeb ("lpm: extend IPv4 next hop field")
Reported-by: Qian Xu
ified right
in hash_multi_lookup implementation when burst size is not divisible
by 8
Fixes: 94c54b4158d5 ("examples/l3fwd: rework exact-match")
Reported-by: Qian Xu
Signed-off-by: Tomasz Kulasek
---
examples/l3fwd/l3fwd.h|8
examples/l3fwd/l3f
de ("examples/l3fwd: fix ARM build")
Reported-by: Qian Xu
Signed-off-by: Tomasz Kulasek
---
examples/l3fwd/l3fwd.h|6 ++
examples/l3fwd/l3fwd_em.c |6 +++---
examples/l3fwd/l3fwd_em_hlm_sse.h | 28 ++--
examples/l3fw
atch")
Fixes: dc81ebbacaeb ("lpm: extend IPv4 next hop field")
Fixes: 64d3955de1de ("examples/l3fwd: fix ARM build")
Reported-by: Qian Xu
Signed-off-by: Tomasz Kulasek
---
examples/l3fwd/l3fwd.h|6 ++
examples/l3fwd/l3fwd_em.c
This patch fixes error #188: enumerated type mixed with another type,
when uint32_t is casted on enum type in icc.
Fixes: 05f1b9c82ec2 ("app/testpmd: add commands for L2 tunnel config")
Signed-off-by: Tomasz Kulasek
---
app/test-pmd/cmdline.c | 4 ++--
1 file changed, 2 insert
Not all tx ports was included in tx_port_id array, used to periodically
drain only available ports. This caused that some packets remain in buffer
when application stops to receiving packets.
Fixes: 52c97adc1f0f ("examples/l3fwd: fix exact match performance")
Signed-off-by: Toma
---
drivers/net/null/rte_eth_null.c | 28 +++-
1 file changed, 19 insertions(+), 9 deletions(-)
diff --git a/drivers/net/null/rte_eth_null.c b/drivers/net/null/rte_eth_null.c
index b498ef1..68cb723 100644
--- a/drivers/net/null/rte_eth_null.c
+++ b/drivers/net/null/rte_e
arning when slave is synchronizing due to the
bonding's initial configuration (to allow use slaves' drivers not supporting
dynamic RSS configuration in bonding),
- some code cleanups,
- updated documentation,
Tomasz Kulasek (9):
bonding: rss dynamic configuration
null: fix s
ly used as a pattern providing expected behavior, even if
slaves RETA sizes are different.
Signed-off-by: Tomasz Kulasek
---
drivers/net/bonding/rte_eth_bond_api.c | 28
drivers/net/bonding/rte_eth_bond_pmd.c | 205 ++--
drivers/net/bonding/rte_eth_bond
This patch initializes eth_dev->link_intr_cbs queue used when null pmd is
added to the bonding.
v5 changes:
- removed unnecessary malloc for eth_driver (rte_null_pmd)
Signed-off-by: Tomasz Kulasek
---
drivers/net/null/rte_eth_null.c |2 ++
1 file changed, 2 insertions(+)
diff --gi
This patch adds a possibility to configure more than one queue on null
device.
v5 changes:
- fixed queues number configuration (using internals->nb_*_queues instead
of dev->data->nb_*_queues)
Signed-off-by: Tomasz Kulasek
---
drivers/net/null/rte_eth_null
This implementation allows to set and read RSS configuration for null
device, and is used to validate right values propagation over the slaves,
in test units for dynamic RSS configuration for bonding.
v5 changes:
- replaced memcpy with rte_memcpy
Signed-off-by: Tomasz Kulasek
---
drivers/net
Signed-off-by: Tomasz Kulasek
---
drivers/net/null/Makefile |2 +-
drivers/net/null/rte_eth_null.c |2 +-
drivers/net/null/rte_eth_null.h | 40 +
drivers/net/null/rte_pmd_null_version.map |7 +
4 files changed, 49
Signed-off-by: Tomasz Kulasek
---
app/test/Makefile|8 +
app/test/test_link_bonding_rssconf.c | 679 ++
2 files changed, 687 insertions(+)
create mode 100644 app/test/test_link_bonding_rssconf.c
diff --git a/app/test/Makefile b/app/test
This patch fills bonding port's stats with a sum of corresponding values
taken from bonded slaves, when stats are requested for bonding port.
v5 changes:
- removed queue_stats_mapping_set from eth_dev_ops of bonding device
Signed-off-by: Tomasz Kulasek
---
drivers/net/bo
Signed-off-by: Tomasz Kulasek
---
.../prog_guide/link_bonding_poll_mode_drv_lib.rst |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst
b/doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst
index 96e554f
Documentation update about implementation details and requirements for
Dynamic RSS Configuration for Bonding.
Signed-off-by: Tomasz Kulasek
---
.../prog_guide/link_bonding_poll_mode_drv_lib.rst | 34 ++--
1 file changed, 32 insertions(+), 2 deletions(-)
diff --git a/doc
ersection of assignment of initial group size
(lp[0] = 1) and precalculated group sizes when gptbl[v].idx < 4.
Fixes: 94c54b4158d5 ("examples/l3fwd: rework exact-match")
Signed-off-by: Tomasz Kulasek
---
examples/l3fwd/l3fwd_sse.h |4 ++--
1 file changed, 2 insertions(+), 2 deletion
" is 64 bytes long buffer and "iv + 128" point out of it, gcc 4.5.
SOLUTION:
-
Using uint8_t as a size of copied block prevents to evaluate in rte_memcpy
code for size bigger than 255, causing the problem.
Signed-off-by: Tomasz Kulasek
---
app/test/test_cryptodev.c |8
" is 64 bytes long buffer and "iv + 128" point out of it, gcc 4.5.
SOLUTION:
-
Using uint8_t as a size of copied block prevents to evaluate in rte_memcpy
code for length bigger than 255, causing the problem.
v2 changes:
- added fixline
Fixes: 8bdf665fe6c0 ("app/t
: use buffered Tx")
Signed-off-by: Tomasz Kulasek
---
examples/l3fwd-acl/main.c |6 +-
examples/l3fwd-power/main.c |6 +-
2 files changed, 2 insertions(+), 10 deletions(-)
diff --git a/examples/l3fwd-acl/main.c b/examples/l3fwd-acl/main.c
index 3a895b7..55ee337 100644
--- a/exam
CID 13307 (#1 of 1): Copy into fixed size buffer (STRING_OVERFLOW)
fixed_size_dest: You might overrun the 128 byte fixed-size string fwd_modes
by copying fwd_eng->fwd_mode_name without checking the length.
Fixes: 769ce6b17835 ("app/testpmd: list forwarding engines")
Signed-off-by: T
1.
Fixes: fe3a45fd4104 ("ixgbe: add VMDq support")
Signed-off-by: Tomasz Kulasek
---
drivers/net/ixgbe/ixgbe_ethdev.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
index 3f1ebc1..f676a64 100644
---
1.
Fixes: fe3a45fd4104 ("ixgbe: add VMDq support")
Signed-off-by: Tomasz Kulasek
---
drivers/net/ixgbe/ixgbe_ethdev.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
index f676a64..6ae82e7 100644
---
ch.
Fixes: dc81ebbacaeb ("lpm: extend IPv4 next hop field")
Signed-off-by: Tomasz Kulasek
---
examples/performance-thread/l3fwd-thread/main.c | 45 ---
1 file changed, 24 insertions(+), 21 deletions(-)
diff --git a/examples/performance-thread/l3fwd-thread/main.c
b/
d mask
computation to made it more readable and avoid bit overflow when 32 bit
value is shifted over its size for pool > 31.
Fixes: fe3a45fd4104 ("ixgbe: add VMDq support")
Signed-off-by: Tomasz Kulasek
---
v2:
- joined two patches for same issue in tx/rx
- added pool parameter checkin
unted incorrectly causing segfault.
This patch eliminates intersection of assignment of initial group size
(lp[0] = 1) and precalculated group sizes when gptbl[v].idx < 4.
Fixes: d48415e1fee3 ("examples/performance-thread: add l3fwd-thread app")
Signed-off-by: Tomasz Kulasek
---
ze of destination port ids"), restoring 16 bit size
for destination port ids and doing necessary conversion from 32 to 16 bit
after lpm_lookupx4.
Fixes: dc81ebbacaeb ("lpm: extend IPv4 next hop field")
Signed-off-by: Tomasz Kulasek
---
v2:
- split into two patches
examples/performance
This fixes wrong logic in get_dst_port() on lpm path causing unpredictable
return value when ipv4/ipv6 lookup success (return with no value).
Fixes: dc81ebbacaeb ("lpm: extend IPv4 next hop field")
Signed-off-by: Tomasz Kulasek
---
v2:
- split into two patches
examples/performa
ndicates here first invalid packet. rte_eth_tx_prep
* can be used on remaining packets to find another ones.
*/
}
/* Send burst of TX packets */
nb_tx = rte_eth_tx_burst(port, 0, bufs, nb_prep);
/* Free any unsent packets. */
Tomasz Kulase
ndicates here first invalid packet. rte_eth_tx_prep
* can be used on remaining packets to find another ones.
*/
}
/* Send burst of TX packets */
nb_tx = rte_eth_tx_burst(port, 0, bufs, nb_prep);
/* Free any unsent packets. */
Tomasz Kulase
ackets full pseudo-header checksum is
counted and set.
- for TSO the IP payload length is not included.
Signed-off-by: Tomasz Kulasek
---
lib/librte_ether/rte_ethdev.h | 74 +++
lib/librte_mbuf/rte_mbuf.h|8 +++
lib/librte_net/Makefile
Signed-off-by: Tomasz Kulasek
---
drivers/net/e1000/e1000_ethdev.h | 11 +
drivers/net/e1000/em_ethdev.c|5 +++-
drivers/net/e1000/em_rxtx.c | 46 ++-
drivers/net/e1000/igb_ethdev.c |4 +++
drivers/net/e1000/igb_rxtx.c | 50
Signed-off-by: Tomasz Kulasek
---
drivers/net/fm10k/fm10k.h|9
drivers/net/fm10k/fm10k_ethdev.c |5 +++
drivers/net/fm10k/fm10k_rxtx.c | 87 +-
3 files changed, 100 insertions(+), 1 deletion(-)
diff --git a/drivers/net/fm10k/fm10k.h b
Signed-off-by: Tomasz Kulasek
---
drivers/net/i40e/i40e_ethdev.c |3 ++
drivers/net/i40e/i40e_rxtx.c | 98 +++-
drivers/net/i40e/i40e_rxtx.h | 10
3 files changed, 110 insertions(+), 1 deletion(-)
diff --git a/drivers/net/i40e/i40e_ethdev.c b
assed to the Tx preparation function before tx burst,
- added "txsplit" and "tso" functionality for outgoing packets.
Signed-off-by: Tomasz Kulasek
---
app/test-pmd/Makefile |3 +-
app/test-pmd/testpmd.c |1 +
app/test-pmd/testpmd.h |
Signed-off-by: Tomasz Kulasek
---
drivers/net/ixgbe/ixgbe_ethdev.c |3 ++
drivers/net/ixgbe/ixgbe_ethdev.h |8 +++-
drivers/net/ixgbe/ixgbe_rxtx.c | 83 +-
drivers/net/ixgbe/ixgbe_rxtx.h |2 +
4 files changed, 94 insertions(+), 2 deletions
intentionally available
v3 changes:
- reworked csum testpmd engine instead adding new one,
- fixed checksum initialization procedure to include also outer
checksum offloads,
- some minor formattings and optimalizations
v2 changes:
- rte_eth_tx_prep() returns number of packets when device doesn
626628/14252168 (~2.62% drop),
3) Full support in ixgbe driver (point 2 + packet checksum
initialization) is 14060924/13588094 (~3.48% drop)
Signed-off-by: Tomasz Kulasek
Acked-by: Konstantin Ananyev
Acked-by: Olivier Matz
---
config/common_base|1 +
lib/librte_ether/rte_ethdev.h
Signed-off-by: Tomasz Kulasek
Acked-by: Konstantin Ananyev
---
drivers/net/e1000/e1000_ethdev.h | 11
drivers/net/e1000/em_ethdev.c|5 +++-
drivers/net/e1000/em_rxtx.c | 48 ++-
drivers/net/e1000/igb_ethdev.c |4 +++
drivers/net
Signed-off-by: Tomasz Kulasek
Acked-by: Konstantin Ananyev
---
drivers/net/fm10k/fm10k.h|6 +
drivers/net/fm10k/fm10k_ethdev.c |5
drivers/net/fm10k/fm10k_rxtx.c | 50 +-
3 files changed, 60 insertions(+), 1 deletion(-)
diff
Signed-off-by: Tomasz Kulasek
Acked-by: Konstantin Ananyev
---
drivers/net/i40e/i40e_ethdev.c |3 ++
drivers/net/i40e/i40e_rxtx.c | 72 +++-
drivers/net/i40e/i40e_rxtx.h |8 +
3 files changed, 82 insertions(+), 1 deletion(-)
diff --git a
Signed-off-by: Tomasz Kulasek
Acked-by: Konstantin Ananyev
---
drivers/net/ixgbe/ixgbe_ethdev.c |3 ++
drivers/net/ixgbe/ixgbe_ethdev.h |5 +++-
drivers/net/ixgbe/ixgbe_rxtx.c | 56 ++
drivers/net/ixgbe/ixgbe_rxtx.h |2 ++
4 files changed
ration and verification.
Adding additional step to the csum engine costs about 3-4% of performance
drop, on my setup with ixgbe driver. It's caused mostly by the need
of reaccessing and modification of packet data.
Signed-off-by: Tomasz Kulasek
Acked-by: Konstantin Ananyev
---
app/tes
hen device doesn't
support tx_prep functionality,
- introduced CONFIG_RTE_ETHDEV_TX_PREP allowing to turn off tx_prep
Tomasz Kulasek (6):
ethdev: add Tx preparation
e1000: add Tx preparation
fm10k: add Tx preparation
i40e: add Tx preparation
ixgbe: add Tx preparation
csum: fixup
ap
ackets full pseudo-header checksum is
counted and set.
- for TSO the IP payload length is not included.
Signed-off-by: Tomasz Kulasek
---
config/common_base|1 +
lib/librte_ether/rte_ethdev.h | 85 +
lib/librte_mbuf/rte_mbuf.h
Signed-off-by: Tomasz Kulasek
---
drivers/net/e1000/e1000_ethdev.h | 11
drivers/net/e1000/em_ethdev.c|5 +++-
drivers/net/e1000/em_rxtx.c | 48 ++-
drivers/net/e1000/igb_ethdev.c |4 +++
drivers/net/e1000/igb_rxtx.c | 52
Signed-off-by: Tomasz Kulasek
---
drivers/net/i40e/i40e_ethdev.c |3 ++
drivers/net/i40e/i40e_rxtx.c | 72 +++-
drivers/net/i40e/i40e_rxtx.h |8 +
3 files changed, 82 insertions(+), 1 deletion(-)
diff --git a/drivers/net/i40e/i40e_ethdev.c b
Signed-off-by: Tomasz Kulasek
---
drivers/net/fm10k/fm10k.h|6 +
drivers/net/fm10k/fm10k_ethdev.c |5
drivers/net/fm10k/fm10k_rxtx.c | 50 +-
3 files changed, 60 insertions(+), 1 deletion(-)
diff --git a/drivers/net/fm10k/fm10k.h
Signed-off-by: Tomasz Kulasek
---
drivers/net/ixgbe/ixgbe_ethdev.c |3 ++
drivers/net/ixgbe/ixgbe_ethdev.h |5 +++-
drivers/net/ixgbe/ixgbe_rxtx.c | 58 +-
drivers/net/ixgbe/ixgbe_rxtx.h |2 ++
4 files changed, 66 insertions(+), 2 deletions
ed
of reaccessing and modification of packet data.
Signed-off-by: Tomasz Kulasek
---
app/test-pmd/csumonly.c | 36 +---
1 file changed, 13 insertions(+), 23 deletions(-)
diff --git a/app/test-pmd/csumonly.c b/app/test-pmd/csumonly.c
index f9e65b6..3354b3d 100644
--- a/app
hen device doesn't
support tx_prep functionality,
- introduced CONFIG_RTE_ETHDEV_TX_PREP allowing to turn off tx_prep
Tomasz Kulasek (6):
ethdev: add Tx preparation
e1000: add Tx preparation
fm10k: add Tx preparation
i40e: add Tx preparation
ixgbe: add Tx preparation
testpmd: use
floads, etc.) is 14626628/14252168 (~2.62% drop),
3) Full support in ixgbe driver (point 2 + packet checksum
initialization) is 14060924/13588094 (~3.48% drop)
Signed-off-by: Tomasz Kulasek
---
config/common_base|1 +
lib/librte_ether/rte_ethdev.h | 85
Signed-off-by: Tomasz Kulasek
---
drivers/net/e1000/e1000_ethdev.h | 11
drivers/net/e1000/em_ethdev.c|5 +++-
drivers/net/e1000/em_rxtx.c | 48 ++-
drivers/net/e1000/igb_ethdev.c |4 +++
drivers/net/e1000/igb_rxtx.c | 52
Signed-off-by: Tomasz Kulasek
---
drivers/net/fm10k/fm10k.h|6 +
drivers/net/fm10k/fm10k_ethdev.c |5
drivers/net/fm10k/fm10k_rxtx.c | 50 +-
3 files changed, 60 insertions(+), 1 deletion(-)
diff --git a/drivers/net/fm10k/fm10k.h
201 - 300 of 315 matches
Mail list logo