OSDN Git Service

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)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Sep 2020 00:40:52 +0000 (17:40 -0700)
commit8b9e03cd08250c60409099c791e858157838d9eb
tree27b3ebd6bdfe0f7f4d389c4d8c151737cfa75b88
parentd5e4d0a5e692a942f0c212e37dc6aeac47ecbdea
net: dsa: felix: fix some key offsets for IP4_TCP_UDP VCAP IS2 entries

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>
drivers/net/dsa/ocelot/felix_vsc9959.c