#
27595cd8 |
| 15-Apr-2024 |
Tyler Retzlaff <roretzla@linux.microsoft.com> |
drivers: move alignment attribute on types for MSVC
Move location of __rte_aligned(a) to new conventional location. The new placement between {struct,union} and the tag allows the desired alignment
drivers: move alignment attribute on types for MSVC
Move location of __rte_aligned(a) to new conventional location. The new placement between {struct,union} and the tag allows the desired alignment to be imparted on the type regardless of the toolchain being used for both C and C++. Additionally, it avoids confusion by Doxygen when generating documentation.
Signed-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com> Acked-by: Morten Brørup <mb@smartsharesystems.com>
show more ...
|
#
971d2b57 |
| 11-Aug-2023 |
Tyler Retzlaff <roretzla@linux.microsoft.com> |
remove C11 compatibility macro
C11 conformant compiler is documented as a minimum requirement to build and consume DPDK. Remove use of RTE_STD_C11 macro marking use of C11 features with __extension_
remove C11 compatibility macro
C11 conformant compiler is documented as a minimum requirement to build and consume DPDK. Remove use of RTE_STD_C11 macro marking use of C11 features with __extension__ since it is no longer necessary and then remove definition of RTE_STD_C11 macro.
Signed-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com> Reviewed-by: Morten Brørup <mb@smartsharesystems.com>
show more ...
|
#
23c97a67 |
| 15-Nov-2021 |
Conor Walsh <conor.walsh@intel.com> |
net/octeontx: remove unused packet length
Reported by clang 13.
Bugzilla ID: 881 Fixes: 9eb5cb3b11cc ("net/octeontx: fix access to indirect buffers")
Reported-by: Liang Longfeng <longfengx.liang@i
net/octeontx: remove unused packet length
Reported by clang 13.
Bugzilla ID: 881 Fixes: 9eb5cb3b11cc ("net/octeontx: fix access to indirect buffers")
Reported-by: Liang Longfeng <longfengx.liang@intel.com> Signed-off-by: Conor Walsh <conor.walsh@intel.com> Reviewed-by: David Marchand <david.marchand@redhat.com>
show more ...
|
#
daa02b5c |
| 15-Oct-2021 |
Olivier Matz <olivier.matz@6wind.com> |
mbuf: add namespace to offload flags
Fix the mbuf offload flags namespace by adding an RTE_ prefix to the name. The old flags remain usable, but a deprecation warning is issued at compilation.
Sign
mbuf: add namespace to offload flags
Fix the mbuf offload flags namespace by adding an RTE_ prefix to the name. The old flags remain usable, but a deprecation warning is issued at compilation.
Signed-off-by: Olivier Matz <olivier.matz@6wind.com> Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru> Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com> Acked-by: Somnath Kotur <somnath.kotur@broadcom.com>
show more ...
|
#
ad276d5c |
| 19-Oct-2021 |
Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru> |
mempool: add namespace to internal helpers
Add RTE_ prefix to internal API defined in public header. Use the prefix instead of double underscore. Use uppercase for macros in the case of name conflic
mempool: add namespace to internal helpers
Add RTE_ prefix to internal API defined in public header. Use the prefix instead of double underscore. Use uppercase for macros in the case of name conflict.
Signed-off-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru> Acked-by: Olivier Matz <olivier.matz@6wind.com>
show more ...
|
#
9eb5cb3b |
| 20-Sep-2021 |
Harman Kalra <hkalra@marvell.com> |
net/octeontx: fix access to indirect buffers
Issue has been observed where fields of indirect buffers are accessed after being set free by the diver. Also fixing freeing of direct buffers to correct
net/octeontx: fix access to indirect buffers
Issue has been observed where fields of indirect buffers are accessed after being set free by the diver. Also fixing freeing of direct buffers to correct aura.
Fixes: 5cbe184802aa ("net/octeontx: support fast mbuf free") Cc: stable@dpdk.org
Signed-off-by: David George <david.george@sophos.com> Signed-off-by: Harman Kalra <hkalra@marvell.com> Acked-by: Jerin Jacob <jerinj@marvell.com>
show more ...
|
#
df96fd0d |
| 29-Jan-2021 |
Bruce Richardson <bruce.richardson@intel.com> |
ethdev: make driver-only headers private
The rte_ethdev_driver.h, rte_ethdev_vdev.h and rte_ethdev_pci.h files are for drivers only and should be a private to DPDK and not installed.
Signed-off-by:
ethdev: make driver-only headers private
The rte_ethdev_driver.h, rte_ethdev_vdev.h and rte_ethdev_pci.h files are for drivers only and should be a private to DPDK and not installed.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com> Acked-by: Thomas Monjalon <thomas@monjalon.net> Acked-by: Steven Webster <steven.webster@windriver.com>
show more ...
|
#
b805cd81 |
| 28-Jul-2020 |
Pavan Nikhilesh <pbhagavatula@marvell.com> |
net/octeontx: fix Tx preparation
When building send command for a given descriptor it expects it to contain the AURA identifier of the pool that it belongs to rather than the pool identifier itself.
net/octeontx: fix Tx preparation
When building send command for a given descriptor it expects it to contain the AURA identifier of the pool that it belongs to rather than the pool identifier itself.
Fixes: 7f4116bdbb1c ("net/octeontx: add framework for Rx/Tx offloads") Cc: stable@dpdk.org
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com> Acked-by: Jerin Jacob <jerinj@marvell.com>
show more ...
|
#
f0f5d844 |
| 23-Sep-2020 |
Phil Yang <phil.yang@arm.com> |
eal: remove deprecated coherent IO memory barriers
Since the 20.08 release deprecated rte_cio_*mb APIs because these APIs provide the same functionality as rte_io_*mb APIs on all platforms, so remov
eal: remove deprecated coherent IO memory barriers
Since the 20.08 release deprecated rte_cio_*mb APIs because these APIs provide the same functionality as rte_io_*mb APIs on all platforms, so remove them and use rte_io_*mb instead.
Signed-off-by: Phil Yang <phil.yang@arm.com> Signed-off-by: Joyce Kong <joyce.kong@arm.com> Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com> Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com> Acked-by: David Marchand <david.marchand@redhat.com>
show more ...
|
#
cf55f04a |
| 28-Apr-2020 |
Harman Kalra <hkalra@marvell.com> |
event/octeontx: support Rx/Tx checksum offload
Adding support for rx checksum offload. In case of wrong checksum received (inner/outer l3/l4) it reports the corresponding layer which has bad checksu
event/octeontx: support Rx/Tx checksum offload
Adding support for rx checksum offload. In case of wrong checksum received (inner/outer l3/l4) it reports the corresponding layer which has bad checksum. It also adds rx burst function pointer hook for rx checksum offload to event PMD.
Signed-off-by: Harman Kalra <hkalra@marvell.com> Acked-by: Jerin Jacob <jerinj@marvell.com>
show more ...
|
#
45231cc6 |
| 28-Apr-2020 |
Vamsi Attunuru <vattunuru@marvell.com> |
event/octeontx: support VLAN filter offload
Adding rx burst function pointer hooks for vlan filter offload in event PMD.
Signed-off-by: Vamsi Attunuru <vattunuru@marvell.com> Acked-by: Jerin Jacob
event/octeontx: support VLAN filter offload
Adding rx burst function pointer hooks for vlan filter offload in event PMD.
Signed-off-by: Vamsi Attunuru <vattunuru@marvell.com> Acked-by: Jerin Jacob <jerinj@marvell.com>
show more ...
|
#
56a96aa4 |
| 28-Apr-2020 |
Harman Kalra <hkalra@marvell.com> |
event/octeontx: add framework for Rx/Tx offloads
Adding macro based framework to hook dequeue/enqueue function pointers to the appropriate function based on rx/tx offloads.
Signed-off-by: Harman Ka
event/octeontx: add framework for Rx/Tx offloads
Adding macro based framework to hook dequeue/enqueue function pointers to the appropriate function based on rx/tx offloads.
Signed-off-by: Harman Kalra <hkalra@marvell.com> Acked-by: Jerin Jacob <jerinj@marvell.com>
show more ...
|
#
100f6992 |
| 16-Mar-2020 |
Harman Kalra <hkalra@marvell.com> |
net/octeontx: support Rx/Tx checksum offload
This patch implements rx/tx checksum offload. In case of wrong checksum received (inner/outer l3/l4) it reports the corresponding layer which has bad che
net/octeontx: support Rx/Tx checksum offload
This patch implements rx/tx checksum offload. In case of wrong checksum received (inner/outer l3/l4) it reports the corresponding layer which has bad checksum and also corrects it if hw checksum is enabled on tx side.
Signed-off-by: Harman Kalra <hkalra@marvell.com>
show more ...
|
#
56139e85 |
| 16-Mar-2020 |
Vamsi Attunuru <vattunuru@marvell.com> |
net/octeontx: support VLAN filter offload
Patch adds support for vlan filter offload support. MBOX messages for vlan filter on/off and vlan filter entry add/rm are added to configure PCAM entries to
net/octeontx: support VLAN filter offload
Patch adds support for vlan filter offload support. MBOX messages for vlan filter on/off and vlan filter entry add/rm are added to configure PCAM entries to filter out the vlan traffic on a given port.
Patch also defines rx_offload_flag for vlan filtering.
Signed-off-by: Vamsi Attunuru <vattunuru@marvell.com> Acked-by: Harman Kalra <hkalra@marvell.com>
show more ...
|
#
5cbe1848 |
| 16-Mar-2020 |
Harman Kalra <hkalra@marvell.com> |
net/octeontx: support fast mbuf free
This patch adds capability to fast release of mbuf following successful transmission.
Signed-off-by: Harman Kalra <hkalra@marvell.com>
|
#
7f4116bd |
| 16-Mar-2020 |
Harman Kalra <hkalra@marvell.com> |
net/octeontx: add framework for Rx/Tx offloads
Adding macro based framework to hook rx/tx burst function pointers to the appropriate function based on rx/tx offloads.
Signed-off-by: Harman Kalra <h
net/octeontx: add framework for Rx/Tx offloads
Adding macro based framework to hook rx/tx burst function pointers to the appropriate function based on rx/tx offloads.
Signed-off-by: Harman Kalra <hkalra@marvell.com>
show more ...
|
#
85221a0c |
| 16-Mar-2020 |
Harman Kalra <hkalra@marvell.com> |
net/octeontx: support multi segment
Adding multi segment support to the octeontx PMD. Also adding the logic to share rx/tx ofloads with the eventdev code.
Signed-off-by: Harman Kalra <hkalra@marvel
net/octeontx: support multi segment
Adding multi segment support to the octeontx PMD. Also adding the logic to share rx/tx ofloads with the eventdev code.
Signed-off-by: Harman Kalra <hkalra@marvell.com>
show more ...
|
#
e3866e73 |
| 09-Feb-2020 |
Thomas Monjalon <thomas@monjalon.net> |
replace hot attributes
The new macro __rte_hot, for compiler hinting, is now used where appropriate for consistency.
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
|
#
1dedffeb |
| 28-Sep-2018 |
Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> |
event/octeontx: support Tx adapter
Add Tx adapter support and move few routines around to avoid code duplication.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Jerin Ja
event/octeontx: support Tx adapter
Add Tx adapter support and move few routines around to avoid code duplication.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
show more ...
|
#
ffc905f3 |
| 22-Jan-2018 |
Ferruh Yigit <ferruh.yigit@intel.com> |
ethdev: separate driver APIs
Create a rte_ethdev_driver.h file and move PMD specific APIs here. Drivers updated to include this new header file.
There is no update in header content and since ethde
ethdev: separate driver APIs
Create a rte_ethdev_driver.h file and move PMD specific APIs here. Drivers updated to include this new header file.
There is no update in header content and since ethdev.h included by ethdev_driver.h, nothing changed from driver point of view, only logically grouping of APIs. From applications point of view they can't access to driver specific APIs anymore and they shouldn't.
More PMD specific data structures still remain in ethdev.h because of inline functions in header use them. Those will be handled separately.
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com> Acked-by: Shreyansh Jain <shreyansh.jain@nxp.com> Acked-by: Andrew Rybchenko <arybchenko@solarflare.com> Acked-by: Thomas Monjalon <thomas@monjalon.net>
show more ...
|
#
aaf4363e |
| 08-Jan-2018 |
Jerin Jacob <jerin.jacob@caviumnetworks.com> |
drivers: use SPDX tag for Cavium copyright files
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
|
#
d0d65498 |
| 24-Oct-2017 |
Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> |
net/octeontx: support event Rx adapter
Add functions to modify and delete qos responsible for mapping eth queues to event queues used for configuring event Rx adapter. The mbox functions have been m
net/octeontx: support event Rx adapter
Add functions to modify and delete qos responsible for mapping eth queues to event queues used for configuring event Rx adapter. The mbox functions have been moved from octeontx_pkivf.c to octeontx_pkivf.h to allow event_octeontx to access them.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com>
show more ...
|
#
2d2c7918 |
| 08-Oct-2017 |
Jerin Jacob <jerin.jacob@caviumnetworks.com> |
net/octeontx: add packet receive burst function
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Signed-off-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>
|
#
9e747589 |
| 08-Oct-2017 |
Jerin Jacob <jerin.jacob@caviumnetworks.com> |
net/octeontx: add packet transmit burst function
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Signed-off-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>
|