Searched refs:tx_start_bd (Results 1 - 2 of 2) sorted by relevance
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_cmn.c | 200 struct eth_tx_start_bd *tx_start_bd; bnx2x_free_tx_pkt() local 213 tx_start_bd = &txdata->tx_desc_ring[bd_idx].start_bd; bnx2x_free_tx_pkt() 215 nbd = le16_to_cpu(tx_start_bd->nbd) - 1; bnx2x_free_tx_pkt() 246 dma_unmap_single(&bp->pdev->dev, BD_UNMAP_ADDR(tx_start_bd), bnx2x_free_tx_pkt() 247 BD_UNMAP_LEN(tx_start_bd) + split_bd_len, bnx2x_free_tx_pkt() 3556 struct eth_tx_start_bd *tx_start_bd, bnx2x_set_sbd_csum() 3559 tx_start_bd->bd_flags.as_bitfield |= ETH_TX_BD_FLAGS_L4_CSUM; bnx2x_set_sbd_csum() 3562 tx_start_bd->bd_flags.as_bitfield |= ETH_TX_BD_FLAGS_IPV6; bnx2x_set_sbd_csum() 3565 tx_start_bd->bd_flags.as_bitfield |= ETH_TX_BD_FLAGS_IS_UDP; bnx2x_set_sbd_csum() 3724 struct eth_tx_start_bd *tx_start_bd, *first_bd; bnx2x_start_xmit() local 3836 * tx_start_bd may be changed during SPLIT, bnx2x_start_xmit() 3840 tx_start_bd = &txdata->tx_desc_ring[bd_prod].start_bd; bnx2x_start_xmit() 3841 first_bd = tx_start_bd; bnx2x_start_xmit() 3843 tx_start_bd->bd_flags.as_bitfield = ETH_TX_BD_FLAGS_START_BD; bnx2x_start_xmit() 3860 tx_start_bd->general_data = 1 << ETH_TX_START_BD_HDR_NBDS_SHIFT; bnx2x_start_xmit() 3869 pkt_prod, tx_buf, txdata->tx_pkt_prod, bd_prod, tx_start_bd); bnx2x_start_xmit() 3872 tx_start_bd->vlan_or_ethertype = bnx2x_start_xmit() 3874 tx_start_bd->bd_flags.as_bitfield |= bnx2x_start_xmit() 3883 tx_start_bd->vlan_or_ethertype = bnx2x_start_xmit() 3888 tx_start_bd->vlan_or_ethertype = cpu_to_le16(pkt_prod); bnx2x_start_xmit() 3898 bnx2x_set_sbd_csum(bp, skb, tx_start_bd, xmit_type); bnx2x_start_xmit() 3931 SET_FLAG(tx_start_bd->general_data, bnx2x_start_xmit() 3934 SET_FLAG(tx_start_bd->general_data, bnx2x_start_xmit() 3996 tx_start_bd->addr_hi = cpu_to_le32(U64_HI(mapping)); bnx2x_start_xmit() 3997 tx_start_bd->addr_lo = cpu_to_le32(U64_LO(mapping)); bnx2x_start_xmit() 3998 tx_start_bd->nbytes = cpu_to_le16(skb_headlen(skb)); bnx2x_start_xmit() 3999 pkt_size = tx_start_bd->nbytes; bnx2x_start_xmit() 4003 tx_start_bd, tx_start_bd->addr_hi, tx_start_bd->addr_lo, bnx2x_start_xmit() 4004 le16_to_cpu(tx_start_bd->nbytes), bnx2x_start_xmit() 4005 tx_start_bd->bd_flags.as_bitfield, bnx2x_start_xmit() 4006 le16_to_cpu(tx_start_bd->vlan_or_ethertype)); bnx2x_start_xmit() 4015 tx_start_bd->bd_flags.as_bitfield |= ETH_TX_BD_FLAGS_SW_LSO; bnx2x_start_xmit() 4020 &tx_start_bd, hlen, bnx2x_start_xmit() 4038 tx_data_bd = (struct eth_tx_bd *)tx_start_bd; bnx2x_start_xmit() 3555 bnx2x_set_sbd_csum(struct bnx2x *bp, struct sk_buff *skb, struct eth_tx_start_bd *tx_start_bd, u32 xmit_type) bnx2x_set_sbd_csum() argument
|
H A D | bnx2x_ethtool.c | 2398 struct eth_tx_start_bd *tx_start_bd; bnx2x_run_loopback() local 2482 tx_start_bd = &txdata->tx_desc_ring[bd_prod].start_bd; bnx2x_run_loopback() 2483 tx_start_bd->addr_hi = cpu_to_le32(U64_HI(mapping)); bnx2x_run_loopback() 2484 tx_start_bd->addr_lo = cpu_to_le32(U64_LO(mapping)); bnx2x_run_loopback() 2485 tx_start_bd->nbd = cpu_to_le16(2); /* start + pbd */ bnx2x_run_loopback() 2486 tx_start_bd->nbytes = cpu_to_le16(skb_headlen(skb)); bnx2x_run_loopback() 2487 tx_start_bd->vlan_or_ethertype = cpu_to_le16(pkt_prod); bnx2x_run_loopback() 2488 tx_start_bd->bd_flags.as_bitfield = ETH_TX_BD_FLAGS_START_BD; bnx2x_run_loopback() 2489 SET_FLAG(tx_start_bd->general_data, bnx2x_run_loopback() 2492 SET_FLAG(tx_start_bd->general_data, bnx2x_run_loopback()
|
Completed in 133 milliseconds