aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ixl/ixl_txrx.c
diff options
context:
space:
mode:
authorEric Joyner <erj@FreeBSD.org>2016-02-19 22:48:20 +0000
committerEric Joyner <erj@FreeBSD.org>2016-02-19 22:48:20 +0000
commit2bc4747cc49351d47d2bdacd5c5d82bf4b44474b (patch)
treee25112dd0c0789eb9d47af03fd95ab6b379fd684 /sys/dev/ixl/ixl_txrx.c
parentbb329d4b5acf67a10caf9a156b9ec476c2b7c2d9 (diff)
downloadsrc-2bc4747cc49351d47d2bdacd5c5d82bf4b44474b.tar.gz
src-2bc4747cc49351d47d2bdacd5c5d82bf4b44474b.zip
ixl(4)/ixlv(4): Revert m_collapse() in ixl_xmit() to m_defrag().
The m_collapse() call would fail when transmitting medium-sized packets when the interface mtu was set to 9000, so revert back to m_defrag(), which does not fail. Differential Revision: https://reviews.freebsd.org/D5207 Tested by: jeffrey.e.pieper@intel.com Sponsored by: Intel Corporation
Notes
Notes: svn path=/head/; revision=295831
Diffstat (limited to 'sys/dev/ixl/ixl_txrx.c')
-rw-r--r--sys/dev/ixl/ixl_txrx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ixl/ixl_txrx.c b/sys/dev/ixl/ixl_txrx.c
index 43a19490c074..e78af119bfcb 100644
--- a/sys/dev/ixl/ixl_txrx.c
+++ b/sys/dev/ixl/ixl_txrx.c
@@ -286,7 +286,7 @@ ixl_xmit(struct ixl_queue *que, struct mbuf **m_headp)
if (error == EFBIG) {
struct mbuf *m;
- m = m_collapse(*m_headp, M_NOWAIT, maxsegs);
+ m = m_defrag(*m_headp, M_NOWAIT);
if (m == NULL) {
que->mbuf_defrag_failed++;
m_freem(*m_headp);