Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/ena/ena.h
Show First 20 Lines • Show All 459 Lines • ▼ Show 20 Lines | static inline int ena_mbuf_count(struct mbuf *mbuf) | ||||
int count = 1; | int count = 1; | ||||
while ((mbuf = mbuf->m_next) != NULL) | while ((mbuf = mbuf->m_next) != NULL) | ||||
++count; | ++count; | ||||
return count; | return count; | ||||
} | } | ||||
int ena_up(struct ena_adapter *); | |||||
void ena_down(struct ena_adapter *); | |||||
int ena_restore_device(struct ena_adapter *); | |||||
void ena_destroy_device(struct ena_adapter *, bool); | |||||
int ena_refill_rx_bufs(struct ena_ring *, uint32_t); | |||||
#endif /* !(ENA_H) */ | #endif /* !(ENA_H) */ |