/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_sriov_common.c | 757 u8 cmd_op, num_frags, t_num_frags; in qlcnic_sriov_prepare_bc_hdr() local 769 num_frags = (trans->req_pay_size) / (bc_pay_sz); in qlcnic_sriov_prepare_bc_hdr() 771 num_frags++; in qlcnic_sriov_prepare_bc_hdr() 772 t_num_frags = num_frags; in qlcnic_sriov_prepare_bc_hdr() 773 if (qlcnic_sriov_alloc_bc_msg(&trans->req_hdr, num_frags)) in qlcnic_sriov_prepare_bc_hdr() 776 num_frags = (trans->rsp_pay_size) / (bc_pay_sz); in qlcnic_sriov_prepare_bc_hdr() 778 num_frags++; in qlcnic_sriov_prepare_bc_hdr() 779 if (qlcnic_sriov_alloc_bc_msg(&trans->rsp_hdr, num_frags)) in qlcnic_sriov_prepare_bc_hdr() 781 num_frags = t_num_frags; in qlcnic_sriov_prepare_bc_hdr() 789 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/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/infiniband/ulp/ipoib/ |
D | ipoib_cm.c | 102 for (i = 0; i < priv->cm.num_frags; ++i) in ipoib_cm_post_receive_srq() 108 ipoib_cm_dma_unmap_rx(priv, priv->cm.num_frags - 1, in ipoib_cm_post_receive_srq() 338 for (i = 0; i < priv->cm.num_frags; ++i) in ipoib_cm_init_rx_wr() 342 for (i = 1; i < priv->cm.num_frags; ++i) in ipoib_cm_init_rx_wr() 347 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() 1603 priv->cm.num_frags = max_srq_sge; in ipoib_cm_dev_init() 1605 priv->cm.max_cm_mtu, priv->cm.num_frags); in ipoib_cm_dev_init() [all …]
|
D | ipoib.h | 294 int num_frags; member
|
/drivers/mailbox/ |
D | bcm-pdc-mailbox.c | 600 u32 num_frags; in pdc_receive_one() local 622 num_frags = pdcs->txin_numd[pdcs->txin]; in pdc_receive_one() 623 WARN_ON(num_frags == 0); in pdc_receive_one() 628 pdcs->txin = (pdcs->txin + num_frags) & pdcs->ntxpost; in pdc_receive_one() 631 pdcs->pdc_idx, num_frags); in pdc_receive_one() 635 num_frags = rx_ctx->rxin_numd; in pdc_receive_one() 644 pdcs->rxin = (pdcs->rxin + num_frags) & pdcs->nrxpost; in pdc_receive_one() 647 pdcs->pdc_idx, num_frags); in pdc_receive_one()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | en_rx.c | 82 for (i = 0; i < priv->num_frags; i++, frags++) { in mlx4_en_alloc_frags() 116 for (i = 0; i < priv->num_frags; i++) { in mlx4_en_init_rx_desc() 126 for (i = priv->num_frags; i < possible_frags; i++) { in mlx4_en_init_rx_desc() 176 for (nr = 0; nr < priv->num_frags; nr++) { in mlx4_en_free_rx_desc() 335 DS_SIZE * priv->num_frags); in mlx4_en_activate_rx_rings() 1044 priv->num_frags = i; in mlx4_en_calc_rx_buf() 1049 eff_mtu, priv->num_frags); in mlx4_en_calc_rx_buf() 1050 for (i = 0; i < priv->num_frags; i++) { in mlx4_en_calc_rx_buf()
|
D | mlx4_en.h | 582 u8 num_frags; member
|
/drivers/net/ethernet/qlogic/qede/ |
D | qede_fp.c | 1127 u8 num_frags; in qede_rx_build_jumbo() local 1132 for (num_frags = cqe->bd_num - 1; num_frags > 0; num_frags--) { in qede_rx_build_jumbo() 1139 num_frags); in qede_rx_build_jumbo() 1172 return num_frags; in qede_rx_build_jumbo()
|
/drivers/staging/unisys/include/ |
D | iochannel.h | 358 int num_frags; member
|
/drivers/hid/intel-ish-hid/ishtp/ |
D | hbm.c | 301 unsigned int num_frags; in ishtp_hbm_cl_flow_control_req() local 317 num_frags = cl->recv_msg_num_frags; in ishtp_hbm_cl_flow_control_req()
|
/drivers/net/ethernet/amazon/ena/ |
D | ena_netdev.c | 1953 int num_frags, header_len, rc; in ena_check_and_linearize_skb() local 1955 num_frags = skb_shinfo(skb)->nr_frags; in ena_check_and_linearize_skb() 1958 if (num_frags < tx_ring->sgl_size) in ena_check_and_linearize_skb() 1961 if ((num_frags == tx_ring->sgl_size) && in ena_check_and_linearize_skb()
|
/drivers/staging/unisys/visornic/ |
D | visornic_main.c | 970 cmdrsp->net.xmt.num_frags = in visornic_xmit() 974 if (cmdrsp->net.xmt.num_frags < 0) { in visornic_xmit()
|
/drivers/net/ethernet/emulex/benet/ |
D | be_main.c | 929 u32 num_frags = skb_wrb_cnt(skb); in be_tx_setup_wrb_hdr() local 939 atomic_add(num_frags, &txq->used); in be_tx_setup_wrb_hdr() 940 txo->last_req_wrb_cnt = num_frags; in be_tx_setup_wrb_hdr() 941 txo->pend_wrb_cnt += num_frags; in be_tx_setup_wrb_hdr()
|
/drivers/net/ |
D | macsec.c | 620 int num_frags) in macsec_alloc_req() argument 632 size += sizeof(struct scatterlist) * num_frags; in macsec_alloc_req()
|
/drivers/net/ethernet/marvell/ |
D | sky2.c | 2507 int i, num_frags; in skb_put_frags() local 2516 num_frags = skb_shinfo(skb)->nr_frags; in skb_put_frags() 2517 for (i = 0; i < num_frags; i++) { in skb_put_frags()
|