aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2014-06-06 11:12:19 +0000
committerKevin Lo <kevlo@FreeBSD.org>2014-06-06 11:12:19 +0000
commitec74a03d017a7192bc979710920cb2b5d556408e (patch)
tree9141b91f5c4d23e20acb4a0192468a8a6541d0f0 /sys
parente31c6ec7e22ffd2f7b28eabe2c9816acaf60579c (diff)
Notes
Diffstat (limited to 'sys')
-rwxr-xr-xsys/dev/i40e/i40e_txrx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/i40e/i40e_txrx.c b/sys/dev/i40e/i40e_txrx.c
index 8ebab37c563d..8b41cd43ddaa 100755
--- a/sys/dev/i40e/i40e_txrx.c
+++ b/sys/dev/i40e/i40e_txrx.c
@@ -210,7 +210,7 @@ i40e_xmit(struct i40e_queue *que, struct mbuf **m_headp)
if (error == EFBIG) {
struct mbuf *m;
- m = m_defrag(*m_headp, M_DONTWAIT);
+ m = m_defrag(*m_headp, M_NOWAIT);
if (m == NULL) {
que->mbuf_defrag_failed++;
m_freem(*m_headp);
@@ -834,7 +834,7 @@ i40e_refresh_mbufs(struct i40e_queue *que, int limit)
goto no_split;
if (buf->m_head == NULL) {
- mh = m_gethdr(M_DONTWAIT, MT_DATA);
+ mh = m_gethdr(M_NOWAIT, MT_DATA);
if (mh == NULL)
goto update;
} else
@@ -861,7 +861,7 @@ i40e_refresh_mbufs(struct i40e_queue *que, int limit)
no_split:
if (buf->m_pack == NULL) {
- mp = m_getjcl(M_DONTWAIT, MT_DATA,
+ mp = m_getjcl(M_NOWAIT, MT_DATA,
M_PKTHDR, rxr->mbuf_sz);
if (mp == NULL)
goto update;