Displaying 1 result from an estimated 1 matches for "rx_headroom".
Did you mean:
fd_headroom
2005 Feb 09
1
RE: [PATCH 2/2] netfront skb padding
...> +
> #ifndef __GFP_NOWARN
> #define __GFP_NOWARN 0
> #endif
> @@ -62,8 +64,11 @@
> skb_shinfo(_skb)->frag_list = NULL; \
> } while (0)
>
> -/* Allow headroom on each rx pkt for Ethernet header,
> alignment padding, ... */
> -#define RX_HEADROOM 200
> +/*
> + * Allow headroom on each rx pkt for Ethernet header,
> alignment padding,
> + * CRC, and VLAN
> + */
> +#define RX_HEADROOM ETH_HLEN + NET_IP_ALIGN + 8
>
> /*
> * If the backend driver is pipelining transmit requests
> then we can be very
>...