]> 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)
commit660284e2ff2d20a594915ca7e887104e4c1f6015
treed9045222d4b3dda9bf3292f5f16fe305ccb1fa0f
parentb1fa33a9054bd18f5b7d432d4825f54dd7dc54c1
parent196ea3553c4476810191f12424c68dcc4477778b
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>