/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_sriov_common.c | 755 u8 cmd_op, num_frags, t_num_frags; in qlcnic_sriov_prepare_bc_hdr() local 767 num_frags = (trans->req_pay_size) / (bc_pay_sz); in qlcnic_sriov_prepare_bc_hdr() 769 num_frags++; in qlcnic_sriov_prepare_bc_hdr() 770 t_num_frags = num_frags; in qlcnic_sriov_prepare_bc_hdr() 771 if (qlcnic_sriov_alloc_bc_msg(&trans->req_hdr, num_frags)) in qlcnic_sriov_prepare_bc_hdr() 774 num_frags = (trans->rsp_pay_size) / (bc_pay_sz); in qlcnic_sriov_prepare_bc_hdr() 776 num_frags++; in qlcnic_sriov_prepare_bc_hdr() 777 if (qlcnic_sriov_alloc_bc_msg(&trans->rsp_hdr, num_frags)) in qlcnic_sriov_prepare_bc_hdr() 779 num_frags = t_num_frags; in qlcnic_sriov_prepare_bc_hdr() 787 num_frags = (trans->rsp_pay_size) / (bc_pay_sz); in qlcnic_sriov_prepare_bc_hdr() [all …]
|
D | qlcnic_sriov.h | 30 u8 num_frags; member 36 u8 num_frags;
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | en_rx.c | 102 for (i = 0; i < priv->num_frags; i++) { in mlx4_en_alloc_frags() 116 for (i = 0; i < priv->num_frags; i++) { in mlx4_en_alloc_frags() 163 for (i = 0; i < priv->num_frags; i++) { in mlx4_en_init_allocator() 200 for (i = 0; i < priv->num_frags; i++) { in mlx4_en_destroy_allocator() 226 for (i = 0; i < priv->num_frags; i++) { in mlx4_en_init_rx_desc() 236 for (i = priv->num_frags; i < possible_frags; i++) { in mlx4_en_init_rx_desc() 278 for (nr = 0; nr < priv->num_frags; nr++) { in mlx4_en_free_rx_desc() 436 DS_SIZE * priv->num_frags); in mlx4_en_activate_rx_rings() 594 for (nr = 0; nr < priv->num_frags; nr++) { in mlx4_en_complete_rx_desc() 1087 for (nr = 0; nr < priv->num_frags; nr++) in mlx4_en_process_rx_cq() [all …]
|
D | mlx4_en.h | 576 u16 num_frags; member
|
D | en_netdev.c | 2662 if (priv->num_frags > 1) { in mlx4_xdp_set()
|
/drivers/net/ethernet/tile/ |
D | tilepro.c | 1714 unsigned int num_frags = in tile_net_tx_tso() local 1718 size_t cmd_size = LEPP_TSO_CMD_SIZE(num_frags, sh_len); in tile_net_tx_tso() 1727 .num_frags = num_frags, in tile_net_tx_tso() 1746 BUG_ON(num_frags > LEPP_MAX_FRAGS); in tile_net_tx_tso() 1757 memcpy(&cmd->frags[num_frags], data, sh_len); in tile_net_tx_tso() 1859 unsigned int num_frags; in tile_net_tx() local 1913 num_frags = tile_net_tx_frags(frags, skb, data, skb_headlen(skb)); in tile_net_tx() 1915 for (i = 0; i < num_frags; i++) { in tile_net_tx() 1917 bool final = (i == num_frags - 1); in tile_net_tx() 1966 for (i = 0; i < num_frags; i++) { in tile_net_tx()
|
/drivers/mailbox/ |
D | bcm-pdc-mailbox.c | 575 u32 num_frags; in pdc_receive() local 607 num_frags = pdcs->txin_numd[pdcs->txin]; in pdc_receive() 611 for (i = 0; i < num_frags; i++) in pdc_receive() 615 pdcs->pdc_idx, num_frags); in pdc_receive() 618 num_frags = pdcs->rxin_numd[rx_idx]; in pdc_receive() 627 for (i = 0; i < num_frags; i++) in pdc_receive() 633 pdcs->pdc_idx, num_frags); in pdc_receive() 664 if (num_frags > 0) in pdc_receive()
|
/drivers/infiniband/ulp/ipoib/ |
D | ipoib_cm.c | 100 for (i = 0; i < priv->cm.num_frags; ++i) in ipoib_cm_post_receive_srq() 106 ipoib_cm_dma_unmap_rx(priv, priv->cm.num_frags - 1, in ipoib_cm_post_receive_srq() 336 for (i = 0; i < priv->cm.num_frags; ++i) in ipoib_cm_init_rx_wr() 340 for (i = 1; i < priv->cm.num_frags; ++i) in ipoib_cm_init_rx_wr() 345 wr->num_sge = priv->cm.num_frags; in ipoib_cm_init_rx_wr() 530 int i, num_frags; in skb_put_frags() local 539 num_frags = skb_shinfo(skb)->nr_frags; in skb_put_frags() 540 for (i = 0; i < num_frags; i++) { in skb_put_frags() 1588 priv->cm.num_frags = max_srq_sge; in ipoib_cm_dev_init() 1590 priv->cm.max_cm_mtu, priv->cm.num_frags); in ipoib_cm_dev_init() [all …]
|
D | ipoib.h | 288 int num_frags; member
|
/drivers/staging/unisys/include/ |
D | iochannel.h | 289 int num_frags; /* number of fragments in frags containing data */ member
|
/drivers/hid/intel-ish-hid/ishtp/ |
D | hbm.c | 302 unsigned int num_frags; in ishtp_hbm_cl_flow_control_req() local 318 num_frags = cl->recv_msg_num_frags; in ishtp_hbm_cl_flow_control_req()
|
/drivers/net/ethernet/qlogic/qede/ |
D | qede_main.c | 1534 u8 num_frags; in qede_rx_int() local 1538 for (num_frags = fp_cqe->bd_num - 1; num_frags > 0; in qede_rx_int() 1539 num_frags--) { in qede_rx_int() 1545 num_frags); in qede_rx_int() 1547 num_frags); in qede_rx_int() 1554 num_frags); in qede_rx_int()
|
/drivers/net/ethernet/amazon/ena/ |
D | ena_netdev.c | 1839 int num_frags, header_len, rc; in ena_check_and_linearize_skb() local 1841 num_frags = skb_shinfo(skb)->nr_frags; in ena_check_and_linearize_skb() 1844 if (num_frags < tx_ring->sgl_size) in ena_check_and_linearize_skb() 1847 if ((num_frags == tx_ring->sgl_size) && in ena_check_and_linearize_skb()
|
/drivers/staging/unisys/visornic/ |
D | visornic_main.c | 871 cmdrsp->net.xmt.num_frags = in visornic_xmit() 875 if (cmdrsp->net.xmt.num_frags < 0) { in visornic_xmit()
|
/drivers/net/ethernet/emulex/benet/ |
D | be_main.c | 930 u32 num_frags = skb_wrb_cnt(skb); in be_tx_setup_wrb_hdr() local 940 atomic_add(num_frags, &txq->used); in be_tx_setup_wrb_hdr() 941 txo->last_req_wrb_cnt = num_frags; in be_tx_setup_wrb_hdr() 942 txo->pend_wrb_cnt += num_frags; in be_tx_setup_wrb_hdr()
|
/drivers/net/ |
D | macsec.c | 621 int num_frags) in macsec_alloc_req() argument 633 size += sizeof(struct scatterlist) * num_frags; in macsec_alloc_req()
|
/drivers/net/ethernet/marvell/ |
D | sky2.c | 2516 int i, num_frags; in skb_put_frags() local 2525 num_frags = skb_shinfo(skb)->nr_frags; in skb_put_frags() 2526 for (i = 0; i < num_frags; i++) { in skb_put_frags()
|