Lines Matching refs:tx_start_bd
200 struct eth_tx_start_bd *tx_start_bd; in bnx2x_free_tx_pkt() local
213 tx_start_bd = &txdata->tx_desc_ring[bd_idx].start_bd; in bnx2x_free_tx_pkt()
215 nbd = le16_to_cpu(tx_start_bd->nbd) - 1; in bnx2x_free_tx_pkt()
246 dma_unmap_single(&bp->pdev->dev, BD_UNMAP_ADDR(tx_start_bd), in bnx2x_free_tx_pkt()
247 BD_UNMAP_LEN(tx_start_bd) + split_bd_len, in bnx2x_free_tx_pkt()
3581 struct eth_tx_start_bd *tx_start_bd, in bnx2x_set_sbd_csum() argument
3584 tx_start_bd->bd_flags.as_bitfield |= ETH_TX_BD_FLAGS_L4_CSUM; in bnx2x_set_sbd_csum()
3587 tx_start_bd->bd_flags.as_bitfield |= ETH_TX_BD_FLAGS_IPV6; in bnx2x_set_sbd_csum()
3590 tx_start_bd->bd_flags.as_bitfield |= ETH_TX_BD_FLAGS_IS_UDP; in bnx2x_set_sbd_csum()
3749 struct eth_tx_start_bd *tx_start_bd, *first_bd; in bnx2x_start_xmit() local
3865 tx_start_bd = &txdata->tx_desc_ring[bd_prod].start_bd; in bnx2x_start_xmit()
3866 first_bd = tx_start_bd; in bnx2x_start_xmit()
3868 tx_start_bd->bd_flags.as_bitfield = ETH_TX_BD_FLAGS_START_BD; in bnx2x_start_xmit()
3888 tx_start_bd->general_data = 1 << ETH_TX_START_BD_HDR_NBDS_SHIFT; in bnx2x_start_xmit()
3897 pkt_prod, tx_buf, txdata->tx_pkt_prod, bd_prod, tx_start_bd); in bnx2x_start_xmit()
3900 tx_start_bd->vlan_or_ethertype = in bnx2x_start_xmit()
3902 tx_start_bd->bd_flags.as_bitfield |= in bnx2x_start_xmit()
3914 tx_start_bd->vlan_or_ethertype = in bnx2x_start_xmit()
3917 tx_start_bd->bd_flags.as_bitfield |= in bnx2x_start_xmit()
3920 tx_start_bd->vlan_or_ethertype = in bnx2x_start_xmit()
3926 tx_start_bd->vlan_or_ethertype = cpu_to_le16(pkt_prod); in bnx2x_start_xmit()
3937 bnx2x_set_sbd_csum(bp, skb, tx_start_bd, xmit_type); in bnx2x_start_xmit()
3970 SET_FLAG(tx_start_bd->general_data, in bnx2x_start_xmit()
3973 SET_FLAG(tx_start_bd->general_data, in bnx2x_start_xmit()
4035 tx_start_bd->addr_hi = cpu_to_le32(U64_HI(mapping)); in bnx2x_start_xmit()
4036 tx_start_bd->addr_lo = cpu_to_le32(U64_LO(mapping)); in bnx2x_start_xmit()
4037 tx_start_bd->nbytes = cpu_to_le16(skb_headlen(skb)); in bnx2x_start_xmit()
4038 pkt_size = tx_start_bd->nbytes; in bnx2x_start_xmit()
4042 tx_start_bd, tx_start_bd->addr_hi, tx_start_bd->addr_lo, in bnx2x_start_xmit()
4043 le16_to_cpu(tx_start_bd->nbytes), in bnx2x_start_xmit()
4044 tx_start_bd->bd_flags.as_bitfield, in bnx2x_start_xmit()
4045 le16_to_cpu(tx_start_bd->vlan_or_ethertype)); in bnx2x_start_xmit()
4054 tx_start_bd->bd_flags.as_bitfield |= ETH_TX_BD_FLAGS_SW_LSO; in bnx2x_start_xmit()
4059 &tx_start_bd, hlen, in bnx2x_start_xmit()
4077 tx_data_bd = (struct eth_tx_bd *)tx_start_bd; in bnx2x_start_xmit()