Date: Thu, 2 Aug 2018 10:33:30 GMT From: sduo@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r337281 - soc2018/sduo/head/sys/dev/cxgbe Message-ID: <201808021033.w72AXUU6081525@socsvn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sduo Date: Thu Aug 2 10:33:29 2018 New Revision: 337281 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=337281 Log: Updated calls to NETMAP_BUF_SIZE(). Modified: soc2018/sduo/head/sys/dev/cxgbe/t4_netmap.c Modified: soc2018/sduo/head/sys/dev/cxgbe/t4_netmap.c ============================================================================== --- soc2018/sduo/head/sys/dev/cxgbe/t4_netmap.c Thu Aug 2 10:29:42 2018 (r337280) +++ soc2018/sduo/head/sys/dev/cxgbe/t4_netmap.c Thu Aug 2 10:33:29 2018 (r337281) @@ -328,12 +328,12 @@ hwb = &sc->sge.hw_buf_info[0]; for (i = 0; i < SGE_FLBUF_SIZES; i++, hwb++) { - if (hwb->size == NETMAP_BUF_SIZE(na)) + if (hwb->size == NETMAP_BUF_SIZE(na, 0)) break; } if (i >= SGE_FLBUF_SIZES) { if_printf(ifp, "no hwidx for netmap buffer size %d.\n", - NETMAP_BUF_SIZE(na)); + NETMAP_BUF_SIZE(na, 0)); return (ENXIO); } hwidx = i;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808021033.w72AXUU6081525>