aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ntb_netdev.c
diff options
context:
space:
mode:
authorJon Mason <jon.mason@intel.com>2013-01-19 02:02:27 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-20 15:45:52 -0800
commit448c6fb3a39bf4d0b644f5b942b7aa9473b0f597 (patch)
tree4575fcc4198203712ac08eb7f4c9f66f49828754 /drivers/net/ntb_netdev.c
parentNTB: Remove reads across NTB (diff)
downloadlinux-dev-448c6fb3a39bf4d0b644f5b942b7aa9473b0f597.tar.xz
linux-dev-448c6fb3a39bf4d0b644f5b942b7aa9473b0f597.zip
NTB: Out of free receive entries issue
If the NTB client driver enqueues the maximum number of rx buffers, it will not be able to re-enqueue another in its callback handler due to a lack of free entries. This can be avoided by adding the current entry to the free queue prior to calling the client callback handler. With this change, ntb_netdev will no longer encounter a rx error on its first packet. Signed-off-by: Jon Mason <jon.mason@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/ntb_netdev.c')
0 files changed, 0 insertions, 0 deletions