Bug 734720

Summary: net_cls.classid value read and write format should be better explained
Product: Red Hat Enterprise Linux 6 Reporter: Jan Tluka <jtluka>
Component: doc-Resource_Management_GuideAssignee: Martin Prpič <mprpic>
Status: CLOSED CURRENTRELEASE QA Contact: Jan Tluka <jtluka>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2CC: tgraf
Target Milestone: rcKeywords: Documentation
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-07 12:44:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan Tluka 2011-08-31 09:35:32 UTC
Description of problem:

While looking at current statement about net_cls.classid value in the doc I think it's just wrong!

<snip>
... net_cls.classid contains a single value in hexadecimal ...
</snip>

It contains (if we consider looking at the file content) decimal value. After converting this number to hexadecimal we get the expected classid used in tc program.

The number conversions around net_cls.classid is quite confusing so I propose adding something like:

<enhancement>
The value of classid read from net_cls.classid file is presented in
decimal while data to be written to the file is expected in hexadecimal.
For example while working with class id 10:1,

# echo 0x100001 > net_cls.classid
# cat net_cls.classid
1048577

( 100001 )16 == 1048577
</enhancement>

Version-Release number of selected component (if applicable):

manual identifier: doc-Resource_Management_Guide