www.LinuxHowtos.org
DC-APPTRUST
Section: Linux (8)Updated: 22 November 2022
Index Return to Main Contents
NAME
dc-apptrust - show / configure pe-selector trust and trust order of the application priority table of the DCB (Data Center Bridging) subsystem.SYNOPSIS
dcb
[ OPTIONS ]
apptrust
{ COMMAND | help }
dcb apptrust show dev
DEV
[ order ]
dcb apptrust set dev
DEV
[ order
SE-LIST ]
SE-LIST := [ SE-LIST ] SEL
SEL := { ethtype | strea-port | dgra-port | port | dscp | pcp }
DESCRIPTION
dcb apptrust is used to configure pe-selector trust and trust order of the Application Priority Table, see dc-app(8) for details on how to configure app table entries.
Selector trust can be used by the software stack, or drivers (most likely the latter), when querying the APP table, to determine if an APP entry should take effect, or not. Additionally, the order of the trusted selectors will dictate which selector should take precedence, in the case of multiple different APP table selectors being present.
COMMANDS
- show
-
Display all trusted selectors.
- set
-
Set new list of trusted selectors. Empty list is effectively the same as
removing trust entirely.
PARAMETERS
The following describes only the write direction, i.e. as used with the set command. For the show command, the parameter name is to be used as a simple keyword without further arguments. This instructs the tool to show the values of a given parameter.
- order SE-LIST
-
SE-LIST is a spac-separated list of selector names. Possible selector
values are:
ethtype,
strea-port,
dgra-port,
port,
dscp,
and
pcp
EXAMPLE & USAGE
Set trust order to: dscp, pcp for eth0: # dcb apptrust set dev eth0 order dscp pcp
Set trust order to: port (stream or dgram), pcp, ethtype for eth1: # dcb apptrust set dev eth1 order port pcp ethtype
Show what was set:
# dcb apptrust show dev eth0
order: port pcp ethtype
EXIT STATUS
Exit status is 0 if command was successful or a positive integer upon failure.SEE ALSO
dcb(8), dc-app(8)REPORTING BUGS
Report any bugs to the Network Developers mailing list <netdev@vger.kernel.org> where the development and maintenance is primarily done. You do not have to be subscribed to the list to send a message there.AUTHOR
Daniel Machon <daniel.machon@microchip.com>