Blame bootstrap_ver/extensions/libxt_cpu.man

Packit Service 1ec7f4
.TP
Packit Service 1ec7f4
[\fB!\fP] \fB\-\-cpu\fP \fInumber\fP
Packit Service 1ec7f4
Match cpu handling this packet. cpus are numbered from 0 to NR_CPUS-1
Packit Service 1ec7f4
Can be used in combination with RPS (Remote Packet Steering) or
Packit Service 1ec7f4
multiqueue NICs to spread network traffic on different queues.
Packit Service 1ec7f4
.PP
Packit Service 1ec7f4
Example:
Packit Service 1ec7f4
.PP
Packit Service 1ec7f4
iptables \-t nat \-A PREROUTING \-p tcp \-\-dport 80 \-m cpu \-\-cpu 0 
Packit Service 1ec7f4
\-j REDIRECT \-\-to\-port 8080
Packit Service 1ec7f4
.PP
Packit Service 1ec7f4
iptables \-t nat \-A PREROUTING \-p tcp \-\-dport 80 \-m cpu \-\-cpu 1 
Packit Service 1ec7f4
\-j REDIRECT \-\-to\-port 8081
Packit Service 1ec7f4
.PP
Packit Service 1ec7f4
Available since Linux 2.6.36.