Home
last modified time | relevance | path

Searched refs:pull_len (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c263 unsigned int pull_len; in fm10k_add_rx_frag() local
283 pull_len = eth_get_headlen(skb->dev, va, FM10K_RX_HDR_LEN); in fm10k_add_rx_frag()
286 memcpy(__skb_put(skb, pull_len), va, ALIGN(pull_len, sizeof(long))); in fm10k_add_rx_frag()
289 va += pull_len; in fm10k_add_rx_frag()
290 size -= pull_len; in fm10k_add_rx_frag()
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns/
Dhns_enet.c408 struct hnae_ring *ring, int pull_len, in hns_nic_reuse_page() argument
430 skb_add_rx_frag(skb, i, desc_cb->priv, desc_cb->page_offset + pull_len, in hns_nic_reuse_page()
431 size - pull_len, truesize); in hns_nic_reuse_page()
548 int pull_len; in hns_nic_poll_rx_skb() local
592 pull_len = eth_get_headlen(ndev, va, HNS_RX_HEAD_SIZE); in hns_nic_poll_rx_skb()
593 memcpy(__skb_put(skb, pull_len), va, in hns_nic_poll_rx_skb()
594 ALIGN(pull_len, sizeof(long))); in hns_nic_poll_rx_skb()
596 hns_nic_reuse_page(skb, 0, ring, pull_len, desc_cb); in hns_nic_poll_rx_skb()
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4vf/
Dsge.c1500 unsigned int pull_len) in t4vf_pktgl_to_skb() argument
1526 __skb_put(skb, pull_len); in t4vf_pktgl_to_skb()
1527 skb_copy_to_linear_data(skb, gl->va, pull_len); in t4vf_pktgl_to_skb()
1529 copy_frags(skb, gl, pull_len); in t4vf_pktgl_to_skb()
1531 skb->data_len = skb->len - pull_len; in t4vf_pktgl_to_skb()
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c3710 int pull_len, in hns3_handle_rx_copybreak() argument
3714 u32 frag_offset = desc_cb->page_offset + pull_len; in hns3_handle_rx_copybreak()
3716 u32 frag_size = size - pull_len; in hns3_handle_rx_copybreak()
3737 struct hns3_enet_ring *ring, int pull_len, in hns3_nic_reuse_page() argument
3741 u32 frag_offset = desc_cb->page_offset + pull_len; in hns3_nic_reuse_page()
3744 u32 frag_size = size - pull_len; in hns3_nic_reuse_page()
3780 ret = hns3_handle_rx_copybreak(skb, i, ring, pull_len, desc_cb); in hns3_nic_reuse_page()
4061 ring->pull_len = eth_get_headlen(netdev, va, HNS3_RX_HEAD_SIZE); in hns3_alloc_skb()
4062 __skb_put(skb, ring->pull_len); in hns3_alloc_skb()
4063 hns3_nic_reuse_page(skb, ring->frag_num++, ring, ring->pull_len, in hns3_alloc_skb()
[all …]
Dhns3_enet.h501 u32 pull_len; /* memcpy len for current rx packet */ member
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_uld.h530 unsigned int skb_len, unsigned int pull_len);
Dsge.c3347 unsigned int skb_len, unsigned int pull_len) in cxgb4_pktgl_to_skb() argument
3366 __skb_put(skb, pull_len); in cxgb4_pktgl_to_skb()
3367 skb_copy_to_linear_data(skb, gl->va, pull_len); in cxgb4_pktgl_to_skb()
3369 copy_frags(skb, gl, pull_len); in cxgb4_pktgl_to_skb()
3371 skb->data_len = skb->len - pull_len; in cxgb4_pktgl_to_skb()
/linux-6.1.9/drivers/net/wireless/ath/ath10k/
Dwmi.c2290 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()
/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c1792 unsigned int pull_len; in ixgbe_pull_tail() local
1805 pull_len = eth_get_headlen(skb->dev, va, IXGBE_RX_HDR_SIZE); in ixgbe_pull_tail()
1808 skb_copy_to_linear_data(skb, va, ALIGN(pull_len, sizeof(long))); in ixgbe_pull_tail()
1811 skb_frag_size_sub(frag, pull_len); in ixgbe_pull_tail()
1812 skb_frag_off_add(frag, pull_len); in ixgbe_pull_tail()
1813 skb->data_len -= pull_len; in ixgbe_pull_tail()
1814 skb->tail += pull_len; in ixgbe_pull_tail()