[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHRDKfRZEw3Mq9GP3rCf2U10Y7X7N61BNZCa95tKESZkVD2qAg@mail.gmail.com>
Date: Thu, 10 Nov 2022 09:51:35 +0200
From: Leonid Komaryanskiy <lkomaryanskiy@...il.com>
To: netdev@...r.kernel.org
Cc: dmytro_firsov@...m.com
Subject: ip_forward notification for driver
Hello.
I'm working on L3 routing offload for switch device and have a
question about ip_forwarding. I want to disable/enable forwarding on
the hardware side according to changing value in
/proc/sys/net/ipv4/ip_forward. As I see, inet_netconf_notify_devconf
just sends rtnl_notify for userspace. Could I ask you for advice, on
how can I handle updating value via some notifier or some other Linux
mechanism in driver?
Thank you in advance.
Kind Regards, Leonid.
Powered by blists - more mailing lists