<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1256">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 08/13/2018 08:23 PM, Becker, Jeffrey
C. (ARC-TN)[InuTeq, LLC] wrote:<br>
</div>
<blockquote type="cite"
cite="mid:10526135D6F99B4883E9A9799D39E3E431488CCE@NDJSMBX201.ndc.nasa.gov">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1256">
<style type="text/css" id="owaParaStyle">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
P {margin-top:0;margin-bottom:0;}</style>
<div style="direction: ltr;font-family: Tahoma;color:
#000000;font-size: 10pt;">
<div>It seems the following backport code in
/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/infiniband/ulp/ipoib/ipoib_main.c
didn't work as expected:</div>
<div><br>
</div>
<div>#ifdef HAVE_INET_CONFIRM_ADDR_EXPORTED<br>
#ifdef HAVE_INET_CONFIRM_ADDR_5_PARAMS<br>
ret_addr = inet_confirm_addr(net, in_dev, 0,<br>
addr_in->sin_addr.s_addr,<br>
RT_SCOPE_HOST);<br>
#else<br>
ret_addr = inet_confirm_addr(in_dev, 0,<br>
addr_in->sin_addr.s_addr,<br>
RT_SCOPE_HOST);<br>
#endif<br>
#else<br>
ret_addr = confirm_addr_indev(in_dev, 0,<br>
addr_in->sin_addr.s_addr,<br>
RT_SCOPE_HOST);<br>
#endif<br>
</div>
</div>
</blockquote>
<br>
Hi Jeff,<br>
On SLES15 (4.12.14-16-default) I have in compat/config.h:<br>
#define HAVE_INET_CONFIRM_ADDR_5_PARAMS 1<br>
#define HAVE_INET_CONFIRM_ADDR_EXPORTED 1<br>
<br>
So, it should use the topmost inet_confirm_addr and not
confirm_addr_indev.<br>
Did you run configure script?<br>
<br>
Regards,<br>
Vladimir<br>
<br>
<br>
<blockquote type="cite"
cite="mid:10526135D6F99B4883E9A9799D39E3E431488CCE@NDJSMBX201.ndc.nasa.gov">
<div style="direction: ltr;font-family: Tahoma;color:
#000000;font-size: 10pt;">
<div>
<br>
</div>
<div style="font-family: Times New Roman; color: #000000;
font-size: 16px">
<hr tabindex="-1">
<div id="divRpF440967" style="direction: ltr;"><font size="2"
face="Tahoma" color="#000000"><b>From:</b> Becker, Jeffrey
C. (ARC-TN)[InuTeq, LLC]<br>
<b>Sent:</b> Monday, August 13, 2018 10:00 AM<br>
<b>To:</b> Vladimir Sokolovsky ý[<a class="moz-txt-link-abbreviated" href="mailto:vlad@dev.mellanox.co.il">vlad@dev.mellanox.co.il</a>]ý<br>
<b>Cc:</b> <a class="moz-txt-link-abbreviated" href="mailto:ewg@lists.openfabrics.org">ewg@lists.openfabrics.org</a><br>
<b>Subject:</b> OFED 4.17 latest build error on SLES15<br>
</font><br>
</div>
<div>
<div style="direction:ltr; font-family:Tahoma;
color:#000000; font-size:10pt">
<div>Hi Vlad,</div>
<div><br>
</div>
<div>I just tried to build on SLES15 and got the following
error:<br>
</div>
<div><br>
</div>
<div>/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/infiniband/ulp/ipoib/ipoib_main.c:
In function ‘ipoib_is_dev_match_addr_rcu’:<br>
/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/infiniband/ulp/ipoib/ipoib_main.c:355:14:
error: implicit declaration of function
‘confirm_addr_indev’
[-Werror=implicit-function-declaration]<br>
ret_addr = confirm_addr_indev(in_dev, 0,<br>
^~~~~~~~~~~~~~~~~~<br>
</div>
<div><br>
</div>
<div>Is the backport for SLES15 missing something? Thanks.</div>
<div><br>
</div>
<div>-jeff<br>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<p><br>
</p>
</body>
</html>