On Thu, 31 Mar 2016 19:15:22 -0700
Rasesh Mody <rasesh.mody at qlogic.com> wrote:

> +struct qed_filter_ucast_params {
> +     enum qed_filter_xcast_params_type type;
> +     uint8_t vlan_valid;
> +     uint16_t vlan;
> +     uint8_t mac_valid;
> +     unsigned char mac[ETHER_ADDR_LEN];
> +} __attribute__ ((__packed__));

Why packed? Why not just rearrange elements to eliminate the padding holes?

Reply via email to