From ec74a03d017a7192bc979710920cb2b5d556408e Mon Sep 17 00:00:00 2001 From: Kevin Lo Date: Fri, 6 Jun 2014 11:12:19 +0000 Subject: Replace deprecated M_DONTWAIT with M_NOWAIT. Reviewed by: jfv --- sys/dev/i40e/i40e_txrx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys') 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; -- cgit v1.3