Blame IbaTools/opapacketcapture/filterFile.txt

Packit 857059
# Filter file for opapacketcapture
Packit 857059
# [ICS VERSION STRING: unknown]
Packit 857059
Packit 857059
# Filter is keyword followed by whitespace then filter value
Packit 857059
Packit 857059
# Available filters and values:
Packit 857059
Packit 857059
#DLID		<destination lid number - decimal>
Packit 857059
#SLID		<source lid number - decimal>
Packit 857059
#MCLASS		<management class number - decimal>
Packit 857059
#PKEY		<partition key - hex format with leading "0x">
Packit 857059
#PTYPE		<packet type mnemonic - one of RC/UC/RD/UD>
Packit 857059
#SVCLEV		<service level - decimal>
Packit 857059
#ATTRID		<MAD attribute ID - decimal or hex-with-leading-0x>
Packit 857059
#QP			<Destination queue pair number - decimal>
Packit 857059
#TRANSIDH   <MAD transaction ID (upper 32 bits) decimal or hex-with-leading-0x>
Packit 857059
#TRANSIDL   <MAD transaction ID (lower 32 bits) decimal or hex-with-leading-0x>
Packit 857059
Packit 857059
# Additionally, condition may be given to handle relationship between multiple
Packit 857059
# filters - AND or OR. Default is AND
Packit 857059
Packit 857059
# Any filter may be negated with first character '!' or '~'
Packit 857059
Packit 857059
#COND		<AND/OR>
Packit 857059
Packit 857059
# Examples: (edit as appropriate)
Packit 857059
 
Packit 857059
SLID		2			# filter on source lid of 2
Packit 857059
Packit 857059
PKEY		0xffff		# filter on pkey of 0xffff
Packit 857059
Packit 857059
PTYPE		UD			# filter on packet type of UD
Packit 857059
Packit 857059
!DLID		4			# filter on all dest lids except 4
Packit 857059
Packit 857059
~SVCLEV		1			# filter on all service levels except 1
Packit 857059
Packit 857059
#!ATTRID	18			# filter on all MAD attribute IDs except 18
Packit 857059
!ATTRID		0x12		# filter on all MAD attribute IDs except 0x12
Packit 857059
Packit 857059
QP			1			# filter on dest QP of 1
Packit 857059
Packit 857059
COND		AND			# AND all these conditions together - all must be true