Re: [PATCH bpf-next v3 2/8] bpf: Add fd-based tcx multi-prog infra with link support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/9/23 7:19 PM, Alexei Starovoitov wrote:
On Fri, Jul 07, 2023 at 07:24:49PM +0200, Daniel Borkmann wrote:
diff --git a/net/Kconfig b/net/Kconfig
index 2fb25b534df5..d532ec33f1fe 100644
--- a/net/Kconfig
+++ b/net/Kconfig
@@ -52,6 +52,11 @@ config NET_INGRESS
  config NET_EGRESS
  	bool
+config NET_XGRESS
+	select NET_INGRESS
+	select NET_EGRESS
+	bool

Since new kconfig is needed, can NET_INGRESS and NET_EGRESS be removed at the same time?

No because netfilter can pick these individually :

config NETFILTER_INGRESS
        bool "Netfilter ingress support"
        default y
        select NET_INGRESS
        help
          This allows you to classify packets from ingress using the Netfilter
          infrastructure.

config NETFILTER_EGRESS
        bool "Netfilter egress support"
        default y
        select NET_EGRESS
        help
          This allows you to classify packets before transmission using the
          Netfilter infrastructure.

Thanks,
Daniel




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux