]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'nfp-fix-pedit-set-action-offloads'
authorDavid S. Miller <davem@davemloft.net>
Tue, 16 Oct 2018 06:17:25 +0000 (23:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Oct 2018 06:17:25 +0000 (23:17 -0700)
commitd26df996ef12af2d42fd57782bca029ac6742e48
treed9045222d4b3dda9bf3292f5f16fe305ccb1fa0f
parent04d777c29a59f0f40e9345ee49b2935174072256
parenta885f908fd86344f267712b98060169da1d51178
Merge branch 'nfp-fix-pedit-set-action-offloads'

Jakub Kicinski says:

====================
nfp: fix pedit set action offloads

Pieter says:

This set fixes set actions when using multiple pedit actions with
partial masks and with multiple keys per pedit action. Additionally
it fixes set ipv6 pedit action offloads when using it in combination
with other header keys.

The problem would only trigger if one combines multiple pedit actions
of the same type with partial masks, e.g.:

$ tc filter add dev netdev protocol ip parent ffff: \
    flower indev netdev \
    ip_proto tcp \
    action pedit ex munge \
    ip src set 11.11.11.11 retain 65535 munge \
    ip src set 22.22.22.22 retain 4294901760 pipe \
    csum ip and tcp pipe \
    mirred egress redirect dev netdev
====================

Signed-off-by: David S. Miller <davem@davemloft.net>