net: dsa: felix: fix some key offsets for IP4_TCP_UDP VCAP IS2 entries
authorXiaoliang Yang <xiaoliang.yang_1@nxp.com>
Mon, 21 Sep 2020 22:56:36 +0000 (01:56 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Oct 2020 06:02:50 +0000 (08:02 +0200)
commit189c154bc593f6fe592f322fee5dd2ff4c0613b0
tree4667fa0a7bf48d8e287bd23c70ec2230b660732f
parentb23f9f0dc930e415eaa011a6a68ee061466ea92b
net: dsa: felix: fix some key offsets for IP4_TCP_UDP VCAP IS2 entries

[ Upstream commit 8b9e03cd08250c60409099c791e858157838d9eb ]

Some of the IS2 IP4_TCP_UDP keys are not correct, like L4_DPORT,
L4_SPORT and other L4 keys. This prevents offloaded tc-flower rules from
matching on src_port and dst_port for TCP and UDP packets.

Signed-off-by: Xiaoliang Yang <xiaoliang.yang_1@nxp.com>
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/dsa/ocelot/felix_vsc9959.c