Searched refs:tx_start_bd (Results 1 – 2 of 2) sorted by relevance
199 struct eth_tx_start_bd *tx_start_bd; in bnx2x_free_tx_pkt() local212 tx_start_bd = &txdata->tx_desc_ring[bd_idx].start_bd; in bnx2x_free_tx_pkt()214 nbd = le16_to_cpu(tx_start_bd->nbd) - 1; in bnx2x_free_tx_pkt()245 dma_unmap_single(&bp->pdev->dev, BD_UNMAP_ADDR(tx_start_bd), in bnx2x_free_tx_pkt()246 BD_UNMAP_LEN(tx_start_bd) + split_bd_len, in bnx2x_free_tx_pkt()3592 struct eth_tx_start_bd *tx_start_bd, in bnx2x_set_sbd_csum() argument3595 tx_start_bd->bd_flags.as_bitfield |= ETH_TX_BD_FLAGS_L4_CSUM; in bnx2x_set_sbd_csum()3598 tx_start_bd->bd_flags.as_bitfield |= ETH_TX_BD_FLAGS_IPV6; in bnx2x_set_sbd_csum()3601 tx_start_bd->bd_flags.as_bitfield |= ETH_TX_BD_FLAGS_IS_UDP; in bnx2x_set_sbd_csum()3760 struct eth_tx_start_bd *tx_start_bd, *first_bd; in bnx2x_start_xmit() local[all …]
2506 struct eth_tx_start_bd *tx_start_bd; in bnx2x_run_loopback() local2590 tx_start_bd = &txdata->tx_desc_ring[bd_prod].start_bd; in bnx2x_run_loopback()2591 tx_start_bd->addr_hi = cpu_to_le32(U64_HI(mapping)); in bnx2x_run_loopback()2592 tx_start_bd->addr_lo = cpu_to_le32(U64_LO(mapping)); in bnx2x_run_loopback()2593 tx_start_bd->nbd = cpu_to_le16(2); /* start + pbd */ in bnx2x_run_loopback()2594 tx_start_bd->nbytes = cpu_to_le16(skb_headlen(skb)); in bnx2x_run_loopback()2595 tx_start_bd->vlan_or_ethertype = cpu_to_le16(pkt_prod); in bnx2x_run_loopback()2596 tx_start_bd->bd_flags.as_bitfield = ETH_TX_BD_FLAGS_START_BD; in bnx2x_run_loopback()2597 SET_FLAG(tx_start_bd->general_data, in bnx2x_run_loopback()2600 SET_FLAG(tx_start_bd->general_data, in bnx2x_run_loopback()