[PATCH 06/32] regexdev: remove use of RTE STD C11 macro
Tyler Retzlaff
roretzla at linux.microsoft.com
Sat Aug 12 00:22:21 CEST 2023
C11 conformant compiler is documented as a minimum requirement to build
and consume DPDK. Remove use of RTE_STD_C11 macro marking use of C11
features with __extension__ since it is no longer necessary.
Signed-off-by: Tyler Retzlaff <roretzla at linux.microsoft.com>
---
lib/regexdev/rte_regexdev.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/lib/regexdev/rte_regexdev.h b/lib/regexdev/rte_regexdev.h
index 25476f1..d50af77 100644
--- a/lib/regexdev/rte_regexdev.h
+++ b/lib/regexdev/rte_regexdev.h
@@ -1246,7 +1246,6 @@ struct rte_regexdev_xstats_map {
* @see struct rte_regex_ops::matches
*/
struct rte_regexdev_match {
- RTE_STD_C11
union {
uint64_t u64;
struct {
@@ -1260,7 +1259,6 @@ struct rte_regexdev_match {
*/
uint16_t start_offset;
/**< Starting Byte Position for matched rule. */
- RTE_STD_C11
union {
uint16_t len;
/**< Length of match in bytes */
@@ -1393,7 +1391,6 @@ struct rte_regex_ops {
*/
/* W3 */
- RTE_STD_C11
union {
uint64_t user_id;
/**< Application specific opaque value. An application may use
@@ -1406,7 +1403,6 @@ struct rte_regex_ops {
};
/* W4 */
- RTE_STD_C11
union {
uint64_t cross_buf_id;
/**< ID used by the RegEx device in order to support cross
--
1.8.3.1
More information about the dev
mailing list