Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142353089
D15041.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
D15041.diff
View Options
Index: head/sys/dev/bnxt/bnxt_txrx.c
===================================================================
--- head/sys/dev/bnxt/bnxt_txrx.c
+++ head/sys/dev/bnxt/bnxt_txrx.c
@@ -66,14 +66,14 @@
static int bnxt_intr(void *sc);
struct if_txrx bnxt_txrx = {
- bnxt_isc_txd_encap,
- bnxt_isc_txd_flush,
- bnxt_isc_txd_credits_update,
- bnxt_isc_rxd_available,
- bnxt_isc_rxd_pkt_get,
- bnxt_isc_rxd_refill,
- bnxt_isc_rxd_flush,
- bnxt_intr
+ .ift_txd_encap = bnxt_isc_txd_encap,
+ .ift_txd_flush = bnxt_isc_txd_flush,
+ .ift_txd_credits_update = bnxt_isc_txd_credits_update,
+ .ift_rxd_available = bnxt_isc_rxd_available,
+ .ift_rxd_pkt_get = bnxt_isc_rxd_pkt_get,
+ .ift_rxd_refill = bnxt_isc_rxd_refill,
+ .ift_rxd_flush = bnxt_isc_rxd_flush,
+ .ift_legacy_intr = bnxt_intr
};
/*
Index: head/sys/dev/e1000/em_txrx.c
===================================================================
--- head/sys/dev/e1000/em_txrx.c
+++ head/sys/dev/e1000/em_txrx.c
@@ -68,25 +68,25 @@
extern int em_intr(void *arg);
struct if_txrx em_txrx = {
- em_isc_txd_encap,
- em_isc_txd_flush,
- em_isc_txd_credits_update,
- em_isc_rxd_available,
- em_isc_rxd_pkt_get,
- em_isc_rxd_refill,
- em_isc_rxd_flush,
- em_intr
+ .ift_txd_encap = em_isc_txd_encap,
+ .ift_txd_flush = em_isc_txd_flush,
+ .ift_txd_credits_update = em_isc_txd_credits_update,
+ .ift_rxd_available = em_isc_rxd_available,
+ .ift_rxd_pkt_get = em_isc_rxd_pkt_get,
+ .ift_rxd_refill = em_isc_rxd_refill,
+ .ift_rxd_flush = em_isc_rxd_flush,
+ .ift_legacy_intr = em_intr
};
struct if_txrx lem_txrx = {
- em_isc_txd_encap,
- em_isc_txd_flush,
- em_isc_txd_credits_update,
- lem_isc_rxd_available,
- lem_isc_rxd_pkt_get,
- lem_isc_rxd_refill,
- em_isc_rxd_flush,
- em_intr
+ .ift_txd_encap = em_isc_txd_encap,
+ .ift_txd_flush = em_isc_txd_flush,
+ .ift_txd_credits_update = em_isc_txd_credits_update,
+ .ift_rxd_available = lem_isc_rxd_available,
+ .ift_rxd_pkt_get = lem_isc_rxd_pkt_get,
+ .ift_rxd_refill = lem_isc_rxd_refill,
+ .ift_rxd_flush = em_isc_rxd_flush,
+ .ift_legacy_intr = em_intr
};
extern if_shared_ctx_t em_sctx;
Index: head/sys/dev/e1000/igb_txrx.c
===================================================================
--- head/sys/dev/e1000/igb_txrx.c
+++ head/sys/dev/e1000/igb_txrx.c
@@ -62,14 +62,14 @@
extern int em_intr(void *arg);
struct if_txrx igb_txrx = {
- igb_isc_txd_encap,
- igb_isc_txd_flush,
- igb_isc_txd_credits_update,
- igb_isc_rxd_available,
- igb_isc_rxd_pkt_get,
- igb_isc_rxd_refill,
- igb_isc_rxd_flush,
- em_intr
+ .ift_txd_encap = igb_isc_txd_encap,
+ .ift_txd_flush = igb_isc_txd_flush,
+ .ift_txd_credits_update = igb_isc_txd_credits_update,
+ .ift_rxd_available = igb_isc_rxd_available,
+ .ift_rxd_pkt_get = igb_isc_rxd_pkt_get,
+ .ift_rxd_refill = igb_isc_rxd_refill,
+ .ift_rxd_flush = igb_isc_rxd_flush,
+ .ift_legacy_intr = em_intr
};
extern if_shared_ctx_t em_sctx;
Index: head/sys/dev/ixgbe/ix_txrx.c
===================================================================
--- head/sys/dev/ixgbe/ix_txrx.c
+++ head/sys/dev/ixgbe/ix_txrx.c
@@ -62,14 +62,14 @@
static int ixgbe_determine_rsstype(u16 pkt_info);
struct if_txrx ixgbe_txrx = {
- ixgbe_isc_txd_encap,
- ixgbe_isc_txd_flush,
- ixgbe_isc_txd_credits_update,
- ixgbe_isc_rxd_available,
- ixgbe_isc_rxd_pkt_get,
- ixgbe_isc_rxd_refill,
- ixgbe_isc_rxd_flush,
- NULL
+ .ift_txd_encap = ixgbe_isc_txd_encap,
+ .ift_txd_flush = ixgbe_isc_txd_flush,
+ .ift_txd_credits_update = ixgbe_isc_txd_credits_update,
+ .ift_rxd_available = ixgbe_isc_rxd_available,
+ .ift_rxd_pkt_get = ixgbe_isc_rxd_pkt_get,
+ .ift_rxd_refill = ixgbe_isc_rxd_refill,
+ .ift_rxd_flush = ixgbe_isc_rxd_flush,
+ .ift_legacy_intr = NULL
};
extern if_shared_ctx_t ixgbe_sctx;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 19, 11:00 PM (18 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27756043
Default Alt Text
D15041.diff (3 KB)
Attached To
Mode
D15041: Use C99 initializers for if_txrx.
Attached
Detach File
Event Timeline
Log In to Comment