Hello: Am requesting folks to review a small code change done to resolve the RFE 6638604 tunable for configurable buffer space for packets with unresolved ARP entries ( http://bugs.opensolaris.org/view_bug.do?bug_id=6638604 or http://monaco.sfbay.sun.com/detail.jsf?cr=6638604). In the current Solaris the value for queue length is hard coded to be 4, with this fix the value can be changed at boot time or at run time (see below).
The webrev is located here: http://cr.opensolaris.org/~girishmg/arp_fix For those within SWAN, the workspace is located here /net/trigati.east/export/build/gm209912/arp_fix. Would appreciate the comments by 30th Jan. thanks in advance, regards ~Girish PS: ----- As part of the fix, The user can now specify the queue length in /etc/system file using the variable "arp_qlen". This variable defines the number of IP packets that will be enqueued on ace_t (IP host path) or on nce_t (IP forwarding path) while waiting for ARP resolution to complete. The syntax is set ip:arp_qlen = 10 The above statement will set the queue length to 10 and is persistent across reboots. The user could change the value dynamically on a kernel using mdb. #mdb -K Welcome to kmdb Loaded modules: [ scsi_vhci uppc neti ptm ufs unix zfs krtld sppp nca hook lofs genunix ip logindmux usba specfs random cpu.generic sctp arp ] [0]> arp_qlen/X ip`arp_qlen: ip`arp_qlen: a ===> Current value [0]> arp_qlen/W 20 ip`arp_buffer_size: 0x6 = 0x20 ====> New value [0]> However after reboot, the value will be lost and will revert back to 10. _______________________________________________ networking-discuss mailing list [email protected]
