summaryrefslogtreecommitdiff
path: root/net/9p
diff options
context:
space:
mode:
authorSowmini Varadhan <sowmini.varadhan@oracle.com>2014-10-25 23:12:12 +0400
committerDavid S. Miller <davem@davemloft.net>2014-10-26 00:20:15 +0400
commit69088822abe7a09145fc86e1d5dd4996e29abc2d (patch)
tree8a9d646a416fc472c68bc7e9c2c67727547f357a /net/9p
parent132fb57984e4f4d49c79b2f0749236fe277de1f8 (diff)
downloadlinux-69088822abe7a09145fc86e1d5dd4996e29abc2d.tar.xz
sunvnet: NAPIfy sunvnet
Move Rx packet procssing to the NAPI poll callback. Disable VIO interrupt and unconditioanlly go into NAPI context from vnet_event. Note that we want to minimize the number of LDC STOP/START messages sent. Specifically, do not send a STOP message if vnet_walk_rx does not read all the available descriptors because of the NAPI budget limitation. Instead, note the end index as part of port state, and resume from this index when the next poll callback is triggered. Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com> Acked-by: Raghuram Kothakota <raghuram.kothakota@oracle.com> Acked-by: Dwight Engen <dwight.engen@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/9p')
0 files changed, 0 insertions, 0 deletions