Searched refs:tx_info (Results 1 - 25 of 134) sorted by path

123456

/linux-master/arch/mips/include/asm/ip32/
H A Dmace.h104 volatile unsigned long tx_info; member in struct:mace_ethernet
/linux-master/drivers/net/wireless/ath/ath9k/
H A Dcommon.c277 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); local
279 if (tx_info->control.hw_key) {
280 switch (tx_info->control.hw_key->cipher) {
/linux-master/drivers/net/wireless/st/cw1200/
H A Dqueue.h85 struct ieee80211_tx_info **tx_info,
/linux-master/drivers/net/ethernet/adaptec/
H A Dstarfire.c531 struct tx_ring_info tx_info[TX_RING_SIZE]; member in struct:netdev_private
1174 memset(&np->tx_info[i], 0, sizeof(np->tx_info[i]));
1209 np->tx_info[entry].skb = skb;
1225 np->tx_info[entry].mapping =
1232 np->tx_info[entry].mapping =
1238 if (dma_mapping_error(&np->pci_dev->dev, np->tx_info[entry].mapping)) {
1243 np->tx_ring[entry].addr = cpu_to_dma(np->tx_info[entry].mapping);
1250 np->tx_info[entry].used_slots = TX_RING_SIZE - entry;
1251 np->cur_tx += np->tx_info[entr
[all...]
/linux-master/drivers/net/ethernet/amazon/ena/
H A Dena_netdev.c118 struct ena_tx_buffer *tx_info,
155 tx_info->tx_descs = nb_hw_desc;
156 tx_info->total_tx_size = bytes;
157 tx_info->last_jiffies = jiffies;
158 tx_info->print_once = 0;
686 struct ena_tx_buffer *tx_info)
692 ena_buf = tx_info->bufs;
693 cnt = tx_info->num_of_bufs;
698 if (tx_info->map_linear_data) {
727 struct ena_tx_buffer *tx_info local
116 ena_xmit_common(struct ena_adapter *adapter, struct ena_ring *ring, struct ena_tx_buffer *tx_info, struct ena_com_tx_ctx *ena_tx_ctx, u16 next_to_use, u32 bytes) argument
685 ena_unmap_tx_buff(struct ena_ring *tx_ring, struct ena_tx_buffer *tx_info) argument
797 handle_invalid_req_id(struct ena_ring *ring, u16 req_id, struct ena_tx_buffer *tx_info, bool is_xdp) argument
821 struct ena_tx_buffer *tx_info; local
845 struct ena_tx_buffer *tx_info; local
2494 ena_tx_map_skb(struct ena_ring *tx_ring, struct ena_tx_buffer *tx_info, struct sk_buff *skb, void **push_hdr, u16 *header_len) argument
2602 struct ena_tx_buffer *tx_info; local
[all...]
H A Dena_netdev.h416 struct ena_tx_buffer *tx_info, bool is_xdp);
435 struct ena_tx_buffer *tx_info,
440 struct ena_tx_buffer *tx_info);
H A Dena_xdp.c10 struct ena_tx_buffer *tx_info; local
12 tx_info = &tx_ring->tx_buffer_info[req_id];
13 if (likely(tx_info->xdpf))
16 return handle_invalid_req_id(tx_ring, req_id, tx_info, true);
20 struct ena_tx_buffer *tx_info,
31 tx_info->xdpf = xdpf;
32 data = tx_info->xdpf->data;
33 size = tx_info->xdpf->len;
55 tx_info->map_linear_data = 0;
57 ena_buf = tx_info
19 ena_xdp_tx_map_frame(struct ena_ring *tx_ring, struct ena_tx_buffer *tx_info, struct xdp_frame *xdpf, struct ena_com_tx_ctx *ena_tx_ctx) argument
81 struct ena_tx_buffer *tx_info; local
380 struct ena_tx_buffer *tx_info; local
[all...]
/linux-master/drivers/net/ethernet/brocade/bna/
H A Dbnad.c827 tcb = bnad->tx_info[i].tcb[j];
829 bnad_tx_complete(bnad, bnad->tx_info[i].tcb[j]);
954 bnad->tx_info[tx_id].tcb[tcb_id];
1001 struct bnad_tx_info *tx_info = local
1005 tx_info->tcb[tcb->id] = tcb;
1011 struct bnad_tx_info *tx_info = local
1014 tx_info->tcb[tcb->id] = NULL;
1040 struct bnad_tx_info *tx_info = tx->priv; local
1046 tcb = tx_info->tcb[i];
1058 struct bnad_tx_info *tx_info local
1096 struct bnad_tx_info *tx_info = local
1135 struct bnad_tx_info *tx_info = tx->priv; local
1509 bnad_tx_msix_unregister(struct bnad *bnad, struct bnad_tx_info *tx_info, int num_txqs) argument
1528 bnad_tx_msix_register(struct bnad *bnad, struct bnad_tx_info *tx_info, u32 tx_id, int num_txqs) argument
1911 struct bnad_tx_info *tx_info = &bnad->tx_info[tx_id]; local
1943 struct bnad_tx_info *tx_info = &bnad->tx_info[tx_id]; local
2293 struct bnad_tx_info *tx_info; local
[all...]
H A Dbnad.h201 struct bna_tx *tx; /* 1:1 between tx_info & tx */
282 struct bnad_tx_info tx_info[BNAD_MAX_TX]; member in struct:bnad
H A Dbnad_ethtool.c487 if (!bnad->tx_info[i].tx)
651 if (!bnad->tx_info[i].tx)
696 if (!bnad->tx_info[i].tx)
774 if (!bnad->tx_info[i].tx)
777 if (bnad->tx_info[i].tcb[j] &&
778 bnad->tx_info[i].tcb[j]->txq) {
779 tcb = bnad->tx_info[i].tcb[j];
/linux-master/drivers/net/ethernet/cavium/liquidio/
H A Dlio_main.c109 union tx_info { union
2311 union tx_info *tx_info; local
2488 tx_info = (union tx_info *)&ndata.cmd.cmd3.ossp[0];
2491 tx_info = (union tx_info *)&ndata.cmd.cmd2.ossp[0];
2495 tx_info->s.gso_size = skb_shinfo(skb)->gso_size;
2496 tx_info->s.gso_segs = skb_shinfo(skb)->gso_segs;
2522 if (tx_info
[all...]
H A Dlio_vf_main.c48 union tx_info { union
1415 union tx_info *tx_info; local
1576 tx_info = (union tx_info *)&ndata.cmd.cmd3.ossp[0];
1579 tx_info->s.gso_size = skb_shinfo(skb)->gso_size;
1580 tx_info->s.gso_segs = skb_shinfo(skb)->gso_segs;
1608 if (tx_info->s.gso_segs)
1609 stats->tx_done += tx_info->s.gso_segs;
/linux-master/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
H A Dchcr_ktls.c62 static int chcr_init_tcb_fields(struct chcr_ktls_info *tx_info);
63 static void clear_conn_resources(struct chcr_ktls_info *tx_info);
66 * @tx_info - driver specific tls info.
71 static int chcr_ktls_save_keys(struct chcr_ktls_info *tx_info, argument
78 struct ktls_key_ctx *kctx = &tx_info->key_ctx;
88 tx_info->salt_size = TLS_CIPHER_AES_GCM_128_SALT_SIZE;
90 tx_info->iv_size = TLS_CIPHER_AES_GCM_128_IV_SIZE;
91 tx_info->iv = be64_to_cpu(*(__be64 *)info_128_gcm->iv);
96 tx_info->record_no = *(u64 *)info_128_gcm->rec_seq;
102 tx_info
175 chcr_ktls_act_open_req(struct sock *sk, struct chcr_ktls_info *tx_info, int atid) argument
226 chcr_ktls_act_open_req6(struct sock *sk, struct chcr_ktls_info *tx_info, int atid) argument
276 chcr_setup_connection(struct sock *sk, struct chcr_ktls_info *tx_info) argument
331 chcr_set_tcb_field(struct chcr_ktls_info *tx_info, u16 word, u64 mask, u64 val, int no_reply) argument
365 struct chcr_ktls_info *tx_info = chcr_get_ktls_tx_info(tls_ctx); local
420 struct chcr_ktls_info *tx_info; local
603 chcr_init_tcb_fields(struct chcr_ktls_info *tx_info) argument
645 struct chcr_ktls_info *tx_info = NULL; local
714 struct chcr_ktls_info *tx_info = NULL; local
741 __chcr_write_cpl_set_tcb_ulp(struct chcr_ktls_info *tx_info, u32 tid, void *pos, u16 word, struct sge_eth_txq *q, u64 mask, u64 val, u32 reply) argument
797 chcr_write_cpl_set_tcb_ulp(struct chcr_ktls_info *tx_info, struct sge_eth_txq *q, u32 tid, void *pos, u16 word, u64 mask, u64 val, u32 reply) argument
838 chcr_ktls_xmit_tcb_cpls(struct chcr_ktls_info *tx_info, struct sge_eth_txq *q, u64 tcp_seq, u64 tcp_ack, u64 tcp_win, bool offset) argument
988 chcr_ktls_write_tcp_options(struct chcr_ktls_info *tx_info, struct sk_buff *skb, struct sge_eth_txq *q, uint32_t tx_chan) argument
1096 chcr_ktls_xmit_wr_complete(struct sk_buff *skb, struct chcr_ktls_info *tx_info, struct sge_eth_txq *q, u32 tcp_seq, bool is_last_wr, u32 data_len, u32 skb_offset, u32 nfrags, bool tcp_push, u32 mss) argument
1270 chcr_ktls_xmit_wr_short(struct sk_buff *skb, struct chcr_ktls_info *tx_info, struct sge_eth_txq *q, u32 tcp_seq, bool tcp_push, u32 mss, u32 tls_rec_offset, u8 *prior_data, u32 prior_data_len, u32 data_len, u32 skb_offset) argument
1457 chcr_ktls_tx_plaintxt(struct chcr_ktls_info *tx_info, struct sk_buff *skb, u32 tcp_seq, u32 mss, bool tcp_push, struct sge_eth_txq *q, u32 port_id, u8 *prior_data, u32 data_len, u32 skb_offset, u32 prior_data_len) argument
1565 chcr_ktls_tunnel_pkt(struct chcr_ktls_info *tx_info, struct sk_buff *skb, struct sge_eth_txq *q) argument
1691 chcr_end_part_handler(struct chcr_ktls_info *tx_info, struct sk_buff *skb, struct tls_record_info *record, u32 tcp_seq, int mss, bool tcp_push_no_fin, struct sge_eth_txq *q, u32 skb_offset, u32 tls_end_offset, bool last_wr) argument
1768 chcr_short_record_handler(struct chcr_ktls_info *tx_info, struct sk_buff *skb, struct tls_record_info *record, u32 tcp_seq, int mss, bool tcp_push_no_fin, u32 data_len, u32 skb_offset, struct sge_eth_txq *q, u32 tls_end_offset) argument
1890 chcr_ktls_sw_fallback(struct sk_buff *skb, struct chcr_ktls_info *tx_info, struct sge_eth_txq *q) argument
1928 struct chcr_ktls_info *tx_info; local
2161 clear_conn_resources(struct chcr_ktls_info *tx_info) argument
2185 struct chcr_ktls_info *tx_info; local
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Den_tx.c71 ring->tx_info = kvmalloc_node(tmp, GFP_KERNEL, node);
72 if (!ring->tx_info) {
77 en_dbg(DRV, priv, "Allocated tx_info ring at addr:%p size:%d\n",
78 ring->tx_info, tmp);
156 kvfree(ring->tx_info);
157 ring->tx_info = NULL;
179 kvfree(ring->tx_info);
180 ring->tx_info = NULL;
196 memset(ring->tx_info, 0, ring->size * sizeof(struct mlx4_en_tx_info));
242 struct mlx4_en_tx_info *tx_info local
280 struct mlx4_en_tx_info *tx_info = &ring->tx_info[index]; local
352 struct mlx4_en_tx_info *tx_info = &ring->tx_info[index]; local
404 struct mlx4_en_tx_info *tx_info; local
811 mlx4_en_build_dma_wqe(struct mlx4_en_priv *priv, struct skb_shared_info *shinfo, struct mlx4_wqe_data_seg *data, struct sk_buff *skb, int lso_header_size, __be32 mr_key, struct mlx4_en_tx_info *tx_info) argument
883 struct mlx4_en_tx_info *tx_info; local
1152 struct mlx4_en_tx_info *tx_info = &ring->tx_info[i]; local
1176 struct mlx4_en_tx_info *tx_info; local
[all...]
H A Dmlx4_en.h303 struct mlx4_en_tx_info *tx_info; member in struct:mlx4_en_tx_ring
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore.c680 struct mlxsw_tx_info tx_info; member in struct:mlxsw_reg_trans
745 err = mlxsw_core_skb_transmit(mlxsw_core, skb, &trans->tx_info);
987 trans->tx_info.local_port = MLXSW_PORT_CPU_PORT;
988 trans->tx_info.is_emad = true;
998 mlxsw_core->driver->txhdr_construct(skb, &trans->tx_info);
2325 const struct mlxsw_tx_info *tx_info)
2328 tx_info);
2333 const struct mlxsw_tx_info *tx_info)
2336 tx_info);
2324 mlxsw_core_skb_transmit_busy(struct mlxsw_core *mlxsw_core, const struct mlxsw_tx_info *tx_info) argument
2332 mlxsw_core_skb_transmit(struct mlxsw_core *mlxsw_core, struct sk_buff *skb, const struct mlxsw_tx_info *tx_info) argument
H A Dcore.h95 const struct mlxsw_tx_info *tx_info);
97 const struct mlxsw_tx_info *tx_info);
429 const struct mlxsw_tx_info *tx_info);
487 const struct mlxsw_tx_info *tx_info);
489 const struct mlxsw_tx_info *tx_info);
582 struct mlxsw_tx_info tx_info; member in union:mlxsw_skb_cb::__anon1522
H A Di2c.c513 const struct mlxsw_tx_info *tx_info)
519 const struct mlxsw_tx_info *tx_info)
512 mlxsw_i2c_skb_transmit_busy(void *bus_priv, const struct mlxsw_tx_info *tx_info) argument
518 mlxsw_i2c_skb_transmit(void *bus_priv, struct sk_buff *skb, const struct mlxsw_tx_info *tx_info) argument
H A Dpci.c522 struct mlxsw_tx_info tx_info; local
529 tx_info = mlxsw_skb_cb(elem_info->u.sdq.skb)->tx_info;
535 if (unlikely(!tx_info.is_emad &&
539 tx_info.local_port);
1873 const struct mlxsw_tx_info *tx_info)
1878 if (tx_info->is_emad) {
1882 sdqn = 1 + (tx_info->local_port % ctl_sdq_count);
1889 const struct mlxsw_tx_info *tx_info)
1892 struct mlxsw_pci_queue *q = mlxsw_pci_sdq_pick(mlxsw_pci, tx_info);
1872 mlxsw_pci_sdq_pick(struct mlxsw_pci *mlxsw_pci, const struct mlxsw_tx_info *tx_info) argument
1888 mlxsw_pci_skb_transmit_busy(void *bus_priv, const struct mlxsw_tx_info *tx_info) argument
1897 mlxsw_pci_skb_transmit(void *bus_priv, struct sk_buff *skb, const struct mlxsw_tx_info *tx_info) argument
[all...]
H A Dspectrum.c237 const struct mlxsw_tx_info *tx_info)
248 mlxsw_tx_hdr_port_mid_set(txhdr, tx_info->local_port);
256 const struct mlxsw_tx_info *tx_info)
280 mlxsw_tx_hdr_fid_set(txhdr, max_fid + tx_info->local_port - 1);
305 const struct mlxsw_tx_info *tx_info)
316 tx_info);
324 mlxsw_sp_txhdr_construct(skb, tx_info);
741 const struct mlxsw_tx_info tx_info = { local
750 if (mlxsw_core_skb_transmit_busy(mlxsw_sp->core, &tx_info))
759 &tx_info);
236 mlxsw_sp_txhdr_construct(struct sk_buff *skb, const struct mlxsw_tx_info *tx_info) argument
253 mlxsw_sp_txhdr_ptp_data_construct(struct mlxsw_core *mlxsw_core, struct mlxsw_sp_port *mlxsw_sp_port, struct sk_buff *skb, const struct mlxsw_tx_info *tx_info) argument
302 mlxsw_sp_txhdr_handle(struct mlxsw_core *mlxsw_core, struct mlxsw_sp_port *mlxsw_sp_port, struct sk_buff *skb, const struct mlxsw_tx_info *tx_info) argument
[all...]
H A Dspectrum.h249 const struct mlxsw_tx_info *tx_info);
716 const struct mlxsw_tx_info *tx_info);
720 const struct mlxsw_tx_info *tx_info);
H A Dspectrum_ptp.c1685 const struct mlxsw_tx_info *tx_info)
1687 mlxsw_sp_txhdr_construct(skb, tx_info);
1694 const struct mlxsw_tx_info *tx_info)
1713 tx_info);
1682 mlxsw_sp_ptp_txhdr_construct(struct mlxsw_core *mlxsw_core, struct mlxsw_sp_port *mlxsw_sp_port, struct sk_buff *skb, const struct mlxsw_tx_info *tx_info) argument
1691 mlxsw_sp2_ptp_txhdr_construct(struct mlxsw_core *mlxsw_core, struct mlxsw_sp_port *mlxsw_sp_port, struct sk_buff *skb, const struct mlxsw_tx_info *tx_info) argument
H A 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)
239 const struct mlxsw_tx_info *tx_info)
175 mlxsw_sp_ptp_txhdr_construct(struct mlxsw_core *mlxsw_core, struct mlxsw_sp_port *mlxsw_sp_port, struct sk_buff *skb, const struct mlxsw_tx_info *tx_info) argument
236 mlxsw_sp2_ptp_txhdr_construct(struct mlxsw_core *mlxsw_core, struct mlxsw_sp_port *mlxsw_sp_port, struct sk_buff *skb, const struct mlxsw_tx_info *tx_info) argument
/linux-master/drivers/net/ethernet/pensando/ionic/
H A Dionic_dev.h229 struct ionic_tx_desc_info *tx_info; member in union:ionic_queue::__anon753
H A Dionic_txrx.c360 desc_info = &q->tx_info[q->head_idx];
1228 desc_info = &q->tx_info[q->tail_idx];
1295 desc_info = &q->tx_info[q->tail_idx];
1422 desc_info = &q->tx_info[q->head_idx];
1512 desc_info = &q->tx_info[q->head_idx];
1619 struct ionic_tx_desc_info *desc_info = &q->tx_info[q->head_idx];

Completed in 704 milliseconds

123456