| 64fcadea | 03-May-2022 |
Thomas Monjalon <[email protected]> |
avoid AltiVec keyword vector
The AltiVec header file is defining "vector", except in C++ build. The keyword "vector" may conflict easily. As a rule, it is better to use the alternative keyword "__ve
avoid AltiVec keyword vector
The AltiVec header file is defining "vector", except in C++ build. The keyword "vector" may conflict easily. As a rule, it is better to use the alternative keyword "__vector", so we will be able to #undef vector after including AltiVec header.
Later it may become possible to #undef vector in rte_altivec.h with a compatibility breakage.
Signed-off-by: Thomas Monjalon <[email protected]> Reviewed-by: David Christensen <[email protected]>
show more ...
|
| eab2ae4b | 05-Nov-2021 |
Pavan Nikhilesh <[email protected]> |
examples/l3fwd: use reserved addresses for EM mode
The l3fwd example should use the reserved IPv4/v6 reserved address ranges defined in RFC5735, RFC5180 and RFC863 discard protocol for the port numb
examples/l3fwd: use reserved addresses for EM mode
The l3fwd example should use the reserved IPv4/v6 reserved address ranges defined in RFC5735, RFC5180 and RFC863 discard protocol for the port number in the exact match mode of L3 forwarding.
Signed-off-by: Pavan Nikhilesh <[email protected]> Reviewed-by: David Marchand <[email protected]>
show more ...
|
| fc89b4c8 | 05-Nov-2021 |
Pavan Nikhilesh <[email protected]> |
examples/l3fwd: print device name when adding routes
Since the number of Ethernet ports have gone up, print the device name (which for PCI devices is the BDF triplet), along with the routes. This is
examples/l3fwd: print device name when adding routes
Since the number of Ethernet ports have gone up, print the device name (which for PCI devices is the BDF triplet), along with the routes. This is also helpful for cases where allow listing order is not honored.
Signed-off-by: Pavan Nikhilesh <[email protected]> Reviewed-by: Conor Walsh <[email protected]> Reviewed-by: David Marchand <[email protected]>
show more ...
|
| 815611b3 | 06-Jul-2021 |
Conor Walsh <[email protected]> |
examples/l3fwd: remove useless reloads in EM main loop
This patch aligns the l3fwd EM code with the changes made to LPM in commit 74fb854a3de6 ("examples/l3fwd: remove useless reloads in LPM main lo
examples/l3fwd: remove useless reloads in EM main loop
This patch aligns the l3fwd EM code with the changes made to LPM in commit 74fb854a3de6 ("examples/l3fwd: remove useless reloads in LPM main loop"). This change ensures the compiler knows that the lcore config variables are constant values and the compiler will then optimize the code accordingly.
Signed-off-by: Conor Walsh <[email protected]> Reviewed-by: Ruifeng Wang <[email protected]> Reviewed-by: David Marchand <[email protected]>
show more ...
|