commit | 78a7dcb7c952477df18484f83592e11547d4f65a | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@mellanox.com> | Tue Feb 25 11:45:24 2020 +0100 |
committer | David S. Miller <davem@davemloft.net> | Tue Feb 25 11:05:55 2020 -0800 |
tree | 10a348f34699937ee5b17d70183e2e50d351641b | |
parent | 6d19d2bdc8a15b8212c530edd806cfee283ac734 [diff] |
mlxsw: pci: Extract cookie index for ACL discard trap packets In case the received packet comes in due to one of ACL discard traps, take the user_def_val_orig_pkt_len field from CQE and store it in skb->cb as ACL cookie index. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>