Bug 196698

Summary: Add infiniband support to arp(8) so arp -da will work
Product: Base System Reporter: Enji Cooper <ngie>
Component: binAssignee: Mark Johnston <markj>
Status: Closed FIXED    
Severity: Affects Some People CC: accornehl, benno, hselasky, markj
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch none

Description Enji Cooper freebsd_committer freebsd_triage 2015-01-13 23:20:54 UTC
Created attachment 151594 [details]
patch

Submitted by: Anthony Cornehl <anthony.cornehl@isilon.com>
Sponsored by: EMC / Isilon Storage Division
Comment 1 Hans Petter Selasky freebsd_committer freebsd_triage 2015-01-14 05:45:39 UTC
Hi,

Does this patch also work when deleting a specific entry, hence there are some specific checks if arp.c for 12 bytes ETHERNET addresses.

--HPS
Comment 2 Enji Cooper freebsd_committer freebsd_triage 2015-01-14 11:21:36 UTC
(In reply to Hans Petter Selasky from comment #1)

Hmmm... potentially not. I'll double-check with Anthony tomorrow.
Comment 3 Anthony Cornehl 2015-01-14 19:12:46 UTC
(In reply to Hans Petter Selasky from comment #1)

Individual delete seems to work as well.

# arp -na
? (192.168.242.5) at 80.0.4.6.fe.80.0.0.0.0.0.0.0.15.1b.0.10.95.31.f7 on ib1 expires in 1194 seconds [ipoib]
? (192.168.242.101) at 80.0.4.6.fe.80.0.0.0.0.0.0.0.15.1b.0.10.95.4e.37 on ib1 permanent [ipoib]

# arp -d 192.168.242.5
192.168.242.5 (192.168.242.5) deleted

# arp -na
? (192.168.242.101) at 80.0.4.6.fe.80.0.0.0.0.0.0.0.15.1b.0.10.95.4e.37 on ib1 permanent [ipoib]
Comment 4 Anthony Cornehl 2015-01-14 19:16:26 UTC
I should add that there are no other modifications in the OneFS arp.c that would affect interface enumeration or deletion.
Comment 5 Mark Johnston freebsd_committer freebsd_triage 2015-04-12 21:31:32 UTC
Committed in r280998 and merged to stable/10 in r281471. Just noticed that the PR listed in the commit messages is wrong, which is why they weren't logged here. Sorry about that.