Searched refs:rx_hr (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/caif/ |
H A D | caif_virtio.c | 87 * @rx_hr: receive headroom 114 u16 rx_hr; member 225 if (frm_len > cfv->mru || frm_len <= cfv->rx_hr + cfv->rx_tr) { in cfv_alloc_and_copy_skb() 228 frm_len, cfv->mru, cfv->rx_hr, in cfv_alloc_and_copy_skb() 234 cfpkt_len = frm_len - (cfv->rx_hr + cfv->rx_tr); in cfv_alloc_and_copy_skb() 235 pad_len = (unsigned long)(frm + cfv->rx_hr) & (IP_HDR_ALIGN - 1); in cfv_alloc_and_copy_skb() 243 skb_reserve(skb, cfv->rx_hr + pad_len); in cfv_alloc_and_copy_skb() 245 skb_put_data(skb, frm + cfv->rx_hr, cfpkt_len); in cfv_alloc_and_copy_skb() 513 skb->len + cfv->tx_hr + cfv->rx_hr); in cfv_alloc_and_copy_to_shm() 687 &cfv->rx_hr); in cfv_probe() [all...] |
/kernel/linux/linux-6.6/drivers/net/caif/ |
H A D | caif_virtio.c | 87 * @rx_hr: receive headroom 114 u16 rx_hr; member 225 if (frm_len > cfv->mru || frm_len <= cfv->rx_hr + cfv->rx_tr) { in cfv_alloc_and_copy_skb() 228 frm_len, cfv->mru, cfv->rx_hr, in cfv_alloc_and_copy_skb() 234 cfpkt_len = frm_len - (cfv->rx_hr + cfv->rx_tr); in cfv_alloc_and_copy_skb() 235 pad_len = (unsigned long)(frm + cfv->rx_hr) & (IP_HDR_ALIGN - 1); in cfv_alloc_and_copy_skb() 243 skb_reserve(skb, cfv->rx_hr + pad_len); in cfv_alloc_and_copy_skb() 245 skb_put_data(skb, frm + cfv->rx_hr, cfpkt_len); in cfv_alloc_and_copy_skb() 513 skb->len + cfv->tx_hr + cfv->rx_hr); in cfv_alloc_and_copy_to_shm() 687 &cfv->rx_hr); in cfv_probe() [all...] |
Completed in 3 milliseconds