[dpdk-dev] [PATCH 21.05] app/testpmd: count outer IP checksum errors
ferruh.yigit at intel.com
Wed Feb 24 16:38:22 CET 2021
On 2/24/2021 3:16 PM, Lance Richardson wrote:
>> Lance, can you spare some time to make the above mentioned patch?
> Sure. Are you looking for something like the changes below, or also including
> a search and replace of the deprecated macro name with the new one?
Yes below looks good, and I think we should have the search & replace of the old
macro usage, the latest upstream code shouldn't have the deprecated macro.
> - /** External IP header checksum error. */
> + * Deprecated.
> + * This flag has been renamed, use PKT_RX_OUTER_IP_CKSUM_BAD instead.
> + */
> +#define PKT_RX_EIP_CKSUM_BAD (1ULL << 5)
> + * This flag is set when the outermost IP header checksum is detected as
> + * wrong by the hardware.
> + */
> #define PKT_RX_OUTER_IP_CKSUM_BAD (1ULL << 5)
More information about the dev