|
Revision tags: v22.03, v22.03-rc4, v22.03-rc3, v22.03-rc2, v22.03-rc1, v21.11, v21.11-rc4, v21.11-rc3, v21.11-rc2, v21.11-rc1 |
|
| #
a7db3afc |
| 25-Aug-2021 |
Aman Deep Singh <[email protected]> |
net: add macro to extract MAC address bytes
Added macros to simplify print of MAC address. The six bytes of a MAC address are extracted in a macro here, to improve code readablity.
Signed-off-by: A
net: add macro to extract MAC address bytes
Added macros to simplify print of MAC address. The six bytes of a MAC address are extracted in a macro here, to improve code readablity.
Signed-off-by: Aman Deep Singh <[email protected]> Reviewed-by: Ferruh Yigit <[email protected]>
show more ...
|
|
Revision tags: v21.08, v21.08-rc4, v21.08-rc3, v21.08-rc2, v21.08-rc1, v21.05, v21.05-rc4, v21.05-rc3, v21.05-rc2, v21.05-rc1, v21.02, v21.02-rc4, v21.02-rc3, v21.02-rc2 |
|
| #
825fddf6 |
| 21-Jan-2021 |
Bruce Richardson <[email protected]> |
power: clean up includes
re-organise the including of the new public header file and remove un-needed includes
Fixes: 210c383e247b ("power: packet format for vm power management") Fixes: cd0d5547e8
power: clean up includes
re-organise the including of the new public header file and remove un-needed includes
Fixes: 210c383e247b ("power: packet format for vm power management") Fixes: cd0d5547e873 ("power: vm communication channels in guest") Cc: [email protected]
Signed-off-by: Bruce Richardson <[email protected]> Signed-off-by: David Hunt <[email protected]> Acked-by: Anatoly Burakov <[email protected]>
show more ...
|
| #
38d232b9 |
| 21-Jan-2021 |
Bruce Richardson <[email protected]> |
power: rename constants
Rename the #defines to have an RTE_POWER_ prefix
Fixes: 210c383e247b ("power: packet format for vm power management") Fixes: cd0d5547e873 ("power: vm communication channels
power: rename constants
Rename the #defines to have an RTE_POWER_ prefix
Fixes: 210c383e247b ("power: packet format for vm power management") Fixes: cd0d5547e873 ("power: vm communication channels in guest") Cc: [email protected]
Signed-off-by: Bruce Richardson <[email protected]> Signed-off-by: David Hunt <[email protected]> Acked-by: Anatoly Burakov <[email protected]>
show more ...
|
| #
bd5b6720 |
| 21-Jan-2021 |
Bruce Richardson <[email protected]> |
power: rename public structs
Rename the public structs to have an rte_power_ prefix.
Fixes: 210c383e247b ("power: packet format for vm power management") Fixes: cd0d5547e873 ("power: vm communicati
power: rename public structs
Rename the public structs to have an rte_power_ prefix.
Fixes: 210c383e247b ("power: packet format for vm power management") Fixes: cd0d5547e873 ("power: vm communication channels in guest") Cc: [email protected]
Signed-off-by: Bruce Richardson <[email protected]> Signed-off-by: David Hunt <[email protected]> Acked-by: Anatoly Burakov <[email protected]>
show more ...
|
|
Revision tags: v21.02-rc1, v20.11, v20.11-rc5, v20.11-rc4, v20.11-rc3, v20.11-rc2 |
|
| #
c2341bb6 |
| 30-Oct-2020 |
Dmitry Kozlyuk <[email protected]> |
cmdline: avoid name clash with Windows system types
cmdline_numtype member names clash with Windows system identifiers. Add RTE_ prefix to cmdline constants to avoid this and possible future conflic
cmdline: avoid name clash with Windows system types
cmdline_numtype member names clash with Windows system identifiers. Add RTE_ prefix to cmdline constants to avoid this and possible future conflicts.
Suggested-by: Ranjit Menon <[email protected]> Signed-off-by: Dmitry Kozlyuk <[email protected]> Acked-by: Ranjit Menon <[email protected]> Acked-by: Jie Zhou <[email protected]> Tested-by: Jie Zhou <[email protected]> Acked-by: Olivier Matz <[email protected]>
show more ...
|
|
Revision tags: v20.11-rc1 |
|
| #
984d99cc |
| 05-Oct-2020 |
Ferruh Yigit <[email protected]> |
examples/vm_power: fix 32-bit build
Compiler version: gcc 10.2.1 "cc (GCC) 10.2.1 20200723 (Red Hat 10.2.1-1)"
Build error: ../examples/vm_power_manager/guest_cli/vm_power_cli_guest.c:346:23: warn
examples/vm_power: fix 32-bit build
Compiler version: gcc 10.2.1 "cc (GCC) 10.2.1 20200723 (Red Hat 10.2.1-1)"
Build error: ../examples/vm_power_manager/guest_cli/vm_power_cli_guest.c:346:23: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 346 | cmdline_printf(cl, "Capabilities of [%d] vcore are:" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 349 | pkt_caps_list.turbo[i], | ~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int}
Fixes: 07525d1a047a ("examples/vm_power: send capabilities request from guest") Cc: [email protected]
Signed-off-by: Ferruh Yigit <[email protected]> Tested-by: David Marchand <[email protected]> Signed-off-by: Thomas Monjalon <[email protected]>
show more ...
|
|
Revision tags: v20.08, v20.08-rc4, v20.08-rc3, v20.08-rc2, v20.08-rc1, v20.05, v20.05-rc4, v20.05-rc3, v20.05-rc2, v20.05-rc1, v20.02, v20.02-rc4, v20.02-rc3, v20.02-rc2, v20.02-rc1, v19.11, v19.11-rc4, v19.11-rc3, v19.11-rc2 |
|
| #
0f2f911d |
| 29-Oct-2019 |
David Hunt <[email protected]> |
examples/vm_power: fix no port in guest
If there are no ports available to the guest cli application, it will exit when setting up the default policy because it fails to set the mac address. This sh
examples/vm_power: fix no port in guest
If there are no ports available to the guest cli application, it will exit when setting up the default policy because it fails to set the mac address. This should not be the case, as this example can be used for many other use cases that do not need ports.
If ports not found, simply set nb_mac_to_monitor in the policy to zero and continue.
Fixes: 70febdcfd60f ("examples: check status of getting MAC address")
Signed-off-by: David Hunt <[email protected]> Acked-by: Lei Yao <[email protected]>
show more ...
|
|
Revision tags: v19.11-rc1 |
|
| #
07525d1a |
| 30-Sep-2019 |
Marcin Hajkowski <[email protected]> |
examples/vm_power: send capabilities request from guest
Send request to power manager for core id provided by user to get related capabilities.
Signed-off-by: Marcin Hajkowski <marcinx.hajkowski@in
examples/vm_power: send capabilities request from guest
Send request to power manager for core id provided by user to get related capabilities.
Signed-off-by: Marcin Hajkowski <[email protected]> Tested-by: David Hunt <[email protected]> Acked-by: Lee Daly <[email protected]>
show more ...
|
| #
0e8f4749 |
| 27-Sep-2019 |
Marcin Hajkowski <[email protected]> |
examples/vm_power: add command to query CPU frequency
Add command and related logic to query CPU frequencies either for specified CPU or all cores.
Signed-off-by: Marcin Hajkowski <marcinx.hajkowsk
examples/vm_power: add command to query CPU frequency
Add command and related logic to query CPU frequencies either for specified CPU or all cores.
Signed-off-by: Marcin Hajkowski <[email protected]> Tested-by: David Hunt <[email protected]> Acked-by: Lee Daly <[email protected]>
show more ...
|
| #
04a8cb8e |
| 27-Sep-2019 |
Marcin Hajkowski <[email protected]> |
power: extend guest channel for frequency query
Extend incoming packet reading API with new packet type which carries CPU frequencies.
Signed-off-by: Marcin Hajkowski <[email protected]>
power: extend guest channel for frequency query
Extend incoming packet reading API with new packet type which carries CPU frequencies.
Signed-off-by: Marcin Hajkowski <[email protected]> Tested-by: David Hunt <[email protected]> Acked-by: Lee Daly <[email protected]>
show more ...
|
| #
a21f995b |
| 27-Sep-2019 |
Marcin Hajkowski <[email protected]> |
examples/vm_power: process incoming confirmation cmds
Extend vm_power_guest to check incoming confirmations of messages previously sent to host.
Signed-off-by: Marcin Hajkowski <marcinx.hajkowski@i
examples/vm_power: process incoming confirmation cmds
Extend vm_power_guest to check incoming confirmations of messages previously sent to host.
Signed-off-by: Marcin Hajkowski <[email protected]> Tested-by: David Hunt <[email protected]> Acked-by: Lee Daly <[email protected]>
show more ...
|
| #
99dc0144 |
| 22-Oct-2019 |
Bruce Richardson <[email protected]> |
examples/vm_power: fix type of cmdline token in cli
Building the example with clang gives the error:
error: expression which evaluates to zero treated as a null pointer constant of type 'const
examples/vm_power: fix type of cmdline token in cli
Building the example with clang gives the error:
error: expression which evaluates to zero treated as a null pointer constant of type 'const char *' [-Werror,-Wnon-literal-null-conversion] lcore_id, UINT8); ^~~~~
This error is due to the wrong data type being given for the cmd_set_cpu_freq_core_num value - it was specified as string rather than numeric type.
Fixes: f5e5c3347ae3 ("examples/vm_power: cli in guest") Cc: [email protected]
Signed-off-by: Bruce Richardson <[email protected]> Acked-by: David Hunt <[email protected]>
show more ...
|
| #
8532effd |
| 14-Oct-2019 |
Ferruh Yigit <[email protected]> |
examples/vm_power: fix build
Fixes: 70febdcfd60f ("examples: check status of getting MAC address")
Signed-off-by: Ferruh Yigit <[email protected]> Tested-by: Bruce Richardson <bruce.richardson
examples/vm_power: fix build
Fixes: 70febdcfd60f ("examples: check status of getting MAC address")
Signed-off-by: Ferruh Yigit <[email protected]> Tested-by: Bruce Richardson <[email protected]> Acked-by: Bruce Richardson <[email protected]>
show more ...
|
| #
70febdcf |
| 10-Sep-2019 |
Igor Romanov <[email protected]> |
examples: check status of getting MAC address
The return value of rte_eth_macaddr_get() was changed from void to int. Update the usage of the functions according to the new return type.
Signed-off-
examples: check status of getting MAC address
The return value of rte_eth_macaddr_get() was changed from void to int. Update the usage of the functions according to the new return type.
Signed-off-by: Igor Romanov <[email protected]> Signed-off-by: Andrew Rybchenko <[email protected]>
show more ...
|
|
Revision tags: v19.08, v19.08-rc4, v19.08-rc3, v19.08-rc2, v19.08-rc1 |
|
| #
6d13ea8e |
| 21-May-2019 |
Olivier Matz <[email protected]> |
net: add rte prefix to ether structures
Add 'rte_' prefix to structures: - rename struct ether_addr as struct rte_ether_addr. - rename struct ether_hdr as struct rte_ether_hdr. - rename struct vlan_
net: add rte prefix to ether structures
Add 'rte_' prefix to structures: - rename struct ether_addr as struct rte_ether_addr. - rename struct ether_hdr as struct rte_ether_hdr. - rename struct vlan_hdr as struct rte_vlan_hdr. - rename struct vxlan_hdr as struct rte_vxlan_hdr. - rename struct vxlan_gpe_hdr as struct rte_vxlan_gpe_hdr.
Do not update the command line library to avoid adding a dependency to librte_net.
Signed-off-by: Olivier Matz <[email protected]> Reviewed-by: Stephen Hemminger <[email protected]> Reviewed-by: Maxime Coquelin <[email protected]> Reviewed-by: Ferruh Yigit <[email protected]>
show more ...
|
|
Revision tags: v19.05, v19.05-rc4, v19.05-rc3, v19.05-rc2, v19.05-rc1, v19.02, v19.02-rc4, v19.02-rc3, v19.02-rc2, v19.02-rc1, v18.11, v18.11-rc5, v18.11-rc4, v18.11-rc3, v18.11-rc2, v18.11-rc1 |
|
| #
39701c19 |
| 17-Oct-2018 |
David Hunt <[email protected]> |
examples/power: set core type in guest app
The changes here are minimal, as the guest app functionality is not changing at all, but there is a new element in the channel_packet struct that needs to
examples/power: set core type in guest app
The changes here are minimal, as the guest app functionality is not changing at all, but there is a new element in the channel_packet struct that needs to have a default set (channel_packet->core_type).
Signed-off-by: David Hunt <[email protected]> Acked-by: Anatoly Burakov <[email protected]>
show more ...
|
|
Revision tags: v18.08, v18.08-rc3, v18.08-rc2, v18.08-rc1 |
|
| #
59287933 |
| 13-Jul-2018 |
David Hunt <[email protected]> |
examples/vm_power: add options to guest app
Add new command line arguments to the guest app to make testing and validation of the policy usage easier. These arguments are mainly around setti
examples/vm_power: add options to guest app
Add new command line arguments to the guest app to make testing and validation of the policy usage easier. These arguments are mainly around setting up the power management policy that is sent from the guest vm to to the vm_power_manager in the host
New command line parameters: -n or --vm-name sets the name of the vm to be used by the host OS. -b or --busy-hours sets the list of hours that are predicted to be busy -q or --quiet-hours sets the list of hours that are predicted to be quiet -l or --vcpu-list sets the list of vcpus to monitor -p or --port-list sets the list of posts to monitor when using a workload policy. -o or --policy sets the default policy type TIME WORKLOAD TRAFFIC BRANCH_RATIO
The format of the hours or list paramers is a comma-separated list of integers, which can take the form of a. x e.g. --vcpu-list=1 b. x,y e.g. --quiet-hours=3,4 c. x-y e.g. --busy-hours=9-12 d. combination of above (e.g. --busy-hours=4,5-7,9)
Signed-off-by: David Hunt <[email protected]> Acked-by: Radu Nicolau <[email protected]>
show more ...
|
|
Revision tags: v18.05, v18.05-rc6, v18.05-rc5, v18.05-rc4, v18.05-rc3, v18.05-rc2, v18.05-rc1, v18.02, v18.02-rc4, v18.02-rc3, v18.02-rc2, v18.02-rc1 |
|
| #
3998e2a0 |
| 19-Dec-2017 |
Bruce Richardson <[email protected]> |
examples: use SPDX tag for Intel copyright files
Replace the BSD license header with the SPDX tag for files with only an Intel copyright on them.
Signed-off-by: Bruce Richardson <bruce.richardson@i
examples: use SPDX tag for Intel copyright files
Replace the BSD license header with the SPDX tag for files with only an Intel copyright on them.
Signed-off-by: Bruce Richardson <[email protected]>
show more ...
|
|
Revision tags: v17.11, v17.11-rc4, v17.11-rc3, v17.11-rc2 |
|
| #
4c897d23 |
| 19-Oct-2017 |
David Hunt <[email protected]> |
examples/vm_power_manager: add turbo commands to help text
Fixes: d191f0853378 ("examples/vm_power_manager: add per-core turbo CLI")
Signed-off-by: Marko Kovacevic <[email protected]> Acked
examples/vm_power_manager: add turbo commands to help text
Fixes: d191f0853378 ("examples/vm_power_manager: add per-core turbo CLI")
Signed-off-by: Marko Kovacevic <[email protected]> Acked-by: David Hunt <[email protected]>
show more ...
|
|
Revision tags: v17.11-rc1 |
|
| #
88a81aa4 |
| 11-Oct-2017 |
Rory Sexton <[email protected]> |
examples/guest_cli: add send policy to host
Here we're adding an example of setting up a policy, and allowing the vm_cli_guest app to send it to the host using the cli command "send_policy now"
Sig
examples/guest_cli: add send policy to host
Here we're adding an example of setting up a policy, and allowing the vm_cli_guest app to send it to the host using the cli command "send_policy now"
Signed-off-by: Nemanja Marjanovic <[email protected]> Signed-off-by: Rory Sexton <[email protected]> Signed-off-by: David Hunt <[email protected]> Reviewed-by: Santosh Shukla <[email protected]> Acked-by: Konstantin Ananyev <[email protected]>
show more ...
|
| #
d191f085 |
| 13-Sep-2017 |
David Hunt <[email protected]> |
examples/vm_power_manager: add per-core turbo CLI
Add extra commands to guest cli to allow enable/disable of per-core turbo. Includes messages to vm_power_mgr in host.
Signed-off-by: David Hunt <da
examples/vm_power_manager: add per-core turbo CLI
Add extra commands to guest cli to allow enable/disable of per-core turbo. Includes messages to vm_power_mgr in host.
Signed-off-by: David Hunt <[email protected]>
show more ...
|
|
Revision tags: v17.08, v17.08-rc4, v17.08-rc3, v17.08-rc2, v17.08-rc1, v17.05, v17.05-rc4, v17.05-rc3, v17.05-rc2, v17.05-rc1, v17.02, v17.02-rc3, v17.02-rc2, v17.02-rc1, v16.11, v16.11-rc3, v16.11-rc2, v16.11-rc1, v16.07, v16.07-rc5, v16.07-rc4, v16.07-rc3, v16.07-rc2, v16.07-rc1, v16.04, v16.04-rc4, v16.04-rc3, v16.04-rc2, v16.04-rc1 |
|
| #
50810f09 |
| 08-Feb-2016 |
Thomas Monjalon <[email protected]> |
config: remove useless explicit includes of generated header
The file rte_config.h is automatically generated and included. No need to #include it.
The example performance-thread needs a makefile f
config: remove useless explicit includes of generated header
The file rte_config.h is automatically generated and included. No need to #include it.
The example performance-thread needs a makefile fix to avoid overwriting the default cflags.
Signed-off-by: Thomas Monjalon <[email protected]>
show more ...
|
|
Revision tags: v2.2.0, v2.2.0-rc4, v2.2.0-rc3, v2.2.0-rc2, v2.2.0-rc1, v2.1.0, v2.1.0-rc4, v2.1.0-rc3, v2.1.0-rc2, v2.1.0-rc1, v2.0.0, v2.0.0-rc3, v2.0.0-rc2, v2.0.0-rc1, v1.8.0, v1.8.0-rc6, v1.8.0-rc5, v1.8.0-rc4, v1.8.0-rc3, v1.8.0-rc2 |
|
| #
f5e5c334 |
| 25-Nov-2014 |
Alan Carew <[email protected]> |
examples/vm_power: cli in guest
Provides a small sample application(guest_vm_power_mgr) to run on a VM. The application is run by providing a core mask(-c) and number of memory channels(-n). The cor
examples/vm_power: cli in guest
Provides a small sample application(guest_vm_power_mgr) to run on a VM. The application is run by providing a core mask(-c) and number of memory channels(-n). The core mask corresponds to the number of lcore channels to attempt to open. A maximum of 64 channels per VM is allowed. The channels must be monitored by the host. After successful initialisation a CPU frequency command can be sent to the host using: set_cpu_freq <lcore_num> <up|down|min|max>.
Signed-off-by: Alan Carew <[email protected]> Signed-off-by: Pablo de Lara <[email protected]>
show more ...
|