Guys: Could we conclude we could implements pause control like below? We want to leave ieee802.3 beneath the scene while providing user with a UI which makes more sense.
/* We use 0/1 to represent "off/on" respectively. */ Default: accept_pause = send_pause = 1; UI: accept_pause = 1, send_pause = 1: Protocol value: cap_asmpause = 0, cap_pause = 1, adv_cap_asmpause = 0, adv_cap_pause = 1 UI: accept_pause = 1, send_pause = 0: Protocol value: cap_asmpause = 1, cap_pause = 0, adv_cap_asmpause = 1, adv_cap_pause = 0 UI: accept_pause = 0, send_pause = 1: Protocol value: cap_asmpause = 1, cap_pause = 1, adv_cap_asmpause = 0, adv_cap_pause = 1 UI: accept_pause = 0, send_pause = 0: Protocol value: cap_asmpause = 0, cap_pause = 0, adv_cap_asmpause = 0, adv_cap_pause = 0 Please advice. Thanks, Raymond Raymond LI - Sun Microsystems - Beijing China wrote: > If we leave below for customer to set via Brussels, would it be enough? > > accept_pause = {0,1} > send_pause = {0, 1} > > accept_pause = 0: Not allowed to response to pause frame > accept_pause = 1: Response to pause frame, pause transmition for > specified time interval > send_pause = 0: Not allowed to send pause frame when congestion > send_pause = 1: Sending pause frame > > Above are only interface we provide for customer to turn on/off > pauseframe. If customer want > to check properties like lp_*, adv_*, cap_*, we still provide ieee802.3 > ways of defination, but > not tunable directly. > >> For older NICs, these values are tuned together. You may not have >> control over whether pause frames are sent or not, in any case. >> >> Its also important that users can see: >> >> * which bits the peer is claiming support for, and >> * the currently negotiated pause support >> >> It might be worth looking at how other operating systems expose this >> to administrators. >> >> -- Garrett >> >>> _______________________________________________ >>> brussels-dev mailing list >>> [EMAIL PROTECTED] >>> http://mail.opensolaris.org/mailman/listinfo/brussels-dev >>> >>> > > _______________________________________________ > networking-discuss mailing list > [EMAIL PROTECTED] > _______________________________________________ driver-discuss mailing list driver-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/driver-discuss