]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb85e3c04b638a651c149fb9fa51fa825d63565bd
tree27b3ebd6bdfe0f7f4d389c4d8c151737cfa75b88
parent7f7dcb308dec8c19ba2b35c11a0a0d24cda07bb4
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