Commit d4315de0 authored by Arthur Kepner's avatar Arthur Kepner Committed by David S. Miller

[TG3]: Always copy receive packets when 5701 PCIX workaround enabled.

Signed-off-by: default avatarArthur Kepner <akepner@sgi.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b74ac55d
......@@ -2706,7 +2706,11 @@ static int tg3_rx(struct tg3 *tp, int budget)
len = ((desc->idx_len & RXD_LEN_MASK) >> RXD_LEN_SHIFT) - 4; /* omit crc */
if (len > RX_COPY_THRESHOLD) {
if (len > RX_COPY_THRESHOLD
&& tp->rx_offset == 2
/* rx_offset != 2 iff this is a 5701 card running
* in PCI-X mode [see tg3_get_invariants()] */
) {
int skb_size;
skb_size = tg3_alloc_rx_skb(tp, opaque_key,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment