[dpdk-test-report] |WARNING| pw102773 [PATCH] net: remove endianness annotations for L2TPv2 bitfields
dpdklab at iol.unh.edu
dpdklab at iol.unh.edu
Mon Oct 25 19:08:30 CEST 2021
Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/102773
_apply patch failure_
Submitter: David Marchand <david.marchand at redhat.com>
Date: Monday, October 25 2021 12:31:07
Applied on: CommitID:daa02b5cddbb8e11b31d41e2bf7bb1ae64dcae2f
Apply patch set 102773 failed:
Checking patch lib/net/rte_l2tpv2.h...
error: while searching for:
__extension__
struct {
#if RTE_BYTE_ORDER == RTE_LITTLE_ENDIAN
rte_be16_t t:1; /**< message Type */
rte_be16_t l:1; /**< length option bit */
rte_be16_t res1:2; /**< reserved */
rte_be16_t s:1; /**< ns/nr option bit */
rte_be16_t res2:1; /**< reserved */
rte_be16_t o:1; /**< offset option bit */
rte_be16_t p:1; /**< priority option bit */
rte_be16_t res3:4; /**< reserved */
rte_be16_t ver:4; /**< protocol version */
#elif RTE_BYTE_ORDER == RTE_BIG_ENDIAN
rte_be16_t ver:4; /**< protocol version */
rte_be16_t res3:4; /**< reserved */
rte_be16_t p:1; /**< priority option bit */
rte_be16_t o:1; /**< offset option bit */
rte_be16_t res2:1; /**< reserved */
rte_be16_t s:1; /**< ns/nr option bit */
rte_be16_t res1:2; /**< reserved */
rte_be16_t l:1; /**< length option bit */
rte_be16_t t:1; /**< message Type */
#endif
};
};
error: patch failed: lib/net/rte_l2tpv2.h:89
Applying patch lib/net/rte_l2tpv2.h with 1 reject...
Rejected hunk #1.
diff a/lib/net/rte_l2tpv2.h b/lib/net/rte_l2tpv2.h (rejected hunks)
@@ -89,25 +89,25 @@ struct rte_l2tpv2_common_hdr {
__extension__
struct {
#if RTE_BYTE_ORDER == RTE_LITTLE_ENDIAN
- rte_be16_t t:1; /**< message Type */
- rte_be16_t l:1; /**< length option bit */
- rte_be16_t res1:2; /**< reserved */
- rte_be16_t s:1; /**< ns/nr option bit */
- rte_be16_t res2:1; /**< reserved */
- rte_be16_t o:1; /**< offset option bit */
- rte_be16_t p:1; /**< priority option bit */
- rte_be16_t res3:4; /**< reserved */
- rte_be16_t ver:4; /**< protocol version */
+ uint16_t t:1; /**< message Type */
+ uint16_t l:1; /**< length option bit */
+ uint16_t res1:2; /**< reserved */
+ uint16_t s:1; /**< ns/nr option bit */
+ uint16_t res2:1; /**< reserved */
+ uint16_t o:1; /**< offset option bit */
+ uint16_t p:1; /**< priority option bit */
+ uint16_t res3:4; /**< reserved */
+ uint16_t ver:4; /**< protocol version */
#elif RTE_BYTE_ORDER == RTE_BIG_ENDIAN
- rte_be16_t ver:4; /**< protocol version */
- rte_be16_t res3:4; /**< reserved */
- rte_be16_t p:1; /**< priority option bit */
- rte_be16_t o:1; /**< offset option bit */
- rte_be16_t res2:1; /**< reserved */
- rte_be16_t s:1; /**< ns/nr option bit */
- rte_be16_t res1:2; /**< reserved */
- rte_be16_t l:1; /**< length option bit */
- rte_be16_t t:1; /**< message Type */
+ uint16_t ver:4; /**< protocol version */
+ uint16_t res3:4; /**< reserved */
+ uint16_t p:1; /**< priority option bit */
+ uint16_t o:1; /**< offset option bit */
+ uint16_t res2:1; /**< reserved */
+ uint16_t s:1; /**< ns/nr option bit */
+ uint16_t res1:2; /**< reserved */
+ uint16_t l:1; /**< length option bit */
+ uint16_t t:1; /**< message Type */
#endif
};
};
https://lab.dpdk.org/results/dashboard/patchsets/19690/
UNH-IOL DPDK Community Lab
More information about the test-report
mailing list