Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jun 2014 11:12:19 +0000 (UTC)
From:      Kevin Lo <kevlo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r267152 - head/sys/dev/i40e
Message-ID:  <201406061112.s56BCJ70074711@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevlo
Date: Fri Jun  6 11:12:19 2014
New Revision: 267152
URL: http://svnweb.freebsd.org/changeset/base/267152

Log:
  Replace deprecated M_DONTWAIT with M_NOWAIT.
  
  Reviewed by:	jfv

Modified:
  head/sys/dev/i40e/i40e_txrx.c

Modified: head/sys/dev/i40e/i40e_txrx.c
==============================================================================
--- head/sys/dev/i40e/i40e_txrx.c	Fri Jun  6 10:50:14 2014	(r267151)
+++ head/sys/dev/i40e/i40e_txrx.c	Fri Jun  6 11:12:19 2014	(r267152)
@@ -210,7 +210,7 @@ i40e_xmit(struct i40e_queue *que, struct
 	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 *qu
 			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 *qu
 
 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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406061112.s56BCJ70074711>