8bdbae66 | 13-Dec-2021 |
Pavan Nikhilesh <pbhagavatula@marvell.com> |
event/cnxk: add external clock support for timer
Add external clock support for cnxk timer adapter.
External clock mapping is as follows: RTE_EVENT_TIMER_ADAPTER_EXT_CLK0 = TIM_CLK_SRC_10NS, RTE_EV
event/cnxk: add external clock support for timer
Add external clock support for cnxk timer adapter.
External clock mapping is as follows: RTE_EVENT_TIMER_ADAPTER_EXT_CLK0 = TIM_CLK_SRC_10NS, RTE_EVENT_TIMER_ADAPTER_EXT_CLK1 = TIM_CLK_SRC_GPIO, RTE_EVENT_TIMER_ADAPTER_EXT_CLK2 = TIM_CLK_SRC_PTP, RTE_EVENT_TIMER_ADAPTER_EXT_CLK3 = TIM_CLK_SRC_SYNCE,
TIM supports clock input from external GPIO, PTP, SYNCE clocks. Input resolution is adjusted based on CNTVCT frequency for better estimation.
Since TIM is unaware of input clock frequency, application is expected to pass the frequency. Example: -a 0002:0e:00.0,tim_eclk_freq=122880000-0-0
The order of frequencies above is GPIO-PTP-SYNCE.
Signed-off-by: Shijith Thotton <sthotton@marvell.com> Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
show more ...
|
fcc5489c | 21-May-2021 |
Timothy McDaniel <timothy.mcdaniel@intel.com> |
event/dlb2: select scalar dequeue by default
Optimized dequeue using x86 vector instructions was added in 21.05, but due to limited testing the default has been changed back to the scalar mode imple
event/dlb2: select scalar dequeue by default
Optimized dequeue using x86 vector instructions was added in 21.05, but due to limited testing the default has been changed back to the scalar mode implementation. The vector mode implementation can be enabled via the devargs option "vector_opts_enabled=<y/Y>".
Fixes: 000a7b8e7582 ("event/dlb2: optimize dequeue operation")
Signed-off-by: Timothy McDaniel <timothy.mcdaniel@intel.com> Signed-off-by: David Marchand <david.marchand@redhat.com>
show more ...
|
9e35ae07 | 21-May-2021 |
Timothy McDaniel <timothy.mcdaniel@intel.com> |
doc: fix runtime options in DLB2 guide
Convert to PCI "--allow" devarg format. The documentation was previously using the "--vdev" form, which cannot be used with the DLB2 PF PMD.
Fixes: f3cad285bb
doc: fix runtime options in DLB2 guide
Convert to PCI "--allow" devarg format. The documentation was previously using the "--vdev" form, which cannot be used with the DLB2 PF PMD.
Fixes: f3cad285bb88 ("event/dlb2: add infos get and configure") Fixes: f7cc194b0f7e ("event/dlb2: add enqueue and its burst variants") Fixes: a2e4f1f5e79f ("event/dlb2: add dequeue and its burst variants") Fixes: 95aa7101cd3c ("doc: add some features to DLB2 guide") Cc: stable@dpdk.org
Signed-off-by: Timothy McDaniel <timothy.mcdaniel@intel.com> Signed-off-by: David Marchand <david.marchand@redhat.com>
show more ...
|
8a3d58c1 | 04-May-2021 |
Shijith Thotton <sthotton@marvell.com> |
event/cnxk: add option to control timer adapters
Add devargs to control each event timer adapter i.e. TIM rings internal parameters uniquely. The following dict format is expected [ring-chnk_slots-d
event/cnxk: add option to control timer adapters
Add devargs to control each event timer adapter i.e. TIM rings internal parameters uniquely. The following dict format is expected [ring-chnk_slots-disable_npa-stats_ena]. 0 represents default values.
Example: --dev "0002:1e:00.0,tim_ring_ctl=[2-1023-1-0]"
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com> Signed-off-by: Shijith Thotton <sthotton@marvell.com>
show more ...
|
a66fa856 | 04-May-2021 |
Shijith Thotton <sthotton@marvell.com> |
event/cnxk: add options for timer chunk size and rings
Add devargs to control default chunk size and max numbers of timer rings to attach to a given RVU PF.
Example: --dev "0002:1e:00.0,tim_chnk_s
event/cnxk: add options for timer chunk size and rings
Add devargs to control default chunk size and max numbers of timer rings to attach to a given RVU PF.
Example: --dev "0002:1e:00.0,tim_chnk_slots=1024" --dev "0002:1e:00.0,tim_rings_lmt=4"
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com> Signed-off-by: Shijith Thotton <sthotton@marvell.com>
show more ...
|
7ffa7379 | 04-May-2021 |
Pavan Nikhilesh <pbhagavatula@marvell.com> |
event/cnxk: add option to configure getwork mode
Add devargs to configure the platform specific getwork mode.
CN9K getwork mode by default is set to use dual workslot mode. Add option to force sing
event/cnxk: add option to configure getwork mode
Add devargs to configure the platform specific getwork mode.
CN9K getwork mode by default is set to use dual workslot mode. Add option to force single workslot mode. Example: --dev "0002:0e:00.0,single_ws=1"
CN10K supports multiple getwork prefetch modes, by default the prefetch mode is set to none. Add option to select getwork prefetch mode Example: --dev "0002:1e:00.0,gw_mode=1"
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com> Signed-off-by: Shijith Thotton <sthotton@marvell.com>
show more ...
|