]> git.baikalelectronics.ru Git - kernel.git/commit
net: flow_offload: Add original direction flag to ct_metadata
authorPaul Blakey <paulb@nvidia.com>
Wed, 27 Jan 2021 14:32:46 +0000 (16:32 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sat, 30 Jan 2021 02:05:30 +0000 (18:05 -0800)
commit954c45a5a0bff52035244e06e275c8c120e83c73
treea5d34726e8117f259e8f976dcab15c738841bfd5
parent5757ea8f6e8dd1c83420f74bcc1ebc058d409b06
net: flow_offload: Add original direction flag to ct_metadata

Give offloading drivers the direction of the offloaded ct flow,
this will be used for matches on direction (ct_state +/-rpl).

Signed-off-by: Paul Blakey <paulb@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/flow_offload.h
net/sched/act_ct.c