s received.
Signed-off-by: Hanumanth Pothula
---
app/test-pmd/testpmd.c | 40
app/test-pmd/testpmd.h | 3 +++
app/test-pmd/util.c| 4 ++--
3 files changed, 33 insertions(+), 14 deletions(-)
diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testp
s received.
Signed-off-by: Hanumanth Pothula
v9:
- Populate multi-mempool array based on mbuf_data_size_n instead
of rx_pkt_nb_segs.
---
app/test-pmd/testpmd.c | 62 ++
app/test-pmd/testpmd.h | 3 ++
app/test-pmd/util.c| 4 +--
3 files c
s received.
Signed-off-by: Hanumanth Pothula
v11:
- Resolve compilation and warning.
v10:
- Populate multi-mempool array based on mbuf_data_size_n instead
of rx_pkt_nb_segs.
---
app/test-pmd/testpmd.c | 63 +++---
app/test-pmd/testpmd.h | 3 ++
app/test-
Return with error on fail to initialize RoC Model.
Signed-off-by: Hanumanth Pothula
---
drivers/common/cnxk/roc_platform.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/common/cnxk/roc_platform.c
b/drivers/common/cnxk/roc_platform.c
index ebb6225f4d
lower bound check for HWGRPS and HWS.
Signed-off-by: Hanumanth Pothula
---
drivers/common/cnxk/roc_sso.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/common/cnxk/roc_sso.c b/drivers/common/cnxk/roc_sso.c
index f8a0a96533..8997e6f999 100644
--- a/drivers/common/cnxk
.
Signed-off-by: Hanumanth Pothula
---
drivers/common/cnxk/roc_npc.c | 19 +++
drivers/common/cnxk/roc_npc.h | 3 +++
drivers/common/cnxk/roc_npc_priv.h | 1 +
drivers/common/cnxk/version.map| 2 ++
drivers/net/cnxk/cn10k_ethdev.c| 26
.
Signed-off-by: Hanumanth Pothula
---
v2: Remove explicit initializations.
---
drivers/common/cnxk/roc_npc.c | 19 +++
drivers/common/cnxk/roc_npc.h | 3 +++
drivers/common/cnxk/roc_npc_priv.h | 1 +
drivers/common/cnxk/version.map| 2 ++
drivers/net/cnxk
By default dmac control register is set to reject packets
on mac address match, leading all unicast packets to drop.
Update DMAC control register to allow packets on MAC address
match rather than dropping.
Signed-off-by: Hanumanth Pothula
---
drivers/net/thunderx/base/nicvf_mbox.c | 12
rt --> tells pool sort capability is supported by HW.
2. max_npool --> max number of pools supported by HW.
Defined new structure rte_eth_rxseg_sort, to be used only when pool
sort capability is present. If required this may be extended further
to support more configurations.
Signed-off-by: H
alue.
Also, print pool name on which packet is received.
Signed-off-by: Hanumanth Pothula
---
app/test-pmd/testpmd.c | 31 ++-
app/test-pmd/util.c| 4 ++--
2 files changed, 24 insertions(+), 11 deletions(-)
diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testp
effective use of memory.
Signed-off-by: Hanumanth Pothula
---
doc/guides/nics/features/cnxk.ini | 1 +
doc/guides/nics/features/cnxk_vec.ini | 1 +
drivers/net/cnxk/cnxk_ethdev.c| 93 ---
drivers/net/cnxk/cnxk_ethdev.h| 4 +-
drivers/net/cnxk/cnxk_ethd
m HW based on the packet lengths. So that packets with
less than 2K are received on pool-1, packets with lengths between 2K
and 4K are received on pool-2 and finally packets greater than 4K
are received on pool-3.
Signed-off-by: Hanumanth Pothula
v4:
- Renamed Offload capability name from
also print pool name on which packet is received.
Signed-off-by: Hanumanth Pothula
---
app/test-pmd/testpmd.c | 41 +
app/test-pmd/testpmd.h | 3 +++
app/test-pmd/util.c| 4 ++--
3 files changed, 34 insertions(+), 14 deletions(-)
diff --git a/ap
t, thus enabling effective use of memory.
Signed-off-by: Hanumanth Pothula
---
doc/guides/nics/features/cnxk.ini | 1 +
doc/guides/nics/features/cnxk_vec.ini | 1 +
drivers/net/cnxk/cnxk_ethdev.c| 77 +++
drivers/net/cnxk/cnxk_ethdev.h| 4 +-
m HW based on the packet lengths. So that packets with
less than 2K are received on pool-1, packets with lengths between 2K
and 4K are received on pool-2 and finally packets greater than 4K
are received on pool-3.
Signed-off-by: Hanumanth Pothula
v5:
- Declared memory pools as struct rte_mempool **
t, thus enabling effective use of memory.
Signed-off-by: Hanumanth Pothula
---
doc/guides/nics/features/cnxk.ini | 1 +
doc/guides/nics/features/cnxk_vec.ini | 1 +
drivers/net/cnxk/cnxk_ethdev.c| 84 ---
drivers/net/cnxk/cnxk_ethdev.h| 4 +-
also print pool name on which packet is received.
Signed-off-by: Hanumanth Pothula
---
app/test-pmd/testpmd.c | 44 ++
app/test-pmd/testpmd.h | 3 +++
app/test-pmd/util.c| 4 ++--
3 files changed, 37 insertions(+), 14 deletions(-)
diff --git a/ap
m HW based on the packet lengths. So that packets with
less than 2K are received on pool-1, packets with lengths between 2K
and 4K are received on pool-2 and finally packets greater than 4K
are received on pool-3.
Signed-off-by: Hanumanth Pothula
v6:
- Updated release notes, release_22_11.rst.
v5
t, thus enabling effective use of memory.
Signed-off-by: Hanumanth Pothula
---
doc/guides/nics/features/cnxk.ini | 1 +
doc/guides/nics/features/cnxk_vec.ini | 1 +
drivers/net/cnxk/cnxk_ethdev.c| 84 ---
drivers/net/cnxk/cnxk_ethdev.h| 4 +-
also print pool name on which packet is received.
Signed-off-by: Hanumanth Pothula
---
app/test-pmd/testpmd.c | 44 ++
app/test-pmd/testpmd.h | 3 +++
app/test-pmd/util.c| 4 ++--
3 files changed, 37 insertions(+), 14 deletions(-)
diff --git a/ap
Presently, Rx metadata is sent to PMD by default, leading
to a performance drop as processing for the same in rx path
takes extra cycles.
Hence, introducing command line argument, 'nic-to-pmd-rx-metadata'
to control passing rx metadata to PMD. By default it’s disabled.
Signed-off-by:
s received.
Signed-off-by: Hanumanth Pothula
v12:
- Process multi-segment configuration on number segments
(rx_pkt_nb_segs) greater than 1 or buffer split offload
flag (RTE_ETH_RX_OFFLOAD_BUFFER_SPLIT) set.
v11:
- Resolve compilation and warning.
v10:
- Populate multi-mempool arra
s received.
Signed-off-by: Hanumanth Pothula
v13:
- Make sure protocol-based header split feature is not broken
by updating changes with latest code base.
v12:
- Process multi-segment configuration on number segments
(rx_pkt_nb_segs) greater than 1 or buffer split offlo
s received.
Signed-off-by: Hanumanth Pothula
v14:
- Rebased on tip of next-net/main
v13:
- Make sure protocol-based header split feature is not broken
by updating changes with latest code base.
v12:
- Process multi-segment configuration on number segments
(rx_pkt_nb_segs) greater than 1
Validate ethdev parameter 'max_rx_mempools' to know wheater device
supports multi-mempool feature or not.
Bugzilla ID: 1128
Signed-off-by: Hanumanth Pothula
---
app/test-pmd/testpmd.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/app/test-pmd/testpmd.c
Validate ethdev parameter 'max_rx_mempools' to know wheater device
supports multi-mempool feature or not.
Bugzilla ID: 1128
Signed-off-by: Hanumanth Pothula
v2:
- Rebased on tip of next-net/main
---
app/test-pmd/testpmd.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletio
Validate ethdev parameter 'max_rx_mempools' to know whether
device supports multi-mempool feature or not.
Bugzilla ID: 1128
Signed-off-by: Hanumanth Pothula
v3:
- Simplified conditional check.
- Corrected spell, whether.
v2:
- Rebased on tip of next-net/main.
---
app/test-pmd/tes
Validate ethdev parameter 'max_rx_mempools' to know whether
device supports multi-mempool feature or not.
Bugzilla ID: 1128
Signed-off-by: Hanumanth Pothula
v4:
- updated if condition.
v3:
- Simplified conditional check.
- Corrected spell, whether.
v2:
- Rebased on tip of nex
Validate ethdev parameter 'max_rx_mempools' to know whether
device supports multi-mempool feature or not.
Bugzilla ID: 1128
Signed-off-by: Hanumanth Pothula
v4:
- updated if condition.
v3:
- Simplified conditional check.
- Corrected spell, whether.
v2:
- Rebased on tip of nex
upport multiple mbuf pools per Rx queue")
Signed-off-by: Hanumanth Pothula
---
v5:
- Added testpmd argument to enable multi-mempool feature.
- Simplified logic to distinguish between multi-mempool,
multi-segment and single pool/segment.
v4:
- updated if condition.
v3:
- Simplifi
upport multiple mbuf pools per Rx queue")
Signed-off-by: Hanumanth Pothula
---
v6:
- Updated run_app.rst file with multi-mempool argument.
- defined and populated multi_mempool at related arguments.
- invoking rte_eth_dev_info_get() withing multi-mempool condition
v5:
- Added testpmd argu
upport multiple mbuf pools per Rx queue")
Signed-off-by: Hanumanth Pothula
---
v7:
- Update testpmd argument name from multi-mempool to multi-rx-mempool.
- Upated defination of testpmd argument, mbuf-size.
- Resolved indentations.
v6:
- Updated run_app.rst file with multi-mempool argu
ed flag as part of device reset, this helps
in reconfiguring porting cleanly. Rx metadata negotiation,
rte_eth_rx_metadata_negotiate(), is allowed only when dev_configured
flag is reset.
Signed-off-by: Hanumanth Pothula
---
v4:
- As per spec rte_eth_rx_metadata_negotiate() is processed
ow command requests are processed.
Signed-off-by: Hanumanth Pothula
---
app/test-pmd/cmdline.c | 58 +
app/test-pmd/config.c | 9
app/test-pmd/testpmd.c | 5 +-
doc/guides/testpmd_app_ug/testpmd_funcs.rst |
Presently, on device reset, ethdev configuration state,
dev_configured, is not reset.
On device reset, reset ethdev configuration state to make
sure device reconfiguration happens cleanly.
Signed-off-by: Hanumanth Pothula
---
v5:
- Move nic-to-pmd-rx-metadata declaration to struct rte_port.
v4
ow command requests are processed.
Signed-off-by: Hanumanth Pothula
---
app/test-pmd/cmdline.c | 58 +
app/test-pmd/config.c | 9
app/test-pmd/testpmd.c | 5 +-
app/test-pmd/testpmd.h |
Performance drop is observed by sending per packet rx
metadata (offloads).
Hence, introducing command line argument, 'rx-metadata' to
control passing rx metadata to PMD. By default it’s disabled.
Signed-off-by: Hanumanth Pothula
---
app/test-pmd/parameters.c | 4
app/test-pmd
ned-off-by: Hanumanth Pothula
Change-Id: If7b6bbc7489d3e9df89c63e000d71ea2f7fe9afd
---
app/test-pmd/parameters.c | 4
app/test-pmd/testpmd.c| 6 +-
app/test-pmd/testpmd.h| 2 ++
3 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/app/test-pmd/parameters.c b/app/test-pmd/pa
Presently, rx metadata is sent to PMD by default, leading
to a performance drop as processing for the same in rx path
takes extra cycles.
Hence, introducing command line argument, 'rx-metadata' to
control passing rx metadata to PMD. By default it’s disabled.
Signed-off-by: Hanuman
Presently, rx metadata is sent to PMD by default, leading
to a performance drop as processing for the same in rx path
takes extra cycles.
Hence, introducing command line argument, 'nic-to-pmd-rx-metadata'
to control passing rx metadata to PMD. By default it’s disabled.
Signed-off-by:
Presently, rx metadata is sent to PMD by default, leading
to a performance drop as processing for the same in rx path
takes extra cycles.
Hence, introducing command line argument, 'nic-to-pmd-rx-metadata'
to control passing rx metadata to PMD. By default it’s disabled.
Signed-off-by:
From: David Marchand
Start a new release cycle with empty release notes.
The ABI version becomes 23.0.
The map files are updated to the new ABI major number (23).
The ABI exceptions are dropped and CI ABI checks are disabled because
compatibility is not preserved.
Special handling of removed dri
Presently, rx metadata is sent to PMD by default, leading
to a performance drop as processing for the same in rx path
takes extra cycles.
Hence, introducing command line argument, 'nic-to-pmd-rx-metadata'
to control passing rx metadata to PMD. By default it’s disabled.
Signed-off-by:
ber of pools supported by HW.
Defined new structure rte_eth_rxseg_sort, to be used only when pool
sort capability is present. If required this may be extended further
to support more configurations.
Signed-off-by: Hanumanth Pothula
Change-Id: I5a2485a7919616902c468c
ber of pools supported by HW.
Defined new structure rte_eth_rxseg_sort, to be used only when pool
sort capability is present. If required this may be extended further
to support more configurations.
Signed-off-by: Hanumanth Pothula
v2:
- Along with spec changes, uploading testpmd a
command line argument, '--rxseg-mode=2'.
Signed-off-by: Hanumanth Pothula
---
app/test-pmd/parameters.c | 16
app/test-pmd/testpmd.c| 35 ++-
app/test-pmd/testpmd.h| 2 ++
app/test-pmd/util.c | 4 ++--
4 files changed, 46
effective use of memory.
Signed-off-by: Hanumanth Pothula
---
doc/guides/nics/features/cnxk.ini | 1 +
doc/guides/nics/features/cnxk_vec.ini | 1 +
drivers/net/cnxk/cnxk_ethdev.c| 93 ---
drivers/net/cnxk/cnxk_ethdev.h| 4 +-
drivers/net/cnxk/cnxk_ethd
Also, during the cleanup, make sure PFC tree is not created.
Signed-off-by: Hanumanth Pothula
---
drivers/net/cnxk/cnxk_ethdev.c | 2 +-
drivers/net/cnxk/cnxk_ethdev_ops.c | 6 --
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/net/cnxk/cnxk_ethdev.c b/drivers
programmed correctly.
Signed-off-by: Hanumanth Pothula
---
drivers/net/cnxk/cn10k_tx.h | 8
drivers/net/cnxk/cn9k_tx.h | 8
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/net/cnxk/cn10k_tx.h b/drivers/net/cnxk/cn10k_tx.h
index ea13866b20..fb33e7150b
The last argument passed to ssovf_parsekv() is an
unsigned char*, but it is accessed as an integer.
This can lead to an integer overflow.
Hence, make ensure the argument is accessed as a char
and for better error handling use strtol instead of atoi.
Signed-off-by: Hanumanth Pothula
---
drivers
The last argument passed to ssovf_parsekv() is an
unsigned char*, but it is accessed as an integer.
This can lead to an integer overflow.
Hence, make ensure the argument is accessed as a char
and for better error handling use strtol instead of atoi.
Signed-off-by: Hanumanth Pothula
---
v2: use
event/octeontx: add selftest to device arguments")
Signed-off-by: Hanumanth Pothula
---
v2: Use strtoul instead of strtol
v3: Add value boundry check. Here, value can be either 0 or 1.
v4: Commit text update
---
drivers/event/octeontx/ssovf_evdev.c | 16 +---
1 file changed, 13
The last argument passed to ssovf_parsekv() is an
unsigned char*, but it is accessed as an integer.
This can lead to an integer overflow.
Hence, make ensure the argument is accessed as a char
and for better error handling use strtol instead of atoi.
Signed-off-by: Hanumanth Pothula
---
v2: use
53 matches
Mail list logo