Date: Wed, 3 Jun 2020 05:49:20 +0000 (UTC) From: Vincenzo Maffione <vmaffione@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r361747 - head/sys/dev/netmap Message-ID: <202006030549.0535nK2T089408@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006030549.0535nK2T089408>