Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F158883164
D12854.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
815 B
Referenced Files
None
Subscribers
None
D12854.diff
View Options
Index: sys/dev/ena/ena.c
===================================================================
--- sys/dev/ena/ena.c
+++ sys/dev/ena/ena.c
@@ -122,7 +122,7 @@
static int ena_create_io_queues(struct ena_adapter *);
static int ena_tx_cleanup(struct ena_ring *);
static int ena_rx_cleanup(struct ena_ring *);
-static int validate_tx_req_id(struct ena_ring *, uint16_t);
+static inline int validate_tx_req_id(struct ena_ring *, uint16_t);
static void ena_rx_hash_mbuf(struct ena_ring *, struct ena_com_rx_ctx *,
struct mbuf *);
static struct mbuf* ena_rx_mbuf(struct ena_ring *, struct ena_com_rx_buf_info *,
@@ -1182,7 +1182,7 @@
ena_destroy_all_rx_queues(adapter);
}
-static int
+static inline int
validate_tx_req_id(struct ena_ring *tx_ring, uint16_t req_id)
{
struct ena_tx_buffer *tx_info = NULL;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jun 8, 7:01 AM (10 h, 56 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33807690
Default Alt Text
D12854.diff (815 B)
Attached To
Mode
D12854: Change function validate_tx_req_id() to inline in ENA driver
Attached
Detach File
Event Timeline
Log In to Comment