Lines Matching refs:packet_len
402 unsigned int packet_number, status, packet_len; in smc_rcv() local
416 SMC_GET_PKT_HDR(lp, status, packet_len); in smc_rcv()
417 packet_len &= 0x07ff; /* mask off top bits */ in smc_rcv()
419 packet_number, status, packet_len, packet_len); in smc_rcv()
422 if (unlikely(packet_len < 6 || status & RS_ERRORS)) { in smc_rcv()
423 if (status & RS_TOOLONG && packet_len <= (1514 + 4 + 6)) { in smc_rcv()
428 if (packet_len < 6) { in smc_rcv()
431 packet_len, status); in smc_rcv()
460 skb = netdev_alloc_skb(dev, packet_len); in smc_rcv()
480 data_len = packet_len - ((status & RS_ODDFRAME) ? 5 : 6); in smc_rcv()
482 SMC_PULL_DATA(lp, data, packet_len - 4); in smc_rcv()
487 PRINT_PKT(data, packet_len - 4); in smc_rcv()