wenxu
9a32669fec
netfilter: nf_tables_offload: support indr block call
nftable support indr-block call. It makes nftable an offload vlan
and tunnel device.
nft add table netdev firewall
nft add chain netdev firewall aclout { type filter hook ingress offload device mlx_pf0vf0 priority - 300 \; }
nft add rule netdev firewall aclout ip daddr 10.0.0.1 fwd to vlan0
nft add chain netdev firewall aclin { type filter hook ingress device vlan0 priority - 300 \; }
nft add rule netdev firewall aclin ip daddr 10.0.0.7 fwd to mlx_pf0vf0
Signed-off-by: wenxu <wenxu@ucloud.cn>
Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-08-08 18:44:30 -07:00
..
2019-04-11 20:59:21 +02:00
2019-04-11 20:59:21 +02:00
2019-06-17 16:36:30 +02:00
2019-06-19 17:09:55 +02:00
2019-05-30 14:18:18 -07:00
2019-05-30 14:18:18 -07:00
2018-12-29 02:45:22 +01:00
2018-12-21 00:51:54 +01:00
2019-07-16 13:16:59 +02:00
2019-04-30 14:19:55 +02:00
2019-04-13 14:52:57 +02:00
2019-07-16 13:17:01 +02:00
2019-03-28 16:53:29 -07:00
2018-12-21 00:51:54 +01:00
2019-06-17 16:35:30 +02:00
2019-05-31 18:02:42 +02:00
2018-06-28 22:21:32 +09:00
2019-04-11 20:59:34 +02:00
2018-04-24 10:29:12 +02:00
2019-04-08 23:01:39 +02:00
2019-07-04 02:29:49 +02:00
2019-02-13 10:03:53 +01:00
2018-06-03 00:02:01 +02:00
2019-07-05 21:34:23 +02:00
2019-01-18 15:02:33 +01:00
2019-08-08 18:44:30 -07:00
2019-07-19 21:27:45 -07:00
2018-07-20 22:28:28 -07:00
2019-05-21 16:10:38 +02:00
2019-07-05 21:34:47 +02:00
2018-03-05 23:15:44 +01:00