Change the mbuf memory calls back to NOWAIT as a
problem has been seen in one case with doing the M_WAITOK
This commit is contained in:
parent
49bc38beb2
commit
91c0189dc0
@ -3642,7 +3642,7 @@ ixgbe_setup_receive_ring(struct rx_ring *rxr)
|
|||||||
goto skip_head;
|
goto skip_head;
|
||||||
|
|
||||||
/* First the header */
|
/* 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) {
|
if (rxbuf->m_head == NULL) {
|
||||||
error = ENOBUFS;
|
error = ENOBUFS;
|
||||||
goto fail;
|
goto fail;
|
||||||
@ -3664,7 +3664,7 @@ ixgbe_setup_receive_ring(struct rx_ring *rxr)
|
|||||||
|
|
||||||
skip_head:
|
skip_head:
|
||||||
/* Now the payload cluster */
|
/* 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);
|
M_PKTHDR, adapter->rx_mbuf_sz);
|
||||||
if (rxbuf->m_pack == NULL) {
|
if (rxbuf->m_pack == NULL) {
|
||||||
error = ENOBUFS;
|
error = ENOBUFS;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user