summaryrefslogtreecommitdiff
path: root/include/net/aligned_data.h
diff options
context:
space:
mode:
authorJoshua Hay <joshua.a.hay@intel.com>2025-12-15 13:42:46 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-01-08 10:15:03 +0100
commita7a7bff258e1f5aee2bb95ebbc12bbd6533dd1e7 (patch)
tree779c5f750d7907e694de32c1d501a026e737897a /include/net/aligned_data.h
parente3e11c9db16584aeecf9b205bf7dd2cc1b7bf7f1 (diff)
idpf: stop Tx if there are insufficient buffer resources
[ Upstream commit 0c3f135e840d4a2ba4253e15d530ec61bc30718e ] The Tx refillq logic will cause packets to be silently dropped if there are not enough buffer resources available to send a packet in flow scheduling mode. Instead, determine how many buffers are needed along with number of descriptors. Make sure there are enough of both resources to send the packet, and stop the queue if not. Fixes: 7292af042bcf ("idpf: fix a race in txq wakeup") Signed-off-by: Joshua Hay <joshua.a.hay@intel.com> Reviewed-by: Madhu Chittim <madhu.chittim@intel.com> Tested-by: Samuel Salin <Samuel.salin@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions