blob: 473b97de617f7e0adcd6df73bc575b6ec79ae5ce [file] [log] [blame]
#ifndef _PFE_TSO_H_
#define _PFE_TSO_H_
#define PFE_TSO_STATS
struct tso_cb_s
{
unsigned int len_counters[32];
/* This array is used to store the dma mapping for skb fragments */
struct hif_frag_info_s dma_map_array[EMAC_TXQ_CNT][EMAC_TXQ_DEPTH];
};
int pfe_tso( struct sk_buff *skb, struct hif_client_s *client, struct tso_cb_s *tso, int qno, u32 ctrl);
void pfe_tx_skb_unmap( struct sk_buff *skb);
void pfe_tx_get_req_desc(struct sk_buff *skb, unsigned int *n_desc, unsigned int *n_segs);
#endif /* _PFE_TSO_H_ */