Author: vmaffione
Date: Wed Jun 3 05:49:19 2020
New Revision: 361747
URL: https://svnweb.freebsd.org/changeset/base/361747
Log:
netmap: vale: fix disabled logs
MFC after: 1 week
Modified:
head/sys/dev/netmap/netmap_vale.c
Modified: head/sys/dev/netmap/netmap_vale.c
==============================================================================
--- head/sys/dev/netmap/netmap_vale.c Wed Jun 3 05:48:42 2020
(r361746)
+++ head/sys/dev/netmap/netmap_vale.c Wed Jun 3 05:49:19 2020
(r361747)
@@ -1034,7 +1034,7 @@ nm_vale_flush(struct nm_bdg_fwd *ft, u_int n, struct n
}
nm_prdis(5, "pass 2 dst %d is %x %s",
- i, d_i, is_vp ? "virtual" : "nic/host");
+ i, d_i, nm_is_bwrap(&dst_na->up) ? "nic/host" :
"virtual");
dst_nr = d_i & (NM_BDG_MAXRINGS-1);
nrings = dst_na->up.num_rx_rings;
if (dst_nr >= nrings)
@@ -1114,7 +1114,7 @@ retry:
nm_prdis("send [%d] %d(%d) bytes at
%s:%d",
i, (int)copy_len,
(int)dst_len,
- NM_IFPNAME(dst_ifp), j);
+ dst_na->up.name, j);
/* round to a multiple of 64 */
copy_len = (copy_len + 63) & ~63;
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"