OpenSolaris

Printable Version Enter a New Search
Bug ID 6644303
Synopsis want cleanup in nge code (after 6571957)
State 10-Fix Delivered (Fix available in build)
Category:Subcategory driver:nge
Keywords rtiq_internal
Responsible Engineer Vitezslav Batrla
Reported Against
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_84
Fixed In snv_84
Release Fixed solaris_nevada(snv_84) , solaris_10u6(s10u6_01) (Bug ID:2159960)
Related Bugs 6571957
Submit Date 20-December-2007
Last Update Date 27-February-2008
Description
During code inspection of 6571957 (S10 backport), the inspection team identified few nits. Most of them has no impact on binary and I believe that all described nits have no impact on functionality. So this CR is only a request for code cleanup.

File nge.h:

a comment could be added here describing the role of buf_sign

File nge_main.c:

nge_m_stop(): remove invalid comment /* Try to wait all the buffer post to upper layer be released */

nge_m_start(): nge_problem(ngep, "nge_init_rings() failed,err=%x") needs an argument
nge_m_start(): function should return valid errno values as described to GLD v3
   specification

File nge_rx.c:

nge_recv_recycle(): this function would benefit from a comment describing the overall behaviour of the function (and particularly the condition under which freemsg() is used to re-enter the function)
Work Around
N/A
Comments
N/A