Re: [PATCH 4/4] ibacm: Use alias name when possible

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> On 25 Jan 2019, at 19:07, Ira Weiny <ira.weiny@xxxxxxxxx> wrote:
> 
> On Thu, Jan 24, 2019 at 03:47:38PM +0100, Håkon Bugge wrote:
>> When using ipoib child interfaces, the names displayed by the ip
>> utility show:
>> 
>> # ip addr show | grep inet' ' | grep ib
>>    inet 192.168.200.201/24 scope global stib1
>>    inet 192.168.200.200/24 scope global secondary stib1:P03
>> 
>> However, the logging of ibacm uses the device names (slightly edited
>> for better brevity):
>> 
>> # grep acm_ep_ip_iter_cb /usr/local/var/log/ibacm.log
>> Added 192.168.200.201/24 mlx4_0 2 0x84b4 from stib1
>> Added 192.168.200.200/24 mlx4_0 2 0x84b4 from stib1
>> 
>> This commit changes this by using the alias name when possible, and
>> the above would read:
>> 
>> # grep acm_ep_ip_iter_cb /usr/local/var/log/ibacm.log
>> Added 192.168.200.201/24 mlx4_0 2 0x84b4 from stib1
>> Added 192.168.200.200/24 mlx4_0 2 0x84b4 from stib1:P03
>> 
>> Change-Id: I71e91f94f1e9c9037df96a87db57b9718b28eed3
>> Signed-off-by: Håkon Bugge <haakon.bugge@xxxxxxxxxx>
> 
> Reviewed-by: Ira Weiny <ira.weiny@xxxxxxxxx>

Thank you Ira!


Håkon





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux