Home
last modified time | relevance | path

Searched refs:skblen (Results 1 – 7 of 7) sorted by relevance

/drivers/net/ethernet/amd/
Dsunlance.c1112 int entry, skblen, len; in lance_start_xmit() local
1114 skblen = skb->len; in lance_start_xmit()
1116 len = (skblen <= ETH_ZLEN) ? ETH_ZLEN : skblen; in lance_start_xmit()
1127 lance_piocopy_from_skb(&ib->tx_buf[entry][0], skb->data, skblen); in lance_start_xmit()
1128 if (len != skblen) in lance_start_xmit()
1129 lance_piozero(&ib->tx_buf[entry][skblen], len - skblen); in lance_start_xmit()
1135 skb_copy_from_linear_data(skb, &ib->tx_buf [entry][0], skblen); in lance_start_xmit()
1136 if (len != skblen) in lance_start_xmit()
1137 memset((char *) &ib->tx_buf [entry][skblen], 0, len - skblen); in lance_start_xmit()
D7990.c542 int entry, skblen, len; in lance_start_xmit() local
551 skblen = skb->len; in lance_start_xmit()
565 len = (skblen <= ETH_ZLEN) ? ETH_ZLEN : skblen; in lance_start_xmit()
572 skb_copy_from_linear_data(skb, (void *)&ib->tx_buf[entry][0], skblen); in lance_start_xmit()
Da2065.c540 int entry, skblen; in lance_start_xmit() local
546 skblen = max_t(unsigned, skb->len, ETH_ZLEN); in lance_start_xmit()
561 ib->btx_ring[entry].length = (-skblen) | 0xf000; in lance_start_xmit()
564 skb_copy_from_linear_data(skb, (void *)&ib->tx_buf[entry][0], skblen); in lance_start_xmit()
569 dev->stats.tx_bytes += skblen; in lance_start_xmit()
/drivers/net/ethernet/nxp/
Dlpc_eth.c424 unsigned int skblen[ENET_TX_DESC]; member
891 unsigned int skblen = pldat->skblen[pldat->last_tx_idx]; in __lpc_handle_xmit() local
928 ndev->stats.tx_bytes += skblen; in __lpc_handle_xmit()
1114 pldat->skblen[txidx] = len; in lpc_eth_hard_start_xmit()
/drivers/staging/wlan-ng/
Dhfa384x_usb.c3562 unsigned int skblen = 0; in hfa384x_int_rxmonitor() local
3575 skblen = sizeof(struct p80211_caphdr) + hdrlen + datalen + WLAN_CRC_LEN; in hfa384x_int_rxmonitor()
3578 if (skblen > in hfa384x_int_rxmonitor()
3582 skblen - sizeof(struct p80211_caphdr)); in hfa384x_int_rxmonitor()
3585 skb = dev_alloc_skb(skblen); in hfa384x_int_rxmonitor()
3589 skblen); in hfa384x_int_rxmonitor()
/drivers/s390/net/
Dctcm_main.c86 int skblen; in ctcm_unpack_skb() local
161 skblen = skb->len; in ctcm_unpack_skb()
167 priv->stats.rx_bytes += skblen; in ctcm_unpack_skb()
Dctcm_mpc.c1064 int skblen; in ctcmpc_unpack_skb() local
1184 skblen = skb->len; in ctcmpc_unpack_skb()
1187 priv->stats.rx_bytes += skblen; in ctcmpc_unpack_skb()