Subject: Re: RTL8169 hw IP4CSUM_Tx workaround
To: None <tsutsui@ceres.dti.ne.jp>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: tech-kern
Date: 10/26/2006 11:51:57
> +/*
> + * This function is just taken and modified from bge(4) driver.
> + *
> + * Although re(4) chips support auto-padding small packets,
> + * but it seems to cause a bug on IPv4 hardware checksum offload.
> + * To avoid the bug, pad packets manually if ip4csum is enabled.
> + */
i'm not sure if it's a good idea to allocate a mbuf for this purpose.
an alternative would be to set up a dummy descriptor which
points (system-global?) zero'ed memory.
YAMAMOTO Takashi