|
Revision tags: v22.03, v22.03-rc4, v22.03-rc3, v22.03-rc2, v22.03-rc1 |
|
| #
06c047b6 |
| 09-Feb-2022 |
Stephen Hemminger <[email protected]> |
remove unnecessary null checks
Functions like free, rte_free, and rte_mempool_free already handle NULL pointer so the checks here are not necessary.
Remove redundant NULL pointer checks before free
remove unnecessary null checks
Functions like free, rte_free, and rte_mempool_free already handle NULL pointer so the checks here are not necessary.
Remove redundant NULL pointer checks before free functions found by nullfree.cocci
Signed-off-by: Stephen Hemminger <[email protected]>
show more ...
|
|
Revision tags: 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 ...
|
| #
c2c4f87b |
| 25-Aug-2021 |
Aman Deep Singh <[email protected]> |
net: add macro for MAC address print
Added macro to print six bytes of MAC address. The MAC addresses will be printed in upper case hexadecimal format. In case there is a specific check for lower ca
net: add macro for MAC address print
Added macro to print six bytes of MAC address. The MAC addresses will be printed in upper case hexadecimal format. In case there is a specific check for lower case MAC address, the user may need to make a change in such test case after this patch.
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, v21.02-rc1, v20.11, v20.11-rc5, v20.11-rc4, v20.11-rc3, v20.11-rc2, v20.11-rc1 |
|
| #
54a298e5 |
| 09-Oct-2020 |
Savinay Dharmappa <[email protected]> |
examples/ip_pipeline: update subport rate dynamically
Modify the ip_pipeline application to build the hierarchical scheduler with default subport bandwidth profile. It also allows to update a subpor
examples/ip_pipeline: update subport rate dynamically
Modify the ip_pipeline application to build the hierarchical scheduler with default subport bandwidth profile. It also allows to update a subport with different subport rates dynamically
Signed-off-by: Savinay Dharmappa <[email protected]> Acked-by: Cristian Dumitrescu <[email protected]>
show more ...
|
| #
db4e8135 |
| 15-Sep-2020 |
Ivan Dyukov <[email protected]> |
examples: use new link status print format
Add usage of rte_eth_link_to_str function to example applications.
Signed-off-by: Ivan Dyukov <[email protected]> Reviewed-by: Ferruh Yigit <ferruh.yig
examples: use new link status print format
Add usage of rte_eth_link_to_str function to example applications.
Signed-off-by: Ivan Dyukov <[email protected]> Reviewed-by: Ferruh Yigit <[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 |
|
| #
ef5baf34 |
| 09-Feb-2020 |
Thomas Monjalon <[email protected]> |
replace packed attributes
There is a common macro __rte_packed for packing structs, which is now used where appropriate for consistency.
Signed-off-by: Thomas Monjalon <[email protected]>
|
|
Revision tags: v20.02-rc2, v20.02-rc1, v19.11, v19.11-rc4, v19.11-rc3, v19.11-rc2, v19.11-rc1 |
|
| #
0edf18ee |
| 16-Oct-2019 |
Jasvinder Singh <[email protected]> |
sched: add 64-bit values
To support high bandwidth network interfaces, all rates (port, subport level token bucket and traffic class rates, pipe level token bucket and traffic class rates) and stats
sched: add 64-bit values
To support high bandwidth network interfaces, all rates (port, subport level token bucket and traffic class rates, pipe level token bucket and traffic class rates) and stats counters defined in public data structures (rte_sched.h) are modified to support 64 bit counters.
Signed-off-by: Jasvinder Singh <[email protected]> Signed-off-by: Lukasz Krakowiak <[email protected]> Acked-by: Cristian Dumitrescu <[email protected]>
show more ...
|
| #
29169a41 |
| 25-Oct-2019 |
Jasvinder Singh <[email protected]> |
examples/ip_pipeline: add subport config flexibility to TM
Modify ip pipeline traffic management function to allow different subports of the same port to have different configuration in terms of num
examples/ip_pipeline: add subport config flexibility to TM
Modify ip pipeline traffic management function to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc.
Signed-off-by: Jasvinder Singh <[email protected]> Signed-off-by: Lukasz Krakowiak <[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 ...
|
| #
22e5c73b |
| 10-Sep-2019 |
Igor Romanov <[email protected]> |
examples: check status of getting link info
The return value of rte_eth_link_get() and rte_eth_link_get_nowait() was changed from void to int. Update the usage of the functions according to the new
examples: check status of getting link info
The return value of rte_eth_link_get() and rte_eth_link_get_nowait() 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 |
|
| #
4aae2d28 |
| 06-Aug-2019 |
Jasvinder Singh <[email protected]> |
examples/ip_pipeline: fix TC oversubscription weight
The sched library checks the subport tc ov weight value regardless of whether RTE_SCHED_SUBPORT_TC_OV flag is enabled or not.
This fix allows ap
examples/ip_pipeline: fix TC oversubscription weight
The sched library checks the subport tc ov weight value regardless of whether RTE_SCHED_SUBPORT_TC_OV flag is enabled or not.
This fix allows application to always set valid tc ov weight value.
error log SCHED: pipe_profile_check: Incorrect value for tc ov weight SCHED: rte_sched_port_check_params: Pipe profile check failed(-22) Command "tmgr" failed.
Fixes: 25961ff3bcb9 ("examples/ip_pipeline: add traffic manager object") Cc: [email protected]
Signed-off-by: Jasvinder Singh <[email protected]> Acked-by: Cristian Dumitrescu <[email protected]>
show more ...
|
|
Revision tags: v19.08-rc3, v19.08-rc2 |
|
| #
3f2eaa4c |
| 22-Jul-2019 |
Jasvinder Singh <[email protected]> |
examples/ip_pipeline: add config flexibility to TM
Update ip pipeline sample app for configuration flexiblity of pipe traffic classes and queues.
Signed-off-by: Jasvinder Singh <jasvinder.singh@int
examples/ip_pipeline: add config flexibility to TM
Update ip pipeline sample app for configuration flexiblity of pipe traffic classes and queues.
Signed-off-by: Jasvinder Singh <[email protected]> Signed-off-by: Abraham Tovar <[email protected]> Signed-off-by: Lukasz Krakowiak <[email protected]>
show more ...
|
|
Revision tags: v19.08-rc1 |
|
| #
186b14d6 |
| 24-Jun-2019 |
Fan Zhang <[email protected]> |
cryptodev: make xform key pointer constant
This patch changes the key pointer data types in cipher, auth, and aead xforms from "uint8_t *" to "const uint8_t *" for a more intuitive and safe sessionn
cryptodev: make xform key pointer constant
This patch changes the key pointer data types in cipher, auth, and aead xforms from "uint8_t *" to "const uint8_t *" for a more intuitive and safe sessionn creation.
Signed-off-by: Fan Zhang <[email protected]> Acked-by: Arek Kusztal <[email protected]> Acked-by: Akhil Goyal <[email protected]> Acked-by: Liron Himi <[email protected]>
show more ...
|
| #
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 |
|
| #
c1656328 |
| 11-Apr-2019 |
Jasvinder Singh <[email protected]> |
meter: replace color definitions
This patch implements the changes proposed in the deprecation note[1]. Replace multiple color definitions in various places such as rte_meter.h, rte_tm.h and rte_mtr
meter: replace color definitions
This patch implements the changes proposed in the deprecation note[1]. Replace multiple color definitions in various places such as rte_meter.h, rte_tm.h and rte_mtr.h with single rte_color defined in rte_meter.h.
This is simple search and replace exercise without any implementation change.
[1] https://mails.dpdk.org/archives/dev/2019-January/123861.html
Signed-off-by: Jasvinder Singh <[email protected]> Acked-by: Cristian Dumitrescu <[email protected]>
show more ...
|
|
Revision tags: v19.05-rc1, v19.02, v19.02-rc4 |
|
| #
33e7afe6 |
| 21-Jan-2019 |
Nemanja Marjanovic <[email protected]> |
examples/ip_pipeline: support QinQ PPPoE encapsulation
Add implementation of QinQ PPPoE packet encapsulation action.
Signed-off-by: Nemanja Marjanovic <[email protected]> Acked-by: Crist
examples/ip_pipeline: support QinQ PPPoE encapsulation
Add implementation of QinQ PPPoE packet encapsulation action.
Signed-off-by: Nemanja Marjanovic <[email protected]> Acked-by: Cristian Dumitrescu <[email protected]>
show more ...
|
|
Revision tags: v19.02-rc3, v19.02-rc2 |
|
| #
261bbff7 |
| 10-Jan-2019 |
Fan Zhang <[email protected]> |
examples: use separate crypto session mempools
This patch uses the two session mempool approach to all cryptodev sample applications. One mempool is for session header objects, and the other is for
examples: use separate crypto session mempools
This patch uses the two session mempool approach to all cryptodev sample applications. One mempool is for session header objects, and the other is for session private data.
Signed-off-by: Fan Zhang <[email protected]> Acked-by: Fiona Trahe <[email protected]> Acked-by: Akhil Goyal <[email protected]>
show more ...
|
|
Revision tags: v19.02-rc1, v18.11, v18.11-rc5, v18.11-rc4, v18.11-rc3 |
|
| #
c44ae27a |
| 09-Nov-2018 |
Jasvinder Singh <[email protected]> |
examples/ip_pipeline: fix null pointer dereference
Fixes NULL pointer dereference issue raised by Coverity.
Coverity issue: 325728, 325729, 325731, 325738 Fixes: 27b333b23237 ("examples/ip_pipeline
examples/ip_pipeline: fix null pointer dereference
Fixes NULL pointer dereference issue raised by Coverity.
Coverity issue: 325728, 325729, 325731, 325738 Fixes: 27b333b23237 ("examples/ip_pipeline: track table rules on add bulk")
Signed-off-by: Jasvinder Singh <[email protected]> Acked-by: Cristian Dumitrescu <[email protected]>
show more ...
|
|
Revision tags: v18.11-rc2 |
|
| #
2fbdf834 |
| 30-Oct-2018 |
Cristian Dumitrescu <[email protected]> |
examples/ip_pipeline: support table rule show
Add support for the table rule show operation.
Signed-off-by: Cristian Dumitrescu <[email protected]> Signed-off-by: Jasvinder Singh <jasvi
examples/ip_pipeline: support table rule show
Add support for the table rule show operation.
Signed-off-by: Cristian Dumitrescu <[email protected]> Signed-off-by: Jasvinder Singh <[email protected]>
show more ...
|
| #
a3169ee5 |
| 30-Oct-2018 |
Cristian Dumitrescu <[email protected]> |
examples/ip_pipeline: support rule time read
Add support for the table rule timestamp read operation.
Signed-off-by: Cristian Dumitrescu <[email protected]> Signed-off-by: Jasvinder Sin
examples/ip_pipeline: support rule time read
Add support for the table rule timestamp read operation.
Signed-off-by: Cristian Dumitrescu <[email protected]> Signed-off-by: Jasvinder Singh <[email protected]>
show more ...
|
| #
8bfe22ac |
| 30-Oct-2018 |
Cristian Dumitrescu <[email protected]> |
examples/ip_pipeline: support rule TTL stats read
Add support for the table rule TTL stats read operation.
Signed-off-by: Cristian Dumitrescu <[email protected]> Signed-off-by: Jasvinde
examples/ip_pipeline: support rule TTL stats read
Add support for the table rule TTL stats read operation.
Signed-off-by: Cristian Dumitrescu <[email protected]> Signed-off-by: Jasvinder Singh <[email protected]>
show more ...
|
| #
8c6dc647 |
| 30-Oct-2018 |
Cristian Dumitrescu <[email protected]> |
examples/ip_pipeline: support meter stats read
Add support for the rule meter stats read operation.
Signed-off-by: Cristian Dumitrescu <[email protected]> Signed-off-by: Jasvinder Singh
examples/ip_pipeline: support meter stats read
Add support for the rule meter stats read operation.
Signed-off-by: Cristian Dumitrescu <[email protected]> Signed-off-by: Jasvinder Singh <[email protected]>
show more ...
|
| #
87b36dcd |
| 30-Oct-2018 |
Cristian Dumitrescu <[email protected]> |
examples/ip_pipeline: support rule stats read
Add support for rule stats read operation.
Signed-off-by: Cristian Dumitrescu <[email protected]> Signed-off-by: Jasvinder Singh <jasvinder
examples/ip_pipeline: support rule stats read
Add support for rule stats read operation.
Signed-off-by: Cristian Dumitrescu <[email protected]> Signed-off-by: Jasvinder Singh <[email protected]>
show more ...
|
| #
c348ec05 |
| 30-Oct-2018 |
Cristian Dumitrescu <[email protected]> |
examples/ip_pipeline: track rules on add default
Support table rule tracking on table rule add default operation.
Signed-off-by: Cristian Dumitrescu <[email protected]> Signed-off-by: J
examples/ip_pipeline: track rules on add default
Support table rule tracking on table rule add default operation.
Signed-off-by: Cristian Dumitrescu <[email protected]> Signed-off-by: Jasvinder Singh <[email protected]>
show more ...
|
| #
27b333b2 |
| 30-Oct-2018 |
Cristian Dumitrescu <[email protected]> |
examples/ip_pipeline: track table rules on add bulk
Support table rule tracking on table rule add bulk operation.
Signed-off-by: Cristian Dumitrescu <[email protected]> Signed-off-by: J
examples/ip_pipeline: track table rules on add bulk
Support table rule tracking on table rule add bulk operation.
Signed-off-by: Cristian Dumitrescu <[email protected]> Signed-off-by: Jasvinder Singh <[email protected]>
show more ...
|