From: Kan Liang <kan.li...@intel.com>
Net policy needs to know device information. Currently, it's enough to
only get irq information of rx and tx queues.
This patch introduces ndo ops to do so, not ethtool ops.
Because there are already several ways to get irq information in
userspace
From: Kan Liang <kan.li...@intel.com>
Introduce three NET policies
CPU policy: configure for higher throughput and lower CPU% (power
saving).
BULK policy: configure for highest throughput.
LATENCY policy: configure for lowest latency.
Signed-off-by: Kan Liang <kan.li...@intel.com>
From: Kan Liang <kan.li...@intel.com>
This patch introduce NET policy subsystem. If proc is supported in the
system, it creates netpolicy node in proc system.
Signed-off-by: Kan Liang <kan.li...@intel.com>
---
include/linux/netdevice.h | 7 +++
include/net/net_namespace.h |
From: Kan Liang <kan.li...@intel.com>
Net policy also needs to know CPU information. Currently, online
CPU count is enough.
Signed-off-by: Kan Liang <kan.li...@intel.com>
---
net/core/netpolicy.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/net/core/netpolicy.
From: Kan Liang <kan.li...@intel.com>
User can write policy name to /proc/net/netpolicy/$DEV/policy to enable
net policy for specific device.
When the policy is enabled, the subsystem automatically disables IRQ
balance and set IRQ affinity. The object list is also generated
accor
From: Kan Liang <kan.li...@intel.com>
User can uses ethtool to set the channel number. This patch handles the
channel changes by rebuilding the object list.
Signed-off-by: Kan Liang <kan.li...@intel.com>
---
include/linux/netpolicy.h | 8
net/core/ethtool.c| 8 +
From: Kan Liang <kan.li...@intel.com>
MIX policy is combine of other policies. It allows different queue has
different policy. If MIX policy is applied,
/proc/net/netpolicy/$DEV/policy shows per queue policy.
Usually, the workloads requires either high throughput or low latency.
So for c
From: Kan Liang <kan.li...@intel.com>
Support NET device up/down/namechange in the NET policy code.
Signed-off-by: Kan Liang <kan.li...@intel.com>
---
net/core/netpolicy.c | 66 +---
1 file changed, 58 insertions(+), 8 deletions(-)
From: Kan Liang <kan.li...@intel.com>
To achieve better network performance, the key step is to distribute the
packets to dedicated queues according to policy and system run time
status.
This patch provides an interface which can return the proper dedicated
queue for socke
From: Kan Liang <kan.li...@intel.com>
For CPU hotplug, the NET policy subsystem will rebuild the sys map and
object list.
Signed-off-by: Kan Liang <kan.li...@intel.com>
---
net/core/netpolicy.c | 80
1 file changed, 80 inserti
From: Kan Liang <kan.li...@intel.com>
The socket/task can only be benefited when it register itself with
specific policy. If it's the first time to register, a record will be
created and inserted into RCU hash table. The record includes ptr,
policy and object information. ptr is the socket/
From: Kan Liang <kan.li...@intel.com>
When the device tries to transmit a packet, netdev_pick_tx is called to
find the available tx queues. If the net policy is applied, it picks up
the assigned tx queue from net policy subsystem, and redirect the
traffic to the assigned queue.
Sign
From: Kan Liang <kan.li...@intel.com>
This patch extends the netpolicy to support tc bpf when selecting Tx
queue. It implements a bpf classifier for clsact qdisc. The classifier
will pick up the proper queue from net policy subsystem. This queue
selection from tc is not compatible with X
From: Kan Liang <kan.li...@intel.com>
For setting Rx queues, this patch configure Rx network flow
classification rules to redirect the packets to the assigned queue.
Since we may not get all the information required for rule until the
first packet arrived, it will add the rule after r
From: Kan Liang <kan.li...@intel.com>
This patch introduces the concept of NET policy object and policy object
list.
The NET policy object is the instance of CPU/queue mapping. The object
can be shared between different tasks/sockets. So besides CPU and queue
information, the objec
From: Kan Liang <kan.li...@intel.com>
This patch tries to initialize NET policy for all the devices in the
system. However, not all device drivers have NET policy support. For
those drivers who does not have NET policy support, the node will not be
showed in /proc/net/netpolicy/.
The
From: Kan Liang <kan.li...@intel.com>
Users may not want to change the source code to add per task net polic
support. Or they may want to change a running task's net policy. prctl
does not work for both cases.
This patch adds an interface in /proc, which can be used to set and
retrieve
From: Kan Liang <kan.li...@intel.com>
It is a big challenge to get good network performance. First, the network
performance is not good with default system settings. Second, it is too
difficult to do automatic tuning for all possible workloads, since workloads
have different requirements
From: Kan Liang <kan.li...@intel.com>
This patch introduces functions to enable and disable NET policy.
For enabling, it collects device and CPU information and setup CPU/queue
mapping. Also, for some drivers like i40e driver, it will get better
performance if setting IRQ affinity. This
From: Kan Liang <kan.li...@intel.com>
This patches introduces functions to set and remove IRQ affinity
according to cpu and queue mapping.
The functions will not record the previous affinity status. After a
set/remove cycles, it will set the affinity on all online CPU with IRQ
balance en
From: Kan Liang <kan.li...@intel.com>
Current implementation forces CPU and queue 1:1 mapping. This patch
introduces the function netpolicy_update_sys_map to create this mapping.
The result is stored in netpolicy_sys_info.
If the CPU count and queue count are different, the remaining
CPUs/
From: Kan Liang <kan.li...@intel.com>
Signed-off-by: Kan Liang <kan.li...@intel.com>
---
Documentation/networking/netpolicy.txt | 157 +
1 file changed, 157 insertions(+)
create mode 100644 Documentation/networking/netpolicy.txt
diff --git a/D
From: Kan Liang <kan.li...@intel.com>
Usually, application as a whole has specific requirement. Applying the
net policy to all sockets one by one in the application is too complex.
This patch introduces per task net policy to address this case.
Once the per task net policy is applie
From: Kan Liang <kan.li...@intel.com>
NET policy can not fulfill users request without limit, because of the
security consideration and device limitation. For security
consideration, the attacker may fake millions of per task/socket request
to crash the system. For device limitation, th
From: Kan Liang <kan.li...@intel.com>
The network socket is the most basic unit which control the network
traffic. A socket option is needed for user to set their own policy on
socket to improve the network performance.
There is no existing SOCKET options which can be reused. For socket
o
From: Kan Liang <kan.li...@intel.com>
Some drivers like i40e driver does not support separate Tx and Rx queues
as channels. Using Rx queue to stand for the channels, if queue_pair is
set by driver.
Signed-off-by: Kan Liang <kan.li...@intel.com>
---
include/linux/netpolicy.h | 1
From: Kan Liang <kan.li...@intel.com>
Current implementation searches the hash table to get assigned object
for each transmit/receive packet. It's not necessory, because the
assigned object usually remain unchanged. This patch store the assigned
queue to speed up the searching process.
But
From: Kan Liang <kan.li...@intel.com>
Net policy also needs to know CPU information. Currently, online
CPU number is enough.
Signed-off-by: Kan Liang <kan.li...@intel.com>
---
net/core/netpolicy.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/net/core/netpolicy.
From: Kan Liang <kan.li...@intel.com>
This patches introduces functions to set and remove IRQ affinity
according to cpu and queue mapping.
The functions will not record the previous affinity status. After a
set/remove cycles, it will set the affinity on all online CPU with IRQ
balance en
From: Kan Liang <kan.li...@intel.com>
This patch introduce NET policy subsystem. If proc is supported in the
system, it creates netpolicy node in proc system.
Signed-off-by: Kan Liang <kan.li...@intel.com>
---
include/linux/netdevice.h | 7 +++
include/net/net_namespace.h |
From: Kan Liang <kan.li...@intel.com>
This patch tries to initialize NET policy for all the devices in the
system. However, not all device drivers have NET policy support. For
those drivers who does not have NET policy support, the node will not be
showed in /proc/net/netpolicy/.
The
From: Kan Liang <kan.li...@intel.com>
(re-send to correct system time issue. Sorry for any inconvenience.)
It is a big challenge to get good network performance. First, the network
performance is not good with default system settings. Second, it is too
difficult to do automatic tuning f
From: Kan Liang <kan.li...@intel.com>
Current implementation forces CPU and queue 1:1 mapping. This patch
introduces the function netpolicy_update_sys_map to create this mapping.
The result is stored in netpolicy_sys_info.
If the CPU count and queue count are different, the remaining
CPUs/
From: Kan Liang <kan.li...@intel.com>
User can write policy name to /proc/net/netpolicy/$DEV/policy to enable
net policy for specific device.
When the policy is enabled, the subsystem automatically disables IRQ
balance and set IRQ affinity. The object list is also generated
accor
From: Kan Liang <kan.li...@intel.com>
This patch introduces the concept of NET policy object and policy object
list.
The NET policy object is the instance of CPU/queue mapping. The object
can be shared between different tasks/sockets. So besides CPU and queue
information, the objec
From: Kan Liang <kan.li...@intel.com>
Support NET device up/down/namechange in the NET policy code.
Signed-off-by: Kan Liang <kan.li...@intel.com>
---
net/core/netpolicy.c | 66 +---
1 file changed, 58 insertions(+), 8 deletions(-)
From: Kan Liang <kan.li...@intel.com>
Introduce three NET policies
CPU policy: configure for higher throughput and lower CPU% (power
saving).
BULK policy: configure for highest throughput.
LATENCY policy: configure for lowest latency.
Signed-off-by: Kan Liang <kan.li...@intel.com>
From: Kan Liang <kan.li...@intel.com>
This patch introduces functions to enable and disable NET policy.
For enabling, it collects device and CPU information, setup CPU/queue
mapping, and set IRQ affinity accordingly.
For disabling, it removes the IRQ affinity and mapping information.
n
From: Kan Liang <kan.li...@intel.com>
The socket/task can only be benefited when it register itself with
specific policy. If it's the first time to register, a record will be
created and inserted into RCU hash table. The record includes ptr,
policy and object information. ptr is the socket/
From: Kan Liang <kan.li...@intel.com>
For CPU hotplug, the NET policy subsystem will rebuild the sys map and
object list.
Signed-off-by: Kan Liang <kan.li...@intel.com>
---
net/core/netpolicy.c | 76
1 file changed, 76 inserti
From: Kan Liang <kan.li...@intel.com>
MIX policy is combine of other policies. It allows different queue has
different policy. If MIX policy is applied,
/proc/net/netpolicy/$DEV/policy shows per queue policy.
Usually, the workloads requires either high throughput or low latency.
So for c
From: Kan Liang <kan.li...@intel.com>
When the device tries to transmit a packet, netdev_pick_tx is called to
find the available Tx queues. If the net policy is applied, it picks up
the assigned Tx queue from net policy subsystem, and redirect the
traffic to the assigned queue.
Sign
From: Kan Liang <kan.li...@intel.com>
The network socket is the most basic unit which control the network
traffic. This patch introduces a new socket option SO_NETPOLICY to
set/get net policy for socket. so that the application can set its own
policy on socket to improve the network perfo
From: Kan Liang <kan.li...@intel.com>
Users may not want to change the source code to add per task net polic
support. Or they may want to change a running task's net policy. prctl
does not work for both cases.
This patch adds an interface in /proc, which can be used to set and
retrieve
From: Kan Liang <kan.li...@intel.com>
User can uses ethtool to set the channel number. This patch handles the
channel changes by rebuilding the object list.
Signed-off-by: Kan Liang <kan.li...@intel.com>
---
include/linux/netpolicy.h | 8
net/core/ethtool.c| 8 +
From: Kan Liang <kan.li...@intel.com>
For setting Rx queues, this patch configure Rx network flow
classification rules to redirect the packets to the assigned queue.
Since we may not get all the information required for rule until the
first packet arrived, it will add the rule after r
From: Kan Liang <kan.li...@intel.com>
To achieve better network performance, the key step is to distribute the
packets to dedicated queues according to policy and system run time
status.
This patch provides an interface which can return the proper dedicated
queue for socke
From: Kan Liang <kan.li...@intel.com>
Signed-off-by: Kan Liang <kan.li...@intel.com>
---
Documentation/networking/netpolicy.txt | 157 +
1 file changed, 157 insertions(+)
create mode 100644 Documentation/networking/netpolicy.txt
diff --git a/D
From: Kan Liang <kan.li...@intel.com>
NET policy can not fulfill users request without limit, because of the
security consideration and device limitation. For security
consideration, the attacker may fake millions of per task/socket request
to crash the system. For device limitation, th
From: Kan Liang <kan.li...@intel.com>
Some drivers like i40e driver does not support separate Tx and Rx queues
as channels. Using Rx queue to stand for the channels, if queue_pair is
set by driver.
Signed-off-by: Kan Liang <kan.li...@intel.com>
---
include/linux/netpolicy.h | 1
From: Kan Liang <kan.li...@intel.com>
Current implementation searches the hash table to get assigned object
for each transmit/receive packet. It's not necessory, because the
assigned object usually remain unchanged. This patch store the assigned
queue to speed up the searching process.
But
From: Kan Liang <kan.li...@intel.com>
Usually, application as a whole has specific requirement. Applying the
net policy to all sockets one by one in the application is too complex.
This patch introduces per task net policy to address this case.
Once the per task net policy is applie
From: Kan Liang <kan.li...@intel.com>
Net policy needs to know device information. Currently, it's enough to
only get irq information of rx and tx queues.
This patch introduces ndo ops to do so, not ethtool ops.
Because there are already several ways to get irq information in
userspace
From: Kan Liang <kan.li...@intel.com>
Net policy also needs to know CPU information. Currently, online
CPU number is enough.
Signed-off-by: Kan Liang <kan.li...@intel.com>
---
net/core/netpolicy.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/net/core/netpolicy.
From: Kan Liang <kan.li...@intel.com>
This patch introduce NET policy subsystem. If proc is supported in the
system, it creates netpolicy node in proc system.
Signed-off-by: Kan Liang <kan.li...@intel.com>
---
include/linux/netdevice.h | 7 +++
include/net/net_namespace.h |
From: Kan Liang <kan.li...@intel.com>
MIX policy is combine of other policies. It allows different queue has
different policy. If MIX policy is applied,
/proc/net/netpolicy/$DEV/policy shows per queue policy.
Usually, the workloads requires either high throughput or low latency.
So for c
From: Kan Liang <kan.li...@intel.com>
Net policy needs to know device information. Currently, it's enough to
only get irq information of rx and tx queues.
This patch introduces ndo ops to do so, not ethtool ops.
Because there are already several ways to get irq information in
userspace
From: Kan Liang <kan.li...@intel.com>
Support NET device up/down/namechange in the NET policy code.
Signed-off-by: Kan Liang <kan.li...@intel.com>
---
net/core/netpolicy.c | 66 +---
1 file changed, 58 insertions(+), 8 deletions(-)
From: Kan Liang <kan.li...@intel.com>
This patch tries to initialize NET policy for all the devices in the
system. However, not all device drivers have NET policy support. For
those drivers who does not have NET policy support, the node will not be
showed in /proc/net/netpolicy/.
The
From: Kan Liang <kan.li...@intel.com>
For CPU hotplug, the NET policy subsystem will rebuild the sys map and
object list.
Signed-off-by: Kan Liang <kan.li...@intel.com>
---
net/core/netpolicy.c | 76
1 file changed, 76 inserti
From: Kan Liang <kan.li...@intel.com>
Current implementation forces CPU and queue 1:1 mapping. This patch
introduces the function netpolicy_update_sys_map to create this mapping.
The result is stored in netpolicy_sys_info.
If the CPU count and queue count are different, the remaining
CPUs/
From: Kan Liang <kan.li...@intel.com>
It is a big challenge to get good network performance. First, the network
performance is not good with default system settings. Second, it is too
difficult to do automatic tuning for all possible workloads, since workloads
have different requirements
From: Kan Liang <kan.li...@intel.com>
For setting Rx queues, this patch configure Rx network flow
classification rules to redirect the packets to the assigned queue.
Since we may not get all the information required for rule until the
first packet arrived, it will add the rule after r
From: Kan Liang <kan.li...@intel.com>
The socket/task can only be benefited when it register itself with
specific policy. If it's the first time to register, a record will be
created and inserted into RCU hash table. The record includes ptr,
policy and object information. ptr is the socket/
From: Kan Liang <kan.li...@intel.com>
When the device tries to transmit a packet, netdev_pick_tx is called to
find the available Tx queues. If the net policy is applied, it picks up
the assigned Tx queue from net policy subsystem, and redirect the
traffic to the assigned queue.
Sign
From: Kan Liang <kan.li...@intel.com>
User can write policy name to /proc/net/netpolicy/$DEV/policy to enable
net policy for specific device.
When the policy is enabled, the subsystem automatically disables IRQ
balance and set IRQ affinity. The object list is also generated
accor
From: Kan Liang <kan.li...@intel.com>
The network socket is the most basic unit which control the network
traffic. This patch introduces a new socket option SO_NETPOLICY to
set/get net policy for socket. so that the application can set its own
policy on socket to improve the network perfo
From: Kan Liang <kan.li...@intel.com>
To achieve better network performance, the key step is to distribute the
packets to dedicated queues according to policy and system run time
status.
This patch provides an interface which can return the proper dedicated
queue for socke
From: Kan Liang <kan.li...@intel.com>
User can uses ethtool to set the channel number. This patch handles the
channel changes by rebuilding the object list.
Signed-off-by: Kan Liang <kan.li...@intel.com>
---
include/linux/netpolicy.h | 8
net/core/ethtool.c| 8 +
From: Kan Liang <kan.li...@intel.com>
This patch introduces functions to enable and disable NET policy.
For enabling, it collects device and CPU information, setup CPU/queue
mapping, and set IRQ affinity accordingly.
For disabling, it removes the IRQ affinity and mapping information.
n
From: Kan Liang <kan.li...@intel.com>
Users may not want to change the source code to add per task net polic
support. Or they may want to change a running task's net policy. prctl
does not work for both cases.
This patch adds an interface in /proc, which can be used to set and
retrieve
From: Kan Liang <kan.li...@intel.com>
Usually, application as a whole has specific requirement. Applying the
net policy to all sockets one by one in the application is too complex.
This patch introduces per task net policy to address this case.
Once the per task net policy is applie
From: Kan Liang <kan.li...@intel.com>
NET policy can not fulfill users request without limit, because of the
security consideration and device limitation. For security
consideration, the attacker may fake millions of per task/socket request
to crash the system. For device limitation, th
From: Kan Liang <kan.li...@intel.com>
Current implementation searches the hash table to get assigned object
for each transmit/receive packet. It's not necessory, because the
assigned object usually remain unchanged. This patch store the assigned
queue to speed up the searching process.
But
From: Kan Liang <kan.li...@intel.com>
This patches introduces functions to set and remove IRQ affinity
according to cpu and queue mapping.
The functions will not record the previous affinity status. After a
set/remove cycles, it will set the affinity on all online CPU with IRQ
balance en
From: Kan Liang <kan.li...@intel.com>
Some drivers like i40e driver does not support separate Tx and Rx queues
as channels. Using Rx queue to stand for the channels, if queue_pair is
set by driver.
Signed-off-by: Kan Liang <kan.li...@intel.com>
---
include/linux/netpolicy.h | 1
From: Kan Liang <kan.li...@intel.com>
Introduce three NET policies
CPU policy: configure for higher throughput and lower CPU% (power
saving).
BULK policy: configure for highest throughput.
LATENCY policy: configure for lowest latency.
Signed-off-by: Kan Liang <kan.li...@intel.com>
From: Kan Liang <kan.li...@intel.com>
This patch introduces the concept of NET policy object and policy object
list.
The NET policy object is the instance of CPU/queue mapping. The object
can be shared between different tasks/sockets. So besides CPU and queue
information, the objec
From: Kan Liang <kan.li...@intel.com>
Signed-off-by: Kan Liang <kan.li...@intel.com>
---
Documentation/networking/netpolicy.txt | 157 +
1 file changed, 157 insertions(+)
create mode 100644 Documentation/networking/netpolicy.txt
diff --git a/D
From: Kan Liang <kan.li...@intel.com>
This patch introduce NET policy subsystem. If proc is supported in the
system, it creates netpolicy node in proc system.
Signed-off-by: Kan Liang <kan.li...@intel.com>
---
include/linux/netdevice.h | 7 +++
include/net/net_namespace.h |
From: Kan Liang <kan.li...@intel.com>
Implement ndo_get_irq_info in i40e driver to get irq information of rx
and tx queues.
Signed-off-by: Kan Liang <kan.li...@intel.com>
---
drivers/net/ethernet/intel/i40e/i40e_main.c | 40 +
1 file changed, 40 inserti
From: Kan Liang <kan.li...@intel.com>
This patch tries to initialize NET policy for all the devices in the
system. However, not all device drivers have NET policy support. For
those drivers who does not have NET policy support, the node will not be
showed in /proc/net/netpolicy/.
The
From: Kan Liang <kan.li...@intel.com>
This patch introduces functions to enable and disable net policy.
For enabling, it collects device and cpu information, setup cpu/queue
mapping, and set irq affinity accordingly.
For disabling, it removes the irq affinity and mapping information.
n
From: Kan Liang <kan.li...@intel.com>
This patches introduces functions to set and remove irq affinity
according to cpu and queue mapping.
The functions will not record the previous affinity status. After a
set/remove cycles, it will set the affinity on all online cpu with irq
balance en
From: Kan Liang <kan.li...@intel.com>
Current implementation forces CPU and queue 1:1 mapping. This patch
introduces the function netpolicy_update_sys_map to create this mapping.
The result is stored in netpolicy_sys_info.
If the CPU count and queue count are different, the remaining
CPUs/
From: Kan Liang <kan.li...@intel.com>
Net policy also needs to know CPU information. Currently, online
CPU number is enough.
Signed-off-by: Kan Liang <kan.li...@intel.com>
---
net/core/netpolicy.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/net/core/netpolicy.
From: Kan Liang <kan.li...@intel.com>
Support ndo_netpolicy_init in i40e driver.
For i40e driver, there is no extra initialization work to do. It only
needs to update the available policy bitmap.
policy_param will be filled according to different policies later.
Signed-off-by: Kan Liang &
From: Kan Liang <kan.li...@intel.com>
Support net device up/down/namechange in the netpolicy code.
Signed-off-by: Kan Liang <kan.li...@intel.com>
---
net/core/netpolicy.c | 66 +---
1 file changed, 58 insertions(+), 8 deletions(-)
From: Kan Liang <kan.li...@intel.com>
Net policy needs to know device information. Currently, it's enough to
only get irq information of rx and tx queues. This patch
introduces ndo_get_irq_info to do so.
Signed-off-by: Kan Liang <kan.li...@intel.com>
---
include/linux/netd
From: Kan Liang <kan.li...@intel.com>
Introduce three net policies for i40e driver.
CPU policy: configure for higher throughput and lower CPU%.
BULK policy: configure for highest throughput.
LATENCY policy: configure for lowest latency.
Lots of tests are done for net policy on pla
From: Kan Liang <kan.li...@intel.com>
It is a big challenge to get good network performance. First, the network
performance is not good with default system settings. Second, it is too
difficult to do automatic tuning for all possible workloads, since workloads
have different requirements
From: Kan Liang <kan.li...@intel.com>
User can write policy name to /proc/net/netpolicy/$DEV/policy to enable
net policy for specific device.
When the policy is enabled, the module automatically disables irq
balance and set irq affinity. The object list is also generated
accordingly.
n
From: Kan Liang <kan.li...@intel.com>
For CPU hotplug, the net policy module will rebuild the sys map and
object list.
Signed-off-by: Kan Liang <kan.li...@intel.com>
---
net/core/netpolicy.c | 78
1 file changed, 78 insertions(+)
From: Kan Liang <kan.li...@intel.com>
Enable i40e MIX policy support. Based on the test, the MIX policy has
better performance if increasing rx interrupt moderation a little bit.
For evaluating the MIX policy performance, mixed workloads are tested.
The mixed workloads are combi
From: Kan Liang <kan.li...@intel.com>
User can uses ethtool to set the channel number. This patch handles the
channel changes by rebuilding the object list.
Signed-off-by: Kan Liang <kan.li...@intel.com>
---
include/linux/netpolicy.h | 8
net/core/ethtool.c| 8 +
From: Kan Liang <kan.li...@intel.com>
When the device tries to transmit a buffer, netdev_pick_tx is called to
find the available tx queues. This patch checks the per socket net
policy of the binding socket of the buffer. If net policy is set, it
picks up the assigned tx queue from net
From: Kan Liang <kan.li...@intel.com>
Users may not want to change the source code to add per task net polic
support. Or they may want to change a running task's net policy. prctl
does not work for both cases.
This patch adds an interface in /proc, which can be used to set and
retrieve
From: Kan Liang <kan.li...@intel.com>
MIX policy is combine of other policies. It allows different queue has
different policy. If MIX policy is applied,
/proc/net/netpolicy/$DEV/policy shows per queue policy.
Usually, the workloads requires either high throughput or low latency.
So for c
From: Kan Liang <kan.li...@intel.com>
This patch introduces the concept of netpolicy object and policy object
list.
The netpolicy object is the instance of CPU/queue mapping. The object
can be shared between different tasks/sockets. So besides CPU and queue
information, the object also mai
From: Kan Liang <kan.li...@intel.com>
For setting rx queues, this patch add rules for Flow Director filters.
Since we may not get all the information required for rule until the
first package arrived, it will add the rule after recvmsg. The first
several packages may not use the assigned
1 - 100 of 176 matches
Mail list logo