Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_cmn.c199 struct eth_tx_start_bd *tx_start_bd; in bnx2x_free_tx_pkt() local
214 nbd = le16_to_cpu(tx_start_bd->nbd) - 1; in bnx2x_free_tx_pkt()
3877 first_bd = tx_start_bd; in bnx2x_start_xmit()
3911 tx_start_bd->vlan_or_ethertype = in bnx2x_start_xmit()
3913 tx_start_bd->bd_flags.as_bitfield |= in bnx2x_start_xmit()
3925 tx_start_bd->vlan_or_ethertype = in bnx2x_start_xmit()
3931 tx_start_bd->vlan_or_ethertype = in bnx2x_start_xmit()
4049 pkt_size = tx_start_bd->nbytes; in bnx2x_start_xmit()
4053 tx_start_bd, tx_start_bd->addr_hi, tx_start_bd->addr_lo, in bnx2x_start_xmit()
4054 le16_to_cpu(tx_start_bd->nbytes), in bnx2x_start_xmit()
[all …]
H A 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()