Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142065052
D44772.id136984.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
578 B
Referenced Files
None
Subscribers
None
D44772.id136984.diff
View Options
diff --git a/sys/dev/ixgbe/if_ixv.c b/sys/dev/ixgbe/if_ixv.c
--- a/sys/dev/ixgbe/if_ixv.c
+++ b/sys/dev/ixgbe/if_ixv.c
@@ -1373,11 +1373,13 @@
struct ixgbe_softc *sc = iflib_get_softc(ctx);
if_softc_ctx_t scctx;
struct ixgbe_hw *hw = &sc->hw;
+#ifdef DEV_NETMAP
if_t ifp = iflib_get_ifp(ctx);
+#endif
struct ix_rx_queue *que = sc->rx_queues;
u32 bufsz, psrtype;
- if (if_getmtu(ifp) > ETHERMTU)
+ if (sc->rx_mbuf_sz > 2048)
bufsz = 4096 >> IXGBE_SRRCTL_BSIZEPKT_SHIFT;
else
bufsz = 2048 >> IXGBE_SRRCTL_BSIZEPKT_SHIFT;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 16, 4:55 PM (9 h, 48 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27663144
Default Alt Text
D44772.id136984.diff (578 B)
Attached To
Mode
D44772: Rx buffer size and mbuf mismatch
Attached
Detach File
Event Timeline
Log In to Comment