summaryrefslogtreecommitdiff
path: root/drivers/net/wan/z85230.h
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2015-10-15 17:43:27 +0200
committerDavid S. Miller <davem@davemloft.net>2015-10-15 23:27:55 -0700
commitf24af330159aa1afbc6670e5786856a2a99d112c (patch)
tree8e62a8779a3b5e8868745b8c9f82071a7d076628 /drivers/net/wan/z85230.h
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 <idosch@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wan/z85230.h')
0 files changed, 0 insertions, 0 deletions