diff options
author | Wenjuan Geng <wenjuan.geng@corigine.com> | 2022-08-23 12:01:22 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2022-08-25 12:03:25 +0300 |
commit | ff763011ee7be4736cd65026d479caa4a2996355 (patch) | |
tree | 9e79cf4cce79a38cff4f2479c5efeb107e21e86f /net | |
parent | 35ffb66547295c72650978f9c28e670e014d0957 (diff) | |
download | linux-ff763011ee7be4736cd65026d479caa4a2996355.tar.xz |
nfp: flower: support case of match on ct_state(0/0x3f)
is_post_ct_flow() function will process only ct_state ESTABLISHED,
then offload_pre_check() function will check FLOW_DISSECTOR_KEY_CT flag.
When config tc filter match ct_state(0/0x3f), dissector->used_keys
with FLOW_DISSECTOR_KEY_CT bit, function offload_pre_check() will
return false, so not offload. This is a special case that can be handled
safely.
Therefore, modify to let initial packet which won't go through conntrack
can be offloaded, as long as the cared ct fields are all zero.
Signed-off-by: Wenjuan Geng <wenjuan.geng@corigine.com>
Reviewed-by: Louis Peens <louis.peens@corigine.com>
Signed-off-by: Simon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/20220823090122.403631-1-simon.horman@corigine.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions