Searched refs:tx_start_bd (Results 1 – 2 of 2) sorted by relevance
69 struct eth_tx_start_bd *tx_start_bd; in bnx2x_free_tx_pkt() local82 tx_start_bd = &txdata->tx_desc_ring[bd_idx].start_bd; in bnx2x_free_tx_pkt()85 nbd = le16_to_cpu(tx_start_bd->nbd) - 1; in bnx2x_free_tx_pkt()110 dma_unmap_single(&bp->pdev->dev, BD_UNMAP_ADDR(tx_start_bd), in bnx2x_free_tx_pkt()111 BD_UNMAP_LEN(tx_start_bd) + split_bd_len, in bnx2x_free_tx_pkt()2600 struct eth_tx_start_bd *tx_start_bd, u32 xmit_type) in bnx2x_set_sbd_csum() argument2602 tx_start_bd->bd_flags.as_bitfield |= ETH_TX_BD_FLAGS_L4_CSUM; in bnx2x_set_sbd_csum()2605 tx_start_bd->bd_flags.as_bitfield |= in bnx2x_set_sbd_csum()2608 tx_start_bd->bd_flags.as_bitfield |= in bnx2x_set_sbd_csum()2612 tx_start_bd->bd_flags.as_bitfield |= ETH_TX_BD_FLAGS_IS_UDP; in bnx2x_set_sbd_csum()[all …]
1832 struct eth_tx_start_bd *tx_start_bd; in bnx2x_run_loopback() local1908 tx_start_bd = &txdata->tx_desc_ring[bd_prod].start_bd; in bnx2x_run_loopback()1909 tx_start_bd->addr_hi = cpu_to_le32(U64_HI(mapping)); in bnx2x_run_loopback()1910 tx_start_bd->addr_lo = cpu_to_le32(U64_LO(mapping)); in bnx2x_run_loopback()1911 tx_start_bd->nbd = cpu_to_le16(2); /* start + pbd */ in bnx2x_run_loopback()1912 tx_start_bd->nbytes = cpu_to_le16(skb_headlen(skb)); in bnx2x_run_loopback()1913 tx_start_bd->vlan_or_ethertype = cpu_to_le16(pkt_prod); in bnx2x_run_loopback()1914 tx_start_bd->bd_flags.as_bitfield = ETH_TX_BD_FLAGS_START_BD; in bnx2x_run_loopback()1915 SET_FLAG(tx_start_bd->general_data, in bnx2x_run_loopback()1918 SET_FLAG(tx_start_bd->general_data, in bnx2x_run_loopback()