From: Paolo Abeni <pabeni@redhat.com> Date: 2025-09-09 13:22:05
On 7/15/25 12:54 AM, David Wilder wrote:
Replacing the definition of bond_params.arp_targets (__be32 arp_targets[])
with:
struct bond_arp_target {
__be32 target_ip;
struct bond_vlan_tag *tags;
u32 flags;
};
The above struct is going to be allocated on the stack and has 2 holes 4
bytes each.
If you change the layout as follow:
struct bond_arp_target {
__be32 target_ip;
u32 flags;
struct bond_vlan_tag *tags;
};
the struct size will be 8 bytes less.
/P