Home
last modified time | relevance | path

Searched refs:tx_start_bd (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c200 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
[all …]
Dbnx2x_ethtool.c2506 struct eth_tx_start_bd *tx_start_bd; in bnx2x_run_loopback() local
2590 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()