#
32767b9d |
| 22-May-2024 |
Ajit Khaparde <ajit.khaparde@broadcom.com> |
net/bnxt: fix vector mode for P7 devices
Fix vector code to update the producer index correctly especially for P7 devices where the code needs to handle epoch bit indication correctly to the hardwar
net/bnxt: fix vector mode for P7 devices
Fix vector code to update the producer index correctly especially for P7 devices where the code needs to handle epoch bit indication correctly to the hardware.
Fixes: 30656a1cace8 ("net/bnxt: refactor epoch setting") Cc: stable@dpdk.org
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
e6e8f03e |
| 21-Apr-2023 |
Randy Schacher <stuart.schacher@broadcom.com> |
net/bnxt: update copyright date and cleanup whitespace
Update the Copyright to 2023 Clean up extra blank lines Clean up other whitespace issues
Signed-off-by: Randy Schacher <stuart.schacher@broadc
net/bnxt: update copyright date and cleanup whitespace
Update the Copyright to 2023 Clean up extra blank lines Clean up other whitespace issues
Signed-off-by: Randy Schacher <stuart.schacher@broadcom.com> Reviewed-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
295968d1 |
| 22-Oct-2021 |
Ferruh Yigit <ferruh.yigit@intel.com> |
ethdev: add namespace
Add 'RTE_ETH' namespace to all enums & macros in a backward compatible way. The macros for backward compatibility can be removed in next LTS. Also updated some struct names to
ethdev: add namespace
Add 'RTE_ETH' namespace to all enums & macros in a backward compatible way. The macros for backward compatibility can be removed in next LTS. Also updated some struct names to have 'rte_eth' prefix.
All internal components switched to using new names.
Syntax fixed on lines that this patch touches.
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com> Acked-by: Tyler Retzlaff <roretzla@linux.microsoft.com> Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru> Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com> Acked-by: Jerin Jacob <jerinj@marvell.com> Acked-by: Wisam Jaddo <wisamm@nvidia.com> Acked-by: Rosen Xu <rosen.xu@intel.com> Acked-by: Chenbo Xia <chenbo.xia@intel.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com> Acked-by: Somnath Kotur <somnath.kotur@broadcom.com>
show more ...
|
#
527b1008 |
| 06-Mar-2021 |
Lance Richardson <lance.richardson@broadcom.com> |
net/bnxt: optimize Tx completion handling
Avoid copying mbuf pointers to separate array for bulk mbuf free when handling transmit completions for vector mode transmit.
Signed-off-by: Lance Richards
net/bnxt: optimize Tx completion handling
Avoid copying mbuf pointers to separate array for bulk mbuf free when handling transmit completions for vector mode transmit.
Signed-off-by: Lance Richardson <lance.richardson@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
2addc463 |
| 27-Jan-2021 |
Ajit Khaparde <ajit.khaparde@broadcom.com> |
net/bnxt: update copyright year
Update copyright year in various files.
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com> Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com> Reviewed-by
net/bnxt: update copyright year
Update copyright year in various files.
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com> Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com> Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
show more ...
|
#
c7de4195 |
| 07-Dec-2020 |
Ajit Khaparde <ajit.khaparde@broadcom.com> |
net/bnxt: modify ring index logic
Change the ring logic so that the index increments unbounded and mask it only when needed.
Modify the existing macros so that the index is not masked. Add a new ma
net/bnxt: modify ring index logic
Change the ring logic so that the index increments unbounded and mask it only when needed.
Modify the existing macros so that the index is not masked. Add a new macro RING_IDX() to mask it only when needed.
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com> Acked-by: Lance Richardson <lance.richardson@broadcom.com>
show more ...
|
#
fc544b54 |
| 09-Oct-2020 |
Lance Richardson <lance.richardson@broadcom.com> |
net/bnxt: fix non-vector fast mbuf free offload
The fast mbuf free offload for non-vector mode requires additional checks in order to handle long tx buffer descriptors, so dedicated functions are ne
net/bnxt: fix non-vector fast mbuf free offload
The fast mbuf free offload for non-vector mode requires additional checks in order to handle long tx buffer descriptors, so dedicated functions are needed for vector- and non-vector-modes.
Fixes: 369f6077c515 ("net/bnxt: support fast mbuf free")
Signed-off-by: Lance Richardson <lance.richardson@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
369f6077 |
| 06-Oct-2020 |
Lance Richardson <lance.richardson@broadcom.com> |
net/bnxt: support fast mbuf free
Add support for DEV_TX_OFFLOAD_MBUF_FAST_FREE to bnxt vector mode transmit. This offload may be enabled only when multi-segment transmit is not needed, all transmitt
net/bnxt: support fast mbuf free
Add support for DEV_TX_OFFLOAD_MBUF_FAST_FREE to bnxt vector mode transmit. This offload may be enabled only when multi-segment transmit is not needed, all transmitted mbufs for a given queue will be allocated from the same pool, and all transmitted mbufs will have a reference count of 1.
Signed-off-by: Lance Richardson <lance.richardson@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
deae8514 |
| 09-Sep-2020 |
Lance Richardson <lance.richardson@broadcom.com> |
net/bnxt: handle multiple packets per loop in vector Rx
Process four receive descriptors per inner loop in vector mode burst receive functions.
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.co
net/bnxt: handle multiple packets per loop in vector Rx
Process four receive descriptors per inner loop in vector mode burst receive functions.
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com> Signed-off-by: Lance Richardson <lance.richardson@broadcom.com>
show more ...
|
#
efc60c0f |
| 09-Sep-2020 |
Lance Richardson <lance.richardson@broadcom.com> |
net/bnxt: optimize vector path mbuf allocation
Simplify and optimize receive mbuf allocation function used by the vector mode PMDs.
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com> Signed-of
net/bnxt: optimize vector path mbuf allocation
Simplify and optimize receive mbuf allocation function used by the vector mode PMDs.
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com> Signed-off-by: Lance Richardson <lance.richardson@broadcom.com>
show more ...
|
#
cec43bbf |
| 09-Sep-2020 |
Lance Richardson <lance.richardson@broadcom.com> |
net/bnxt: improve small ring sizes support
Improve support for small ring sizes: - Ensure that transmit free threshold is no more than 1/4 ring size. - Ensure that receive free threshold is no
net/bnxt: improve small ring sizes support
Improve support for small ring sizes: - Ensure that transmit free threshold is no more than 1/4 ring size. - Ensure that receive free threshold is no more than 1/4 ring size. - Validate requested ring sizes against minimum supported size. - Use rxq receive free threshold instead of fixed maximum burst size to trigger bulk receive buffer allocation.
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com> Signed-off-by: Lance Richardson <lance.richardson@broadcom.com>
show more ...
|
#
39835834 |
| 07-Jul-2020 |
Lance Richardson <lance.richardson@broadcom.com> |
net/bnxt: support NEON
Add bnxt vector PMD support using NEON SIMD instructions. Also update the 20.08 release notes with this information.
Signed-off-by: Lance Richardson <lance.richardson@broadco
net/bnxt: support NEON
Add bnxt vector PMD support using NEON SIMD instructions. Also update the 20.08 release notes with this information.
Signed-off-by: Lance Richardson <lance.richardson@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com> Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
show more ...
|