new file mode 100644
@@ -0,0 +1,24 @@
+--- a/include/linux/netdevice.h
++++ b/include/linux/netdevice.h
+@@ -882,8 +882,8 @@ struct net_device_path {
+ };
+ };
+
+-#define NET_DEVICE_PATH_STACK_MAX 5
+-#define NET_DEVICE_PATH_VLAN_MAX 2
++#define NET_DEVICE_PATH_STACK_MAX 8
++#define NET_DEVICE_PATH_VLAN_MAX 3
+
+ struct net_device_path_stack {
+ int num_paths;
+--- a/include/net/netfilter/nf_flow_table.h
++++ b/include/net/netfilter/nf_flow_table.h
+@@ -96,7 +96,7 @@ enum flow_offload_xmit_type {
+ FLOW_OFFLOAD_XMIT_DIRECT,
+ };
+
+-#define NF_FLOW_TABLE_ENCAP_MAX 2
++#define NF_FLOW_TABLE_ENCAP_MAX 3
+
+ struct flow_offload_tuple {
+ union {
Some need use 8021q + 8021q + pppoe, The current encap number cannot meet the demand. Signed-off-by: LiXiong Liu <lxliu@ikuai8.com> --- ...02-netfilter-flowtable-support-more-encap.patch | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 target/linux/generic/pending-5.10/706-02-netfilter-flowtable-support-more-encap.patch