Home
last modified time | relevance | path

Searched refs:tx_info (Results 1 – 25 of 125) sorted by relevance

12345

/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
Dchcr_ktls.c61 static int chcr_init_tcb_fields(struct chcr_ktls_info *tx_info);
62 static void clear_conn_resources(struct chcr_ktls_info *tx_info);
70 static int chcr_ktls_save_keys(struct chcr_ktls_info *tx_info, in chcr_ktls_save_keys() argument
77 struct ktls_key_ctx *kctx = &tx_info->key_ctx; in chcr_ktls_save_keys()
87 tx_info->salt_size = TLS_CIPHER_AES_GCM_128_SALT_SIZE; in chcr_ktls_save_keys()
89 tx_info->iv_size = TLS_CIPHER_AES_GCM_128_IV_SIZE; in chcr_ktls_save_keys()
90 tx_info->iv = be64_to_cpu(*(__be64 *)info_128_gcm->iv); in chcr_ktls_save_keys()
95 tx_info->record_no = *(u64 *)info_128_gcm->rec_seq; in chcr_ktls_save_keys()
101 tx_info->scmd0_seqno_numivs = in chcr_ktls_save_keys()
111 tx_info->scmd0_ivgen_hdrlen = SCMD_KEY_CTX_INLINE_F; in chcr_ktls_save_keys()
[all …]
/drivers/net/ethernet/mellanox/mlx4/
Den_tx.c71 ring->tx_info = kvmalloc_node(tmp, GFP_KERNEL, node); in mlx4_en_create_tx_ring()
72 if (!ring->tx_info) { in mlx4_en_create_tx_ring()
78 ring->tx_info, tmp); in mlx4_en_create_tx_ring()
156 kvfree(ring->tx_info); in mlx4_en_create_tx_ring()
157 ring->tx_info = NULL; in mlx4_en_create_tx_ring()
179 kvfree(ring->tx_info); in mlx4_en_destroy_tx_ring()
180 ring->tx_info = NULL; in mlx4_en_destroy_tx_ring()
196 memset(ring->tx_info, 0, ring->size * sizeof(struct mlx4_en_tx_info)); in mlx4_en_activate_tx_ring()
242 struct mlx4_en_tx_info *tx_info = &ring->tx_info[index]; in mlx4_en_stamp_wqe() local
249 (tx_info->nr_txbb << LOG_TXBB_SIZE) <= end)) { in mlx4_en_stamp_wqe()
[all …]
/drivers/net/wireless/marvell/mwifiex/
Dtxrx.c166 struct mwifiex_txinfo *tx_info; in mwifiex_host_to_card() local
168 tx_info = MWIFIEX_SKB_TXCB(skb); in mwifiex_host_to_card()
169 priv = mwifiex_get_priv_by_id(adapter, tx_info->bss_num, in mwifiex_host_to_card()
170 tx_info->bss_type); in mwifiex_host_to_card()
203 if (tx_info->flags & MWIFIEX_BUF_FLAG_AGGR_PKT) in mwifiex_host_to_card()
204 atomic_add(tx_info->aggr_num, &adapter->tx_queued); in mwifiex_host_to_card()
230 struct mwifiex_txinfo *tx_info; in mwifiex_dequeue_tx_queue() local
237 tx_info = MWIFIEX_SKB_TXCB(skb); in mwifiex_dequeue_tx_queue()
238 if (tx_info->flags & MWIFIEX_BUF_FLAG_AGGR_PKT) in mwifiex_dequeue_tx_queue()
239 atomic_sub(tx_info->aggr_num, &adapter->tx_queued); in mwifiex_dequeue_tx_queue()
[all …]
Duap_txrx.c28 struct mwifiex_txinfo *tx_info; in mwifiex_uap_del_tx_pkts_in_ralist() local
36 tx_info = MWIFIEX_SKB_TXCB(skb); in mwifiex_uap_del_tx_pkts_in_ralist()
37 if (tx_info->flags & MWIFIEX_BUF_FLAG_BRIDGED_PKT) { in mwifiex_uap_del_tx_pkts_in_ralist()
88 struct mwifiex_txinfo *tx_info; in mwifiex_uap_queue_bridged_pkt() local
180 tx_info = MWIFIEX_SKB_TXCB(skb); in mwifiex_uap_queue_bridged_pkt()
181 memset(tx_info, 0, sizeof(*tx_info)); in mwifiex_uap_queue_bridged_pkt()
182 tx_info->bss_num = priv->bss_num; in mwifiex_uap_queue_bridged_pkt()
183 tx_info->bss_type = priv->bss_type; in mwifiex_uap_queue_bridged_pkt()
184 tx_info->flags |= MWIFIEX_BUF_FLAG_BRIDGED_PKT; in mwifiex_uap_queue_bridged_pkt()
205 tx_info->pkt_len = skb->len; in mwifiex_uap_queue_bridged_pkt()
[all …]
Dsta_tx.c37 struct mwifiex_txinfo *tx_info = MWIFIEX_SKB_TXCB(skb); in mwifiex_process_sta_txpd() local
60 if (tx_info->flags & MWIFIEX_BUF_FLAG_EAPOL_TX_STATUS || in mwifiex_process_sta_txpd()
61 tx_info->flags & MWIFIEX_BUF_FLAG_ACTION_TX_STATUS) { in mwifiex_process_sta_txpd()
62 local_tx_pd->tx_token_id = tx_info->ack_frame_id; in mwifiex_process_sta_txpd()
84 if (tx_info->flags & MWIFIEX_BUF_FLAG_TDLS_PKT) in mwifiex_process_sta_txpd()
121 struct mwifiex_txinfo *tx_info = NULL; in mwifiex_send_null_packet() local
140 tx_info = MWIFIEX_SKB_TXCB(skb); in mwifiex_send_null_packet()
141 memset(tx_info, 0, sizeof(*tx_info)); in mwifiex_send_null_packet()
142 tx_info->bss_num = priv->bss_num; in mwifiex_send_null_packet()
143 tx_info->bss_type = priv->bss_type; in mwifiex_send_null_packet()
[all …]
/drivers/net/wireless/silabs/wfx/
Ddata_tx.c265 static u8 wfx_tx_get_retry_policy_id(struct wfx_vif *wvif, struct ieee80211_tx_info *tx_info) in wfx_tx_get_retry_policy_id() argument
270 ret = wfx_tx_policy_get(wvif, tx_info->driver_rates, &tx_policy_renew); in wfx_tx_get_retry_policy_id()
282 static int wfx_tx_get_frame_format(struct ieee80211_tx_info *tx_info) in wfx_tx_get_frame_format() argument
284 if (!(tx_info->driver_rates[0].flags & IEEE80211_TX_RC_MCS)) in wfx_tx_get_frame_format()
286 else if (!(tx_info->driver_rates[0].flags & IEEE80211_TX_RC_GREEN_FIELD)) in wfx_tx_get_frame_format()
309 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in wfx_tx_inner() local
310 struct ieee80211_key_conf *hw_key = tx_info->control.hw_key; in wfx_tx_inner()
317 wfx_tx_fixup_rates(tx_info->driver_rates); in wfx_tx_inner()
320 memset(tx_info->rate_driver_data, 0, sizeof(struct wfx_tx_priv)); in wfx_tx_inner()
322 tx_priv = (struct wfx_tx_priv *)tx_info->rate_driver_data; in wfx_tx_inner()
[all …]
Ddata_tx.h50 struct ieee80211_tx_info *tx_info; in wfx_skb_tx_priv() local
54 tx_info = IEEE80211_SKB_CB(skb); in wfx_skb_tx_priv()
55 return (struct wfx_tx_priv *)tx_info->rate_driver_data; in wfx_skb_tx_priv()
/drivers/net/ethernet/amazon/ena/
Dena_xdp.c10 struct ena_tx_buffer *tx_info; in validate_xdp_req_id() local
12 tx_info = &tx_ring->tx_buffer_info[req_id]; in validate_xdp_req_id()
13 if (likely(tx_info->xdpf)) in validate_xdp_req_id()
16 return handle_invalid_req_id(tx_ring, req_id, tx_info, true); in validate_xdp_req_id()
20 struct ena_tx_buffer *tx_info, in ena_xdp_tx_map_frame() argument
31 tx_info->xdpf = xdpf; in ena_xdp_tx_map_frame()
32 data = tx_info->xdpf->data; in ena_xdp_tx_map_frame()
33 size = tx_info->xdpf->len; in ena_xdp_tx_map_frame()
55 tx_info->map_linear_data = 0; in ena_xdp_tx_map_frame()
57 ena_buf = tx_info->bufs; in ena_xdp_tx_map_frame()
[all …]
Dena_netdev.c93 struct ena_tx_buffer *tx_info, in ena_xmit_common() argument
130 tx_info->tx_descs = nb_hw_desc; in ena_xmit_common()
131 tx_info->last_jiffies = jiffies; in ena_xmit_common()
132 tx_info->print_once = 0; in ena_xmit_common()
660 struct ena_tx_buffer *tx_info) in ena_unmap_tx_buff() argument
666 ena_buf = tx_info->bufs; in ena_unmap_tx_buff()
667 cnt = tx_info->num_of_bufs; in ena_unmap_tx_buff()
672 if (tx_info->map_linear_data) { in ena_unmap_tx_buff()
701 struct ena_tx_buffer *tx_info = &tx_ring->tx_buffer_info[i]; in ena_free_tx_bufs() local
703 if (!tx_info->skb) in ena_free_tx_bufs()
[all …]
/drivers/net/wireless/mediatek/mt76/mt7615/
Dpci_mac.c18 mt7615_write_fw_txp(struct mt7615_dev *dev, struct mt76_tx_info *tx_info, in mt7615_write_fw_txp() argument
21 struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)tx_info->skb->data; in mt7615_write_fw_txp()
22 struct ieee80211_tx_info *info = IEEE80211_SKB_CB(tx_info->skb); in mt7615_write_fw_txp()
27 int nbuf = tx_info->nbuf - 1; in mt7615_write_fw_txp()
31 txp->buf[i] = cpu_to_le32(tx_info->buf[i + 1].addr); in mt7615_write_fw_txp()
32 txp->len[i] = cpu_to_le16(tx_info->buf[i + 1].len); in mt7615_write_fw_txp()
37 tx_info->buf[0].len = MT_TXD_SIZE + sizeof(*txp); in mt7615_write_fw_txp()
38 tx_info->buf[1].len = MT_CT_PARSE_LEN; in mt7615_write_fw_txp()
39 tx_info->buf[1].skip_unmap = true; in mt7615_write_fw_txp()
40 tx_info->nbuf = MT_CT_DMA_BUF_NUM; in mt7615_write_fw_txp()
[all …]
/drivers/net/wireless/mediatek/mt76/
Dmt76x02_txrx.c140 struct mt76_tx_info *tx_info) in mt76x02_tx_prepare_skb() argument
143 struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)tx_info->skb->data; in mt76x02_tx_prepare_skb()
145 bool ampdu = IEEE80211_SKB_CB(tx_info->skb)->flags & IEEE80211_TX_CTL_AMPDU; in mt76x02_tx_prepare_skb()
152 len = tx_info->skb->len - (hdrlen & 2); in mt76x02_tx_prepare_skb()
153 mt76x02_mac_write_txwi(dev, txwi, tx_info->skb, wcid, sta, len); in mt76x02_tx_prepare_skb()
155 pid = mt76_tx_status_skb_add(mdev, wcid, tx_info->skb); in mt76x02_tx_prepare_skb()
162 skb_get_queue_mapping(tx_info->skb)); in mt76x02_tx_prepare_skb()
169 tx_info->info = FIELD_PREP(MT_TXD_INFO_QSEL, qsel) | in mt76x02_tx_prepare_skb()
173 tx_info->info |= MT_TXD_INFO_WIV; in mt76x02_tx_prepare_skb()
178 ewma_pktlen_add(&msta->pktlen, tx_info->skb->len); in mt76x02_tx_prepare_skb()
Dmt76x02_usb_core.c67 struct mt76_tx_info *tx_info) in mt76x02u_tx_prepare_skb() argument
70 int pid, len = tx_info->skb->len, ep = q2ep(dev->mphy.q_tx[qid]->hw_idx); in mt76x02u_tx_prepare_skb()
72 bool ampdu = IEEE80211_SKB_CB(tx_info->skb)->flags & IEEE80211_TX_CTL_AMPDU; in mt76x02u_tx_prepare_skb()
77 mt76_insert_hdr_pad(tx_info->skb); in mt76x02u_tx_prepare_skb()
79 txwi = (struct mt76x02_txwi *)(tx_info->skb->data - sizeof(*txwi)); in mt76x02u_tx_prepare_skb()
80 mt76x02_mac_write_txwi(dev, txwi, tx_info->skb, wcid, sta, len); in mt76x02u_tx_prepare_skb()
81 skb_push(tx_info->skb, sizeof(*txwi)); in mt76x02u_tx_prepare_skb()
83 pid = mt76_tx_status_skb_add(mdev, wcid, tx_info->skb); in mt76x02u_tx_prepare_skb()
90 skb_get_queue_mapping(tx_info->skb)); in mt76x02u_tx_prepare_skb()
107 ewma_pktlen_add(&msta->pktlen, tx_info->skb->len); in mt76x02u_tx_prepare_skb()
[all …]
Ddma.c461 struct sk_buff *skb, u32 tx_info) in mt76_dma_tx_queue_skb_raw() argument
481 mt76_dma_add_buf(dev, q, &buf, 1, tx_info, skb, NULL); in mt76_dma_tx_queue_skb_raw()
500 struct mt76_tx_info tx_info = { in mt76_dma_tx_queue_skb() local
528 tx_info.buf[n].addr = t->dma_addr; in mt76_dma_tx_queue_skb()
529 tx_info.buf[n++].len = dev->drv->txwi_size; in mt76_dma_tx_queue_skb()
530 tx_info.buf[n].addr = addr; in mt76_dma_tx_queue_skb()
531 tx_info.buf[n++].len = len; in mt76_dma_tx_queue_skb()
534 if (n == ARRAY_SIZE(tx_info.buf)) in mt76_dma_tx_queue_skb()
542 tx_info.buf[n].addr = addr; in mt76_dma_tx_queue_skb()
543 tx_info.buf[n++].len = iter->len; in mt76_dma_tx_queue_skb()
[all …]
/drivers/net/wireless/mediatek/mt76/mt7921/
Dpci_mac.c11 struct mt76_tx_info *tx_info) in mt7921e_tx_prepare_skb() argument
14 struct ieee80211_tx_info *info = IEEE80211_SKB_CB(tx_info->skb); in mt7921e_tx_prepare_skb()
21 if (unlikely(tx_info->skb->len <= ETH_HLEN)) in mt7921e_tx_prepare_skb()
28 t->skb = tx_info->skb; in mt7921e_tx_prepare_skb()
43 pid = mt76_tx_status_skb_add(mdev, wcid, tx_info->skb); in mt7921e_tx_prepare_skb()
44 mt76_connac2_mac_write_txwi(mdev, txwi_ptr, tx_info->skb, wcid, key, in mt7921e_tx_prepare_skb()
49 mt76_connac_write_hw_txp(mdev, tx_info, txp, id); in mt7921e_tx_prepare_skb()
51 tx_info->skb = NULL; in mt7921e_tx_prepare_skb()
/drivers/net/wireless/ath/ath9k/
Dxmit.c148 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in get_frame_info() local
150 sizeof(tx_info->status.status_driver_data)); in get_frame_info()
151 return (struct ath_frame_info *) &tx_info->status.status_driver_data[0]; in get_frame_info()
164 struct ieee80211_tx_info *tx_info) in ath_merge_ratetbl() argument
176 if (tx_info->control.rates[0].idx < 0 || in ath_merge_ratetbl()
177 tx_info->control.rates[0].count == 0) in ath_merge_ratetbl()
181 bf->rates[0] = tx_info->control.rates[0]; in ath_merge_ratetbl()
188 if (tx_info->control.use_rts) in ath_merge_ratetbl()
190 else if (tx_info->control.use_cts_prot) in ath_merge_ratetbl()
202 struct ieee80211_tx_info *tx_info; in ath_set_rates() local
[all …]
Dtx99.c55 struct ieee80211_tx_info *tx_info; in ath9k_build_tx99_skb() local
80 tx_info = IEEE80211_SKB_CB(skb); in ath9k_build_tx99_skb()
81 memset(tx_info, 0, sizeof(*tx_info)); in ath9k_build_tx99_skb()
82 rate = &tx_info->control.rates[0]; in ath9k_build_tx99_skb()
83 tx_info->band = sc->cur_chan->chandef.chan->band; in ath9k_build_tx99_skb()
84 tx_info->flags = IEEE80211_TX_CTL_NO_ACK; in ath9k_build_tx99_skb()
85 tx_info->control.vif = sc->tx99_vif; in ath9k_build_tx99_skb()
Dlink.c175 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in ath_paprd_send_frame() local
184 memset(tx_info, 0, sizeof(*tx_info)); in ath_paprd_send_frame()
185 tx_info->band = sc->cur_chandef.chan->band; in ath_paprd_send_frame()
186 tx_info->flags |= IEEE80211_TX_CTL_NO_ACK; in ath_paprd_send_frame()
187 tx_info->control.rates[0].idx = 0; in ath_paprd_send_frame()
188 tx_info->control.rates[0].count = 1; in ath_paprd_send_frame()
189 tx_info->control.rates[0].flags = IEEE80211_TX_RC_MCS; in ath_paprd_send_frame()
190 tx_info->control.rates[1].idx = -1; in ath_paprd_send_frame()
Dhtc_drv_txrx.c219 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in ath9k_htc_tx_mgmt() local
253 mgmt_hdr.keyix = tx_info->control.hw_key->hw_key_idx; in ath9k_htc_tx_mgmt()
266 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in ath9k_htc_tx_data() local
292 if (tx_info->flags & IEEE80211_TX_CTL_AMPDU) { in ath9k_htc_tx_data()
304 if (!(tx_info->control.flags & IEEE80211_TX_CTRL_DONT_REORDER) && in ath9k_htc_tx_data()
325 tx_hdr.keyix = tx_info->control.hw_key->hw_key_idx; in ath9k_htc_tx_data()
346 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in ath9k_htc_tx_start() local
347 struct ieee80211_vif *vif = tx_info->control.vif; in ath9k_htc_tx_start()
451 struct ieee80211_tx_info *tx_info; in ath9k_htc_tx_process() local
466 tx_info = IEEE80211_SKB_CB(skb); in ath9k_htc_tx_process()
[all …]
/drivers/net/wireless/ralink/rt2x00/
Drt2x00queue.c180 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in rt2x00queue_create_tx_descriptor_seq() local
182 struct rt2x00_intf *intf = vif_to_intf(tx_info->control.vif); in rt2x00queue_create_tx_descriptor_seq()
185 if (!(tx_info->flags & IEEE80211_TX_CTL_ASSIGN_SEQ)) in rt2x00queue_create_tx_descriptor_seq()
232 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in rt2x00queue_create_tx_descriptor_plcp() local
233 struct ieee80211_tx_rate *txrate = &tx_info->control.rates[0]; in rt2x00queue_create_tx_descriptor_plcp()
297 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in rt2x00queue_create_tx_descriptor_ht() local
298 struct ieee80211_tx_rate *txrate = &tx_info->control.rates[0]; in rt2x00queue_create_tx_descriptor_ht()
330 if (!(tx_info->flags & IEEE80211_TX_CTL_FIRST_FRAGMENT)) in rt2x00queue_create_tx_descriptor_ht()
342 if (tx_info->flags & IEEE80211_TX_CTL_STBC) in rt2x00queue_create_tx_descriptor_ht()
349 if (tx_info->flags & IEEE80211_TX_CTL_AMPDU && in rt2x00queue_create_tx_descriptor_ht()
[all …]
Drt2x00mac.c23 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(frag_skb); in rt2x00mac_tx_rts_cts() local
29 if (tx_info->control.rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT) in rt2x00mac_tx_rts_cts()
57 if (tx_info->control.rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT) in rt2x00mac_tx_rts_cts()
71 if (tx_info->control.rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT) in rt2x00mac_tx_rts_cts()
72 ieee80211_ctstoself_get(rt2x00dev->hw, tx_info->control.vif, in rt2x00mac_tx_rts_cts()
73 frag_skb->data, data_length, tx_info, in rt2x00mac_tx_rts_cts()
76 ieee80211_rts_get(rt2x00dev->hw, tx_info->control.vif, in rt2x00mac_tx_rts_cts()
77 frag_skb->data, data_length, tx_info, in rt2x00mac_tx_rts_cts()
94 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in rt2x00mac_tx() local
110 if (tx_info->flags & IEEE80211_TX_CTL_SEND_AFTER_DTIM && in rt2x00mac_tx()
[all …]
Drt2x00dev.c306 struct ieee80211_tx_info *tx_info, in rt2x00lib_fill_tx_status() argument
322 memset(&tx_info->status, 0, sizeof(tx_info->status)); in rt2x00lib_fill_tx_status()
323 tx_info->status.ack_signal = 0; in rt2x00lib_fill_tx_status()
332 tx_info->status.rates[i].idx = rate_idx - i; in rt2x00lib_fill_tx_status()
333 tx_info->status.rates[i].flags = rate_flags; in rt2x00lib_fill_tx_status()
340 tx_info->status.rates[i].count = retry_rates - i; in rt2x00lib_fill_tx_status()
344 tx_info->status.rates[i].count = 1; in rt2x00lib_fill_tx_status()
347 tx_info->status.rates[i].idx = -1; /* terminate */ in rt2x00lib_fill_tx_status()
350 tx_info->flags |= IEEE80211_TX_CTL_NO_ACK; in rt2x00lib_fill_tx_status()
352 if (!(tx_info->flags & IEEE80211_TX_CTL_NO_ACK)) { in rt2x00lib_fill_tx_status()
[all …]
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dampdu.c518 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(p); in brcms_c_ampdu_add_frame() local
519 struct ieee80211_tx_rate *txrate = tx_info->status.rates; in brcms_c_ampdu_add_frame()
626 struct ieee80211_tx_info *tx_info; in brcms_c_ampdu_finalize() local
677 tx_info = IEEE80211_SKB_CB(first); in brcms_c_ampdu_finalize()
678 txrate = tx_info->status.rates; in brcms_c_ampdu_finalize()
814 struct ieee80211_tx_info *tx_info, in brcms_c_ampdu_rate_status() argument
817 struct ieee80211_tx_rate *txrate = tx_info->status.rates; in brcms_c_ampdu_rate_status()
847 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(p); in brcms_c_ampdu_dotxstatus_complete() local
922 tx_info = IEEE80211_SKB_CB(p); in brcms_c_ampdu_dotxstatus_complete()
959 brcms_c_ampdu_rate_status(wlc, tx_info, txs, in brcms_c_ampdu_dotxstatus_complete()
[all …]
/drivers/net/ethernet/brocade/bna/
Dbnad.c827 tcb = bnad->tx_info[i].tcb[j]; in bnad_isr()
829 bnad_tx_complete(bnad, bnad->tx_info[i].tcb[j]); in bnad_isr()
954 bnad->tx_info[tx_id].tcb[tcb_id]; in bnad_cb_ethport_link_status()
1001 struct bnad_tx_info *tx_info = in bnad_cb_tcb_setup() local
1005 tx_info->tcb[tcb->id] = tcb; in bnad_cb_tcb_setup()
1011 struct bnad_tx_info *tx_info = in bnad_cb_tcb_destroy() local
1014 tx_info->tcb[tcb->id] = NULL; in bnad_cb_tcb_destroy()
1040 struct bnad_tx_info *tx_info = tx->priv; in bnad_cb_tx_stall() local
1046 tcb = tx_info->tcb[i]; in bnad_cb_tx_stall()
1058 struct bnad_tx_info *tx_info = tx->priv; in bnad_cb_tx_resume() local
[all …]
/drivers/net/ethernet/adaptec/
Dstarfire.c531 struct tx_ring_info tx_info[TX_RING_SIZE]; member
1174 memset(&np->tx_info[i], 0, sizeof(np->tx_info[i])); in init_ring()
1209 np->tx_info[entry].skb = skb; in start_tx()
1225 np->tx_info[entry].mapping = in start_tx()
1232 np->tx_info[entry].mapping = in start_tx()
1238 if (dma_mapping_error(&np->pci_dev->dev, np->tx_info[entry].mapping)) { in start_tx()
1243 np->tx_ring[entry].addr = cpu_to_dma(np->tx_info[entry].mapping); in start_tx()
1250 np->tx_info[entry].used_slots = TX_RING_SIZE - entry; in start_tx()
1251 np->cur_tx += np->tx_info[entry].used_slots; in start_tx()
1254 np->tx_info[entry].used_slots = 1; in start_tx()
[all …]
/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ptp.h63 const struct mlxsw_tx_info *tx_info);
92 const struct mlxsw_tx_info *tx_info);
178 const struct mlxsw_tx_info *tx_info) in mlxsw_sp_ptp_txhdr_construct() argument
239 const struct mlxsw_tx_info *tx_info) in mlxsw_sp2_ptp_txhdr_construct() argument

12345