Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 12883725 authored by Ursula Braun's avatar Ursula Braun Committed by Jeff Garzik
Browse files

qeth: CCL-sequence numbers required for protocol ETH_P_802_2 only



Symptom:     slow CCL response time
Problem:     non-ETH_P_802_2 packets are not delivered to NDH for
             CCL. But CCL detects missing sequence numbers, which
             cause a serious performance problem with CCL.
Solution:    assign sequence numbers only to 802.2 packets.

Signed-off-by: default avatarUrsula Braun <braunu@de.ibm.com>
Signed-off-by: default avatarFrank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent 922dc062
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -451,6 +451,7 @@ static void qeth_l2_process_inbound_buffer(struct qeth_card *card,
				skb->ip_summed = CHECKSUM_UNNECESSARY;
			else
				skb->ip_summed = CHECKSUM_NONE;
			if (skb->protocol == htons(ETH_P_802_2))
				*((__u32 *)skb->cb) = ++card->seqno.pkt_seqno;
			len = skb->len;
			netif_rx(skb);