Lines Matching refs:tx_start_bd

198 	struct eth_tx_start_bd *tx_start_bd;  in bnx2x_free_tx_pkt()  local
211 tx_start_bd = &txdata->tx_desc_ring[bd_idx].start_bd; in bnx2x_free_tx_pkt()
213 nbd = le16_to_cpu(tx_start_bd->nbd) - 1; in bnx2x_free_tx_pkt()
244 dma_unmap_single(&bp->pdev->dev, BD_UNMAP_ADDR(tx_start_bd), in bnx2x_free_tx_pkt()
245 BD_UNMAP_LEN(tx_start_bd) + split_bd_len, in bnx2x_free_tx_pkt()
3591 struct eth_tx_start_bd *tx_start_bd, in bnx2x_set_sbd_csum() argument
3594 tx_start_bd->bd_flags.as_bitfield |= ETH_TX_BD_FLAGS_L4_CSUM; in bnx2x_set_sbd_csum()
3597 tx_start_bd->bd_flags.as_bitfield |= ETH_TX_BD_FLAGS_IPV6; in bnx2x_set_sbd_csum()
3600 tx_start_bd->bd_flags.as_bitfield |= ETH_TX_BD_FLAGS_IS_UDP; in bnx2x_set_sbd_csum()
3759 struct eth_tx_start_bd *tx_start_bd, *first_bd; in bnx2x_start_xmit() local
3875 tx_start_bd = &txdata->tx_desc_ring[bd_prod].start_bd; in bnx2x_start_xmit()
3876 first_bd = tx_start_bd; in bnx2x_start_xmit()
3878 tx_start_bd->bd_flags.as_bitfield = ETH_TX_BD_FLAGS_START_BD; in bnx2x_start_xmit()
3898 tx_start_bd->general_data = 1 << ETH_TX_START_BD_HDR_NBDS_SHIFT; in bnx2x_start_xmit()
3907 pkt_prod, tx_buf, txdata->tx_pkt_prod, bd_prod, tx_start_bd); in bnx2x_start_xmit()
3910 tx_start_bd->vlan_or_ethertype = in bnx2x_start_xmit()
3912 tx_start_bd->bd_flags.as_bitfield |= in bnx2x_start_xmit()
3924 tx_start_bd->vlan_or_ethertype = in bnx2x_start_xmit()
3927 tx_start_bd->bd_flags.as_bitfield |= in bnx2x_start_xmit()
3930 tx_start_bd->vlan_or_ethertype = in bnx2x_start_xmit()
3936 tx_start_bd->vlan_or_ethertype = cpu_to_le16(pkt_prod); in bnx2x_start_xmit()
3947 bnx2x_set_sbd_csum(bp, skb, tx_start_bd, xmit_type); in bnx2x_start_xmit()
3980 SET_FLAG(tx_start_bd->general_data, in bnx2x_start_xmit()
3983 SET_FLAG(tx_start_bd->general_data, in bnx2x_start_xmit()
4045 tx_start_bd->addr_hi = cpu_to_le32(U64_HI(mapping)); in bnx2x_start_xmit()
4046 tx_start_bd->addr_lo = cpu_to_le32(U64_LO(mapping)); in bnx2x_start_xmit()
4047 tx_start_bd->nbytes = cpu_to_le16(skb_headlen(skb)); in bnx2x_start_xmit()
4048 pkt_size = tx_start_bd->nbytes; in bnx2x_start_xmit()
4052 tx_start_bd, tx_start_bd->addr_hi, tx_start_bd->addr_lo, in bnx2x_start_xmit()
4053 le16_to_cpu(tx_start_bd->nbytes), in bnx2x_start_xmit()
4054 tx_start_bd->bd_flags.as_bitfield, in bnx2x_start_xmit()
4055 le16_to_cpu(tx_start_bd->vlan_or_ethertype)); in bnx2x_start_xmit()
4064 tx_start_bd->bd_flags.as_bitfield |= ETH_TX_BD_FLAGS_SW_LSO; in bnx2x_start_xmit()
4069 &tx_start_bd, hlen, in bnx2x_start_xmit()
4087 tx_data_bd = (struct eth_tx_bd *)tx_start_bd; in bnx2x_start_xmit()