/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_main.c | 268 unsigned int pull_len; in fm10k_add_rx_frag() local 288 pull_len = eth_get_headlen(skb->dev, va, FM10K_RX_HDR_LEN); in fm10k_add_rx_frag() 291 memcpy(__skb_put(skb, pull_len), va, ALIGN(pull_len, sizeof(long))); in fm10k_add_rx_frag() 294 va += pull_len; in fm10k_add_rx_frag() 295 size -= pull_len; in fm10k_add_rx_frag()
|
/drivers/net/ethernet/hisilicon/hns/ |
D | hns_enet.c | 410 struct hnae_ring *ring, int pull_len, in hns_nic_reuse_page() argument 432 skb_add_rx_frag(skb, i, desc_cb->priv, desc_cb->page_offset + pull_len, in hns_nic_reuse_page() 433 size - pull_len, truesize); in hns_nic_reuse_page() 550 int pull_len; in hns_nic_poll_rx_skb() local 594 pull_len = eth_get_headlen(ndev, va, HNS_RX_HEAD_SIZE); in hns_nic_poll_rx_skb() 595 memcpy(__skb_put(skb, pull_len), va, in hns_nic_poll_rx_skb() 596 ALIGN(pull_len, sizeof(long))); in hns_nic_poll_rx_skb() 598 hns_nic_reuse_page(skb, 0, ring, pull_len, desc_cb); in hns_nic_poll_rx_skb()
|
/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | sge.c | 1503 unsigned int pull_len) in t4vf_pktgl_to_skb() argument 1529 __skb_put(skb, pull_len); in t4vf_pktgl_to_skb() 1530 skb_copy_to_linear_data(skb, gl->va, pull_len); in t4vf_pktgl_to_skb() 1532 copy_frags(skb, gl, pull_len); in t4vf_pktgl_to_skb() 1534 skb->data_len = skb->len - pull_len; in t4vf_pktgl_to_skb()
|
/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_enet.h | 403 u32 pull_len; /* memcpy len for current rx packet */ member
|
D | hns3_enet.c | 2701 struct hns3_enet_ring *ring, int pull_len, in hns3_nic_reuse_page() argument 2709 skb_add_rx_frag(skb, i, desc_cb->priv, desc_cb->page_offset + pull_len, in hns3_nic_reuse_page() 2710 size - pull_len, truesize); in hns3_nic_reuse_page() 2966 ring->pull_len = eth_get_headlen(netdev, va, HNS3_RX_HEAD_SIZE); in hns3_alloc_skb() 2967 __skb_put(skb, ring->pull_len); in hns3_alloc_skb() 2968 hns3_nic_reuse_page(skb, ring->frag_num++, ring, ring->pull_len, in hns3_alloc_skb() 3214 ALIGN(ring->pull_len, sizeof(long))); in hns3_handle_rx_bd()
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_uld.h | 530 unsigned int skb_len, unsigned int pull_len);
|
D | sge.c | 3341 unsigned int skb_len, unsigned int pull_len) in cxgb4_pktgl_to_skb() argument 3360 __skb_put(skb, pull_len); in cxgb4_pktgl_to_skb() 3361 skb_copy_to_linear_data(skb, gl->va, pull_len); in cxgb4_pktgl_to_skb() 3363 copy_frags(skb, gl, pull_len); in cxgb4_pktgl_to_skb() 3365 skb->data_len = skb->len - pull_len; in cxgb4_pktgl_to_skb()
|
/drivers/net/wireless/ath/ath10k/ |
D | wmi.c | 2290 size_t pull_len; in ath10k_wmi_op_pull_mgmt_rx_ev() local 2298 pull_len = sizeof(*ev_v2); in ath10k_wmi_op_pull_mgmt_rx_ev() 2302 pull_len = sizeof(*ev_v1); in ath10k_wmi_op_pull_mgmt_rx_ev() 2305 if (skb->len < pull_len) in ath10k_wmi_op_pull_mgmt_rx_ev() 2308 skb_pull(skb, pull_len); in ath10k_wmi_op_pull_mgmt_rx_ev() 2340 size_t pull_len; in ath10k_wmi_10_4_op_pull_mgmt_rx_ev() local 2347 pull_len = sizeof(*ev); in ath10k_wmi_10_4_op_pull_mgmt_rx_ev() 2349 if (skb->len < pull_len) in ath10k_wmi_10_4_op_pull_mgmt_rx_ev() 2352 skb_pull(skb, pull_len); in ath10k_wmi_10_4_op_pull_mgmt_rx_ev()
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_main.c | 1789 unsigned int pull_len; in ixgbe_pull_tail() local 1802 pull_len = eth_get_headlen(skb->dev, va, IXGBE_RX_HDR_SIZE); in ixgbe_pull_tail() 1805 skb_copy_to_linear_data(skb, va, ALIGN(pull_len, sizeof(long))); in ixgbe_pull_tail() 1808 skb_frag_size_sub(frag, pull_len); in ixgbe_pull_tail() 1809 skb_frag_off_add(frag, pull_len); in ixgbe_pull_tail() 1810 skb->data_len -= pull_len; in ixgbe_pull_tail() 1811 skb->tail += pull_len; in ixgbe_pull_tail()
|