HFI: port to SFI driver version 10.5.1.0.2
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -140,7 +140,9 @@ struct iowait {
|
||||
struct sdma_engine *sde,
|
||||
struct iowait_work *wait,
|
||||
struct sdma_txreq *tx,
|
||||
unsigned seq);
|
||||
uint seq,
|
||||
bool pkts_sent
|
||||
);
|
||||
void (*wakeup)(struct iowait *wait, int reason);
|
||||
void (*sdma_drained)(struct iowait *wait);
|
||||
seqlock_t *lock;
|
||||
@@ -153,6 +155,7 @@ struct iowait {
|
||||
u32 tx_count;
|
||||
unsigned long flags;
|
||||
struct iowait_work wait[IOWAIT_SES];
|
||||
u8 starved_cnt;
|
||||
};
|
||||
|
||||
#define SDMA_AVAIL_REASON 0
|
||||
@@ -172,7 +175,8 @@ void iowait_init(
|
||||
struct sdma_engine *sde,
|
||||
struct iowait_work *wait,
|
||||
struct sdma_txreq *tx,
|
||||
unsigned seq),
|
||||
uint seq,
|
||||
bool pkts_sent),
|
||||
void (*wakeup)(struct iowait *wait, int reason),
|
||||
void (*sdma_drained)(struct iowait *wait));
|
||||
|
||||
|
||||
@@ -115,7 +115,7 @@ extern uint extended_psn;
|
||||
struct hfi1_user_sdma_pkt_q {
|
||||
struct list_head list;
|
||||
unsigned ctxt;
|
||||
unsigned subctxt;
|
||||
u16 subctxt;
|
||||
u16 n_max_reqs;
|
||||
atomic_t n_reqs;
|
||||
u16 reqidx;
|
||||
@@ -147,4 +147,4 @@ int hfi1_user_sdma_process_request(struct file *, struct iovec *, unsigned long,
|
||||
unsigned long *);
|
||||
|
||||
#endif /* __HFI1_ORIG__ */
|
||||
#endif /* _HFI1_SDMA_H */
|
||||
#endif /* _HFI1_SDMA_H */
|
||||
|
||||
Reference in New Issue
Block a user