mlxsw: Create dedicated field for Rx metadata in skb control block
authorIdo Schimmel <idosch@nvidia.com>
Sun, 14 Mar 2021 12:19:35 +0000 (14:19 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 14 Mar 2021 22:00:43 +0000 (15:00 -0700)
commitd4cabaadeaad96ebaa415b6a7ca00390645a89ec
tree6f630e3d063e9b27bf6539752944424b8d340955
parente0eeede3d23337382e328e0fea4f7794e5a959d2
mlxsw: Create dedicated field for Rx metadata in skb control block

Next patch will need to encode more Rx metadata in the skb control
block, so create a dedicated field for it and move the cookie index
there.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/core.h
drivers/net/ethernet/mellanox/mlxsw/pci.c
drivers/net/ethernet/mellanox/mlxsw/spectrum_trap.c