]> Git Repo - linux.git/commit
octeontx2-pf: Fix UDP/TCP src and dst port tc filters
authorSubbaraya Sundeep <[email protected]>
Sun, 24 Jul 2022 08:21:14 +0000 (13:51 +0530)
committerPaolo Abeni <[email protected]>
Tue, 26 Jul 2022 11:05:44 +0000 (13:05 +0200)
commit59e1be6f83b928a04189bbf3ab683a1fc6248db3
tree24991ed1a66df00db2a1e277aa3ac0f2ee8ad504
parentb354eaeec8637d87003945439209251d76a2bb95
octeontx2-pf: Fix UDP/TCP src and dst port tc filters

Check the mask for non-zero value before installing tc filters
for L4 source and destination ports. Otherwise installing a
filter for source port installs destination port too and
vice-versa.

Fixes: 1d4d9e42c240 ("octeontx2-pf: Add tc flower hardware offload on ingress traffic")
Signed-off-by: Subbaraya Sundeep <[email protected]>
Signed-off-by: Sunil Goutham <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c
This page took 0.051125 seconds and 4 git commands to generate.