[PATCH v5 4/4] net/af_packet: add software checksum offload support
Stephen Hemminger
stephen at networkplumber.org
Tue Feb 3 15:12:14 CET 2026
On Tue, 3 Feb 2026 00:20:43 -0800
Scott Mitchell <scott.k.mitch1 at gmail.com> wrote:
> gcc warnings are resolved when built with Depends-on patch
> (https://patches.dpdk.org/project/dpdk/patch/20260202044841.90945-2-scott.k.mitch1@gmail.com/).
> Did I indicate the dependency correctly (reference
> https://doc.dpdk.org/guides/contributing/patches.html#patch-dependencies),
> and is CI expected to apply dependent patches before the current patch
> series?
>
> ../lib/net/rte_net.c:672:28: error: taking address of packed member of
> ‘struct rte_udp_hdr’ may result in an unaligned pointer value
> [-Werror=address-of-packed-member]
> 672 | l4_cksum = &rte_pktmbuf_mtod_offset(mbuf,
> struct rte_udp_hdr *,
> |
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 673 | l4_offset)->dgram_cksum;
> | ~~~~~~~~~~~~~~~~~~~~~~~
> ../lib/net/rte_net.c:675:28: error: taking address of packed member of
> ‘struct rte_tcp_hdr’ may result in an unaligned pointer value
> [-Werror=address-of-packed-member]
> 675 | l4_cksum = &rte_pktmbuf_mtod_offset(mbuf,
> struct rte_tcp_hdr *, l4_offset)->cksum;
> |
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CI system doesn't know what Depends-on is yet.
More information about the dev
mailing list