Searched refs:frag_info (Results 1 – 4 of 4) sorted by relevance
/drivers/net/ethernet/mellanox/mlx4/ |
D | en_rx.c | 51 struct mlx4_en_frag_info *frag_info; in mlx4_en_alloc_frags() local 57 frag_info = &priv->frag_info[i]; in mlx4_en_alloc_frags() 58 if (ring_alloc[i].offset == frag_info->last_offset) { in mlx4_en_alloc_frags() 71 page_alloc[i].offset = frag_info->frag_align; in mlx4_en_alloc_frags() 77 frag_info->frag_stride; in mlx4_en_alloc_frags() 93 frag_info = &priv->frag_info[i]; in mlx4_en_alloc_frags() 94 if (ring_alloc[i].offset == frag_info->last_offset) in mlx4_en_alloc_frags() 106 struct mlx4_en_frag_info *frag_info = &priv->frag_info[i]; in mlx4_en_free_frag() local 108 if (frags[i].offset == frag_info->last_offset) { in mlx4_en_free_frag() 136 page_alloc->offset = priv->frag_info[i].frag_align; in mlx4_en_init_allocator() [all …]
|
D | mlx4_en.h | 511 struct mlx4_en_frag_info frag_info[MLX4_EN_MAX_RX_FRAGS]; member
|
/drivers/net/ethernet/icplus/ |
D | ipg.c | 138 offset = (u32) &sp->rxd[i].frag_info - (u32) sp->rxd; in ipg_dump_rfdlist() 140 i, offset, (unsigned long)sp->rxd[i].frag_info); in ipg_dump_rfdlist() 168 offset = (u32) &sp->txd[i].frag_info - (u32) sp->txd; in ipg_dump_tfdlist() 170 i, offset, (unsigned long) sp->txd[i].frag_info); in ipg_dump_tfdlist() 750 rxfd->frag_info = cpu_to_le64(pci_map_single(sp->pdev, skb->data, in ipg_get_rxbuff() 755 rxfd->frag_info |= cpu_to_le64((rxfragsize << 48) & IPG_RFI_FRAGLEN); in ipg_get_rxbuff() 773 le64_to_cpu(rxfd->frag_info) & ~IPG_RFI_FRAGLEN, in init_rfdlist() 879 le64_to_cpu(txfd->frag_info) & ~IPG_TFI_FRAGLEN, in ipg_nic_txfree() 1102 le64_to_cpu(rxfd->frag_info) & ~IPG_RFI_FRAGLEN, in ipg_nic_rx_free_skb() 1169 le64_to_cpu(rxfd->frag_info) & ~IPG_RFI_FRAGLEN, in ipg_nic_rx_check_error() [all …]
|
D | ipg.h | 693 __le64 frag_info; member 701 __le64 frag_info; member
|