aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/net/qeth_l2_main.c
diff options
context:
space:
mode:
authorUrsula Braun <braunu@de.ibm.com>2008-04-01 04:26:56 -0400
committerJeff Garzik <jgarzik@redhat.com>2008-04-16 20:41:40 -0400
commit128837259912087101cd336226abc7ee3e8555b5 (patch)
tree56227ddec4fd58952b899f43481c5c2a32d5664e /drivers/s390/net/qeth_l2_main.c
parent922dc0624ea02905e33a7fe1440f8cd157f9a4e5 (diff)
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: Ursula Braun <braunu@de.ibm.com> Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/s390/net/qeth_l2_main.c')
-rw-r--r--drivers/s390/net/qeth_l2_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/s390/net/qeth_l2_main.c b/drivers/s390/net/qeth_l2_main.c
index 4417a3629ae0..0263d9406fcf 100644
--- a/drivers/s390/net/qeth_l2_main.c
+++ b/drivers/s390/net/qeth_l2_main.c
@@ -451,7 +451,8 @@ static void qeth_l2_process_inbound_buffer(struct qeth_card *card,
451 skb->ip_summed = CHECKSUM_UNNECESSARY; 451 skb->ip_summed = CHECKSUM_UNNECESSARY;
452 else 452 else
453 skb->ip_summed = CHECKSUM_NONE; 453 skb->ip_summed = CHECKSUM_NONE;
454 *((__u32 *)skb->cb) = ++card->seqno.pkt_seqno; 454 if (skb->protocol == htons(ETH_P_802_2))
455 *((__u32 *)skb->cb) = ++card->seqno.pkt_seqno;
455 len = skb->len; 456 len = skb->len;
456 netif_rx(skb); 457 netif_rx(skb);
457 break; 458 break;