summaryrefslogtreecommitdiffstats
path: root/sys/dev/ixgbe
diff options
context:
space:
mode:
authorjfv <jfv@FreeBSD.org>2010-06-11 20:59:29 +0000
committerjfv <jfv@FreeBSD.org>2010-06-11 20:59:29 +0000
commit3808a1936a80fc5839289a85d9768bf5bbb610a8 (patch)
tree1fe88cf01bb1a01e8cdefa9c1f57ff9d90fcbcea /sys/dev/ixgbe
parent562fa6d72241d0f2d235613ea0772e60b54d7235 (diff)
downloadFreeBSD-src-3808a1936a80fc5839289a85d9768bf5bbb610a8.zip
FreeBSD-src-3808a1936a80fc5839289a85d9768bf5bbb610a8.tar.gz
Change the mbuf memory calls back to NOWAIT as a
problem has been seen in one case with doing the M_WAITOK
Diffstat (limited to 'sys/dev/ixgbe')
-rw-r--r--sys/dev/ixgbe/ixgbe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ixgbe/ixgbe.c b/sys/dev/ixgbe/ixgbe.c
index b3b9352..174c08d 100644
--- a/sys/dev/ixgbe/ixgbe.c
+++ b/sys/dev/ixgbe/ixgbe.c
@@ -3642,7 +3642,7 @@ ixgbe_setup_receive_ring(struct rx_ring *rxr)
goto skip_head;
/* First the header */
- rxbuf->m_head = m_gethdr(M_WAITOK, MT_DATA);
+ rxbuf->m_head = m_gethdr(M_NOWAIT, MT_DATA);
if (rxbuf->m_head == NULL) {
error = ENOBUFS;
goto fail;
@@ -3664,7 +3664,7 @@ ixgbe_setup_receive_ring(struct rx_ring *rxr)
skip_head:
/* Now the payload cluster */
- rxbuf->m_pack = m_getjcl(M_WAITOK, MT_DATA,
+ rxbuf->m_pack = m_getjcl(M_NOWAIT, MT_DATA,
M_PKTHDR, adapter->rx_mbuf_sz);
if (rxbuf->m_pack == NULL) {
error = ENOBUFS;
OpenPOWER on IntegriCloud