version 1.75, 2019/03/09 08:42:25 |
version 1.76, 2020/01/29 05:41:48 |
Line 788 xennetback_evthandler(void *arg) |
|
Line 788 xennetback_evthandler(void *arg) |
|
ifp->if_xname, txreq.size, msg); |
ifp->if_xname, txreq.size, msg); |
xennetback_tx_response(xneti, txreq.id, |
xennetback_tx_response(xneti, txreq.id, |
NETIF_RSP_ERROR); |
NETIF_RSP_ERROR); |
ifp->if_ierrors++; |
if_statinc(ifp, if_ierrors); |
continue; |
continue; |
} |
} |
|
|
Line 801 xennetback_evthandler(void *arg) |
|
Line 801 xennetback_evthandler(void *arg) |
|
ifp->if_xname); |
ifp->if_xname); |
xennetback_tx_response(xneti, txreq.id, |
xennetback_tx_response(xneti, txreq.id, |
NETIF_RSP_DROPPED); |
NETIF_RSP_DROPPED); |
ifp->if_ierrors++; |
if_statinc(ifp, if_ierrors); |
continue; |
continue; |
} |
} |
|
|
Line 817 xennetback_evthandler(void *arg) |
|
Line 817 xennetback_evthandler(void *arg) |
|
ifp->if_xname); |
ifp->if_xname); |
xennetback_tx_response(xneti, txreq.id, |
xennetback_tx_response(xneti, txreq.id, |
NETIF_RSP_DROPPED); |
NETIF_RSP_DROPPED); |
ifp->if_ierrors++; |
if_statinc(ifp, if_ierrors); |
m_freem(m); |
m_freem(m); |
continue; |
continue; |
} |
} |
Line 826 xennetback_evthandler(void *arg) |
|
Line 826 xennetback_evthandler(void *arg) |
|
if (__predict_false(err == ENOMEM)) { |
if (__predict_false(err == ENOMEM)) { |
xennetback_tx_response(xneti, txreq.id, |
xennetback_tx_response(xneti, txreq.id, |
NETIF_RSP_DROPPED); |
NETIF_RSP_DROPPED); |
ifp->if_ierrors++; |
if_statinc(ifp, if_ierrors); |
pool_put(&xni_pkt_pool, pkt); |
pool_put(&xni_pkt_pool, pkt); |
m_freem(m); |
m_freem(m); |
continue; |
continue; |
Line 837 xennetback_evthandler(void *arg) |
|
Line 837 xennetback_evthandler(void *arg) |
|
xneti->xni_if.if_xname, err); |
xneti->xni_if.if_xname, err); |
xennetback_tx_response(xneti, txreq.id, |
xennetback_tx_response(xneti, txreq.id, |
NETIF_RSP_ERROR); |
NETIF_RSP_ERROR); |
ifp->if_ierrors++; |
if_statinc(ifp, if_ierrors); |
pool_put(&xni_pkt_pool, pkt); |
pool_put(&xni_pkt_pool, pkt); |
m_freem(m); |
m_freem(m); |
continue; |
continue; |
Line 879 xennetback_evthandler(void *arg) |
|
Line 879 xennetback_evthandler(void *arg) |
|
(void *)(pkt_va + txreq.offset)); |
(void *)(pkt_va + txreq.offset)); |
xni_pkt_unmap(pkt, pkt_va); |
xni_pkt_unmap(pkt, pkt_va); |
if (m->m_pkthdr.len < txreq.size) { |
if (m->m_pkthdr.len < txreq.size) { |
ifp->if_ierrors++; |
if_statinc(ifp, if_ierrors); |
m_freem(m); |
m_freem(m); |
xennetback_tx_response(xneti, txreq.id, |
xennetback_tx_response(xneti, txreq.id, |
NETIF_RSP_DROPPED); |
NETIF_RSP_DROPPED); |
Line 900 xennetback_evthandler(void *arg) |
|
Line 900 xennetback_evthandler(void *arg) |
|
if ((txreq.flags & NETTXF_csum_blank) != 0) { |
if ((txreq.flags & NETTXF_csum_blank) != 0) { |
xennet_checksum_fill(&m); |
xennet_checksum_fill(&m); |
if (m == NULL) { |
if (m == NULL) { |
ifp->if_ierrors++; |
if_statinc(ifp, if_ierrors); |
continue; |
continue; |
} |
} |
} |
} |
Line 1092 xennetback_ifsoftstart_transfer(void *ar |
|
Line 1092 xennetback_ifsoftstart_transfer(void *ar |
|
mbufs_sent[i] = m; |
mbufs_sent[i] = m; |
resp_prod++; |
resp_prod++; |
i++; /* this packet has been queued */ |
i++; /* this packet has been queued */ |
ifp->if_opackets++; |
if_statinc(ifp, if_opackets); |
bpf_mtap(ifp, m, BPF_D_OUT); |
bpf_mtap(ifp, m, BPF_D_OUT); |
} |
} |
if (i != 0) { |
if (i != 0) { |
Line 1384 xennetback_ifsoftstart_copy(void *arg) |
|
Line 1384 xennetback_ifsoftstart_copy(void *arg) |
|
mbufs_sent[i] = m; |
mbufs_sent[i] = m; |
resp_prod++; |
resp_prod++; |
i++; /* this packet has been queued */ |
i++; /* this packet has been queued */ |
ifp->if_opackets++; |
if_statinc(ifp, if_opackets); |
bpf_mtap(ifp, m, BPF_D_OUT); |
bpf_mtap(ifp, m, BPF_D_OUT); |
} |
} |
if (i != 0) { |
if (i != 0) { |