#
b21302a1 |
| 11-Oct-2019 |
Nipun Gupta <nipun.gupta@nxp.com> |
eventdev: add Tx flag for packets with same destination
This patch introduces a `flag` in the Eth TX adapter enqueue API. Some drivers may support burst functionality only with the packets having sa
eventdev: add Tx flag for packets with same destination
This patch introduces a `flag` in the Eth TX adapter enqueue API. Some drivers may support burst functionality only with the packets having same destination device and queue.
The flag `RTE_EVENT_ETH_TX_ADAPTER_ENQUEUE_SAME_DEST` can be used to indicate this so the underlying driver, for drivers to utilize burst functionality appropriately.
Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com> Acked-by: Jerin Jacob <jerinj@marvell.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
show more ...
|
#
97573583 |
| 28-Oct-2018 |
Ferruh Yigit <ferruh.yigit@intel.com> |
fix global variable issues
Various fixes related to the global variable usage.
Fixes: 43e610bb8565 ("compress/octeontx: introduce octeontx zip PMD") Fixes: c378f084d6e3 ("compress/octeontx: add dev
fix global variable issues
Various fixes related to the global variable usage.
Fixes: 43e610bb8565 ("compress/octeontx: introduce octeontx zip PMD") Fixes: c378f084d6e3 ("compress/octeontx: add device setup ops") Fixes: b43ebc65aada ("compress/octeontx: create private xform") Fixes: b1ce8ebd97ba ("eventdev: add PMD callbacks for eth Rx adapter") Fixes: 3810ae435783 ("eventdev: add interrupt driven queues to Rx adapter") Fixes: fefed3d1e62c ("enic: new driver") Cc: stable@dpdk.org
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com> Reviewed-by: Nikhil Rao <nikhil.rao@intel.com> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
show more ...
|
#
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 ...
|
#
56aa489e |
| 19-Jul-2018 |
Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> |
event/octeontx: remove unnecessary port start and stop
Modifying port state is not necessary when starting/stopping Rx adapter as it is same as starting/stopping ethdev.
Fixes: 45a914c5bd71 ("event
event/octeontx: remove unnecessary port start and stop
Modifying port state is not necessary when starting/stopping Rx adapter as it is same as starting/stopping ethdev.
Fixes: 45a914c5bd71 ("event/octeontx: support event Rx adapter") Cc: stable@dpdk.org
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
show more ...
|
#
f8e99896 |
| 18-Jun-2018 |
Thomas Monjalon <thomas@monjalon.net> |
remove useless constructor headers
A constructor is usually declared with RTE_INIT* macros. As it is a static function, no need to declare before its definition. The macro is used directly in the fu
remove useless constructor headers
A constructor is usually declared with RTE_INIT* macros. As it is a static function, no need to declare before its definition. The macro is used directly in the function definition.
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
show more ...
|
#
d1925c87 |
| 09-Apr-2018 |
Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> |
event/octeontx: add event timer stats get and reset
Add functions to get and reset event timer adapter stats.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com>
|
#
f874c1eb |
| 09-Apr-2018 |
Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> |
event/octeontx: create and free timer adapter
When the application requests to create a timer device, Octeontx TIM create does the following: - Get the requested TIMvf ring based on adapter_id. - Ve
event/octeontx: create and free timer adapter
When the application requests to create a timer device, Octeontx TIM create does the following: - Get the requested TIMvf ring based on adapter_id. - Verify the config parameters supplied. - Allocate memory required for * Buckets based on min and max timeout supplied. * Allocate the chunk pool based on the number of timers. - Clear the interrupts.
On Free: - Free the allocated bucket and chunk memory. - Free private data used by TIMvf.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com>
show more ...
|
#
8384f0e0 |
| 20-Mar-2018 |
Jerin Jacob <jerin.jacob@caviumnetworks.com> |
event/octeontx: support device stop flush callback
Add support for stop flush callback along with unit test.
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Acked-by: Gage Eads <gage.ea
event/octeontx: support device stop flush callback
Add support for stop flush callback along with unit test.
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Acked-by: Gage Eads <gage.eads@intel.com>
show more ...
|
#
d593a817 |
| 02-Apr-2018 |
Gage Eads <gage.eads@intel.com> |
eventdev: add device stop flush callback
When an event device is stopped, it drains all event queues and ports. These events may contain pointers, so to prevent memory leaks eventdev now supports a
eventdev: add device stop flush callback
When an event device is stopped, it drains all event queues and ports. These events may contain pointers, so to prevent memory leaks eventdev now supports a user-provided flush callback that is called during the queue drain process. This callback is stored in process memory, so the callback must be registered by any process that may call rte_event_dev_stop().
This commit also clarifies the behavior of rte_event_dev_stop().
This follows this mailing list discussion: http://dpdk.org/ml/archives/dev/2018-January/087484.html
Signed-off-by: Gage Eads <gage.eads@intel.com> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
show more ...
|
#
d8dd3165 |
| 04-Apr-2018 |
Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> |
common/octeontx: move mbox to common folder
Move commonly used functions across mempool, event and net devices to a common folder in drivers.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetw
common/octeontx: move mbox to common folder
Move commonly used functions across mempool, event and net devices to a common folder in drivers.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Acked-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>
show more ...
|
#
1a0eab3a |
| 25-Jan-2018 |
Harry van Haaren <harry.van.haaren@intel.com> |
drivers/octeontx: align dynamic log names with standard
This commit aligns the names for dynamic logging with the newly defined logging format.
Signed-off-by: Harry van Haaren <harry.van.haaren@int
drivers/octeontx: align dynamic log names with standard
This commit aligns the names for dynamic logging with the newly defined logging format.
Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Acked-by: Santosh Shukla <santosh.shukla@caviumnetworks.com> Acked-by: Bruce Richardson <bruce.richardson@intel.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 ...
|
#
3516327e |
| 11-Jan-2018 |
Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> |
event/octeontx: add selftest to device arguments
Add selftest as a device argument that can be enabled by suppling 'self_test=1' as a vdev parameter
--vdev="event_octeontx,self_test=1"
The selfte
event/octeontx: add selftest to device arguments
Add selftest as a device argument that can be enabled by suppling 'self_test=1' as a vdev parameter
--vdev="event_octeontx,self_test=1"
The selftest is run after vdev creation is successfully complete.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
show more ...
|
#
c54b7866 |
| 11-Jan-2018 |
Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> |
event/octeontx: update selftest ops
Update octeontx eventdev ops to invoke selftest when application invokes `rte_event_dev_selftest`.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.co
event/octeontx: update selftest ops
Update octeontx eventdev ops to invoke selftest when application invokes `rte_event_dev_selftest`.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
show more ...
|
#
83017147 |
| 09-Jan-2018 |
Liang Ma <liang.j.ma@intel.com> |
event/octeontx: apply new capability flags
Signed-off-by: Liang Ma <liang.j.ma@intel.com> Signed-off-by: Peter Mccarthy <peter.mccarthy@intel.com>
|
#
ec36d881 |
| 11-Dec-2017 |
Gage Eads <gage.eads@intel.com> |
eventdev: add implicit release disable capability
This commit introduces a capability for disabling the "implicit" release functionality for a port, which prevents the eventdev PMD from issuing outs
eventdev: add implicit release disable capability
This commit introduces a capability for disabling the "implicit" release functionality for a port, which prevents the eventdev PMD from issuing outstanding releases for previously dequeued events when dequeuing a new batch of events.
If a PMD does not support this capability, the application will receive an error if it attempts to setup a port with implicit releases disabled. Otherwise, if the port is configured with implicit releases disabled, the application must release each dequeued event by invoking rte_event_enqueue_burst() with RTE_EVENT_OP_RELEASE or RTE_EVENT_OP_FORWARD.
Signed-off-by: Gage Eads <gage.eads@intel.com> Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
show more ...
|
#
6ff17178 |
| 19-Dec-2017 |
Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> |
event/octeontx: implement dynamic logging
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Santosh Shukla <santosh.shukla@caviumnetworks.com> Acked-by: Stephen Hemminger <s
event/octeontx: implement dynamic logging
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Santosh Shukla <santosh.shukla@caviumnetworks.com> Acked-by: Stephen Hemminger <stephen@networkplumber.org>
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>
|
#
d4a586d2 |
| 07-Nov-2017 |
Jianfeng Tan <jianfeng.tan@intel.com> |
bus/vdev: move code from EAL into a new driver
Move the vdev bus from lib/librte_eal to drivers/bus.
As the crypto vdev helper function refers to data structure in rte_vdev.h, so we move those help
bus/vdev: move code from EAL into a new driver
Move the vdev bus from lib/librte_eal to drivers/bus.
As the crypto vdev helper function refers to data structure in rte_vdev.h, so we move those helper function into drivers/bus too.
Signed-off-by: Jianfeng Tan <jianfeng.tan@intel.com>
show more ...
|
#
4c00cfdc |
| 04-Nov-2017 |
Thomas Monjalon <thomas@monjalon.net> |
remove useless memzone includes
The memzone header is often included without good reason.
Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
|
#
9f9fad8f |
| 25-Oct-2017 |
Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> |
eventdev: remove schedule API
remove eventdev schedule api and enforce sw driver to use service core feature for event scheduling.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> A
eventdev: remove schedule API
remove eventdev schedule api and enforce sw driver to use service core feature for event scheduling.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
show more ...
|
#
45a914c5 |
| 24-Oct-2017 |
Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> |
event/octeontx: support event Rx adapter
Add Rx adapter queue add and delete API for both generic eth_devices as well as HW backed eth_octeontx which supports direct event injection to event device.
event/octeontx: support event Rx adapter
Add Rx adapter queue add and delete API for both generic eth_devices as well as HW backed eth_octeontx which supports direct event injection to event device. The HW injected event needs to be converted into mbuf, previously this was done in eth_octeontx during rx_burst now it is moved to event_octeontx as events from Rx adapter are dequeued directly from event device.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Reviewed-by: Nikhil Rao <nikhil.rao@intel.com>
show more ...
|
#
3abcd29f |
| 08-Jul-2017 |
Jerin Jacob <jerin.jacob@caviumnetworks.com> |
update Cavium Inc copyright headers
Replace the incorrect reference to "Cavium Networks", "Cavium Ltd" company name with correct the "Cavium, Inc" company name in copyright headers.
Signed-off-by:
update Cavium Inc copyright headers
Replace the incorrect reference to "Cavium Networks", "Cavium Ltd" company name with correct the "Cavium, Inc" company name in copyright headers.
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
show more ...
|
#
e88d2bef |
| 29-Jun-2017 |
Jerin Jacob <jerin.jacob@caviumnetworks.com> |
event/octeontx: add enqueue fwd op variant
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Acked-by: Gage Eads <gage.eads@intel.com> Acked-by: Harry van Haaren <harry.van.haaren@intel.co
event/octeontx: add enqueue fwd op variant
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Acked-by: Gage Eads <gage.eads@intel.com> Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
show more ...
|
#
ddb3175f |
| 29-Jun-2017 |
Jerin Jacob <jerin.jacob@caviumnetworks.com> |
event/octeontx: add enqueue new op variant
OCTEONTX can have optimized handling of events if the PMD knows it is a producer pattern in advance and it can support burst mode if all the events has op
event/octeontx: add enqueue new op variant
OCTEONTX can have optimized handling of events if the PMD knows it is a producer pattern in advance and it can support burst mode if all the events has op == RTE_EVENT_OP_NEW.
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Acked-by: Gage Eads <gage.eads@intel.com> Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
show more ...
|