When VTune profile option is enabled, compilation
error is seen.
Bugzilla ID: 1004
Fixes: 2c1bbab7f09d ("ethdev: change vtune profiling approach")
Cc: ilia.kura...@intel.com
Signed-off-by: Aman Singh
---
lib/ethdev/ethdev_profile.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/
Changed the filter from ETH_SPEED to ETH_SPEED_NUM to make the match
more specific. Added check for ETH_TUNNEL_FILTER and ETH_RSS_RETA
as these were missed before.
Signed-off-by: Aman Singh
---
*v3: Rather than exception for ETH_SPEED_10G & ETH_SPEED_25G macro's
made search fi
Added two specific exceptions for ETH_SPEED_10G
and ETH_SPEED_25G to avoid there name change.
Added check for ETH_TUNNEL_FILTER and ETH_RSS_RETA
Signed-off-by: Aman Singh
---
devtools/cocci/namespace_ethdev.cocci | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/devtools
Added two specific execptions for ETH_SPEED_10G
and ETH_SPEED_25G to avoid there name change.
Signed-off-by: Aman Singh
---
devtools/cocci/namespace_ethdev.cocci | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/devtools/cocci/namespace_ethdev.cocci
b/devtools/cocci
The cocci script is to help add prefix 'RTE_ETH' namespace to enum
& macro of ethdev library. It helps in automating these changes for
applications. The script won't make changes in the code comment part.
Usage: spatch
The cocci script is to help add prefix 'RTE_ETH' namespace to enum
& macro of ethdev library. It helps in automating these changes for
applications. The script won't make changes in the code comment part.
Usage: spatch
For test-pmd adding Aman Singh
Signed-off-by: Aman Singh
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 278e5b3226..c4070fe668 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1637,6 +1637,7 @@ F: app/test/sample_packet_forward.h
Driver
As suse version numbering is inconsistent to determine Linux kernel
API to be used. In this patch we check parameter of 'ndo_tx_timeout'
API directly from the kernel source. This is done only for suse build.
Bugzilla ID: 812
Cc: sta...@dpdk.org
Signed-off-by: Aman Singh
---
kernel
The cocci script is to help add prefix 'RTE_ETH' namespace to all enum
& macro of ethdev library in a backward compatible way. After the script
makes the changes few manual changes are required in rte_ethdev.h for
enum name changes.
Signed-off-by: Aman Singh
---
Code changes done for build issue as reported in Bug 817
error: dereferencing type-punned pointer will break strict-aliasing rules.
added union to avoid pointer dereferencing
Fixes: 39925373a333 ("net/ice/base: add parser execution main loop")
Cc: sta...@dpdk.org
Signed-off-by:
Code changes done to avoid build issue as seen in
Bug 817 - net/ice build failure with gcc 4.8.5
error: dereferencing type-punned pointer will
break strict-aliasing rules.
Signed-off-by: Aman Singh
---
drivers/net/ice/base/ice_parser_rt.c | 36 +++-
1 file changed, 20
Proposed name change of offload flag PKT_RX_EIP_CKSUM_BAD
to PKT_RX_OUTER_IP_CKSUM_BAD has already been done in the
code as per the deprecation note.
Signed-off-by: Aman Singh
Acked-by: Ferruh Yigit
---
doc/guides/rel_notes/deprecation.rst | 5 -
lib/mbuf/rte_mbuf_core.h | 7
Proposed name change of offload flag PKT_RX_EIP_CKSUM_BAD
to PKT_RX_OUTER_IP_CKSUM_BAD has already been done in the
code as per the deprecation note.
Signed-off-by: Aman Singh
---
doc/guides/rel_notes/deprecation.rst | 5 -
lib/mbuf/rte_mbuf_core.h | 7 ---
2 files changed
>From the logs it is difficult to get the DPDK version
that was used. So added a debug log to print the same.
The log has been added in eal_init so it gets printed
at startup for any application.
Signed-off-by: Aman Singh
---
lib/eal/freebsd/eal.c | 2 +-
lib/eal/linux/eal.c | 2 +-
lib/
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 Singh
Reviewed-by: Ferruh Yigit
---
The change in the document will be done in seperate patch.
To ensure document has direct reference of
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 Singh
Reviewed-by: Ferruh
format.
V6: Added macro RTE_ETHER_ADDR_BYTES in the rte_ether_format_addr
API and rebased.
V7: File got renamed after rebase nfp_ethdev.c added changes to it.
*** BLURB HERE ***
Aman Singh (2):
net: added macro for MAC address print
net: added macro to extract MAC address bytes
app
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 Singh
Reviewed-by: Ferruh Yigit
---
The change in the document will be done in seperate patch.
To ensure document has direct reference of
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 Singh
Reviewed-by: Ferruh
format.
V6: Added macro RTE_ETHER_ADDR_BYTES in the rte_ether_format_addr
API and rebased.
Aman Singh (2):
net: added macro for MAC address print
net: added macro to extract MAC address bytes
app/pdump/main.c | 5 +---
app/test-pmd/cmdline.c
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 Singh
Reviewed-by: Ferruh Yigit
---
The change in the document will be done in seperate patch.
To ensure document has direct reference of
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 Singh
Reviewed-by: Ferruh
Added macros to simplyfy print of MAC address.
The six bytes of mac address is extracted using
a macro to improve code readability.
Aman Singh (2):
net: added macro for MAC address print
net: added macro to extract MAC address bytes
app/pdump/main.c | 5
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 Singh
Reviewed-by: Ferruh Yigit
---
The change in the document will be done in seperate patch.
To ensure document has direct reference of
Added macro to print six bytes of MAC address.
The MAC addresses will be printed in lower case
hexadecimal format.
In case there is a specific check for upper case
MAC address, the user may need to make a change in
such test case after this patch.
Signed-off-by: Aman Singh
Reviewed-by: Ferruh
Added macros to simplyfy print of MAC address.
The six bytes of mac address is extracted using
a macro to improve code readability.
Aman Singh (2):
net: added macro for MAC address print
net: added macro to extract MAC address bytes
app/pdump/main.c | 5
Added macros to simplyfy print of MAC address.
The other method of first formatting mac address
into a string and string printed, is avoided.
Signed-off-by: Aman Singh
---
The change in the document will be done in seperate patch.
To ensure document has direct reference of the code.
V2: Fix
Added macro to print six bytes of MAC address.
The MAC addresses will be printed in lower case
hexdecimal format.
In case there is a specific check for upper case
MAC address, the user may need to make a change in
such test case after this patch.
Signed-off-by: Aman Singh
---
app/test-pmd
Added macros to simplyfy print of MAC address.
The other method of first formatting mac address
into a string and string printed, is avoided.
Aman Singh (2):
net: macro for MAC address print
net: macro to extract MAC address bytes
app/pdump/main.c | 5 +---
app
Added macros to simplyfy print of MAC address.
The other method of first formatting mac address
into a string and string printed, is avoided.
Signed-off-by: Aman Singh
---
The change in the document will be done in seperate patch.
To ensure document has direct reference of the code.
V2: Fix
Added macro to print six bytes of MAC address.
The MAC addresses will be printed in lower case
hexdecimal format.
In case there is a specific check for upper case
MAC address, the user may need to make a change in
such test case after this patch.
Signed-off-by: Aman Singh
---
app/test-pmd
Added macros to simplyfy print of MAC address.
The other method of first formatting mac address
into a string and string printed, is avoided.
Aman Singh (2):
net: macro for MAC address print
net: macro to extract MAC address bytes
app/pdump/main.c | 5
Added macros to simplyfy print of MAC address.
The other method of first formatting mac address
into a string and string printed, is avoided.
Signed-off-by: Aman Singh
---
The change in the document will be done in seperate patch.
To ensure document has direct reference of the code.
---
app
Added macro to print six bytes of MAC address.
The MAC addresses will be printed in lower case
hexdecimal format.
In case there is a specific check for upper case
MAC address, the user may need to make a change in
such test case after this patch.
Signed-off-by: Aman Singh
---
app/test-pmd
Added macros to simplyfy print of MAC address.
The other method of first formatting mac address
into a string and string printed, is avoided.
Aman Singh (2):
net: macro for MAC address print
net: macro to extract MAC address bytes
app/pdump/main.c | 5 +---
app
35 matches
Mail list logo