netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH iproute2] man/tc-mirred: don't recommend modprobe
@ 2024-01-11 19:34 Stephen Hemminger
  2024-01-12 12:44 ` Jiri Pirko
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Hemminger @ 2024-01-11 19:34 UTC (permalink / raw)
  To: netdev; +Cc: Stephen Hemminger

Use ip link add instead of explicit modprobe.
Kernel will do correct module loading if necessary.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 man/man8/tc-mirred.8 | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/man/man8/tc-mirred.8 b/man/man8/tc-mirred.8
index 38833b452d92..2d9795b1b16f 100644
--- a/man/man8/tc-mirred.8
+++ b/man/man8/tc-mirred.8
@@ -84,8 +84,7 @@ interface, it is possible to send ingress traffic through an instance of
 
 .RS
 .EX
-# modprobe ifb
-# ip link set ifb0 up
+# ip link add dev ifb0 type ifb
 # tc qdisc add dev ifb0 root sfq
 # tc qdisc add dev eth0 handle ffff: ingress
 # tc filter add dev eth0 parent ffff: u32 \\
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-01-12 18:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-11 19:34 [PATCH iproute2] man/tc-mirred: don't recommend modprobe Stephen Hemminger
2024-01-12 12:44 ` Jiri Pirko
2024-01-12 17:09   ` Stephen Hemminger
2024-01-12 18:21     ` Jiri Pirko
2024-01-12 18:42       ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).