aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorIdo Schimmel <[email protected]>2015-10-15 17:43:27 +0200
committerDavid S. Miller <[email protected]>2015-10-15 23:27:55 -0700
commitf24af330159aa1afbc6670e5786856a2a99d112c (patch)
tree8e62a8779a3b5e8868745b8c9f82071a7d076628 /lib/netdev-notifier-error-inject.c
parentebb7963f9b14bbaa07b6074579225d6338318ecb (diff)
mlxsw: Simplify traps creation
The Host Trap Group Table (HTGT) register configures trap groups, which are populated with trap IDs using the Host PacKet Trap (HPKT) register. However, a trap ID can only be present inside one trap group (the last configured). Instead of passing both the trap group and ID for the function that packs HPKT, pass only the trap ID and derive from it the trap group. Signed-off-by: Ido Schimmel <[email protected]> Signed-off-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions