diff options
author | Björn Töpel <bjorn.topel@intel.com> | 2018-09-07 10:18:45 +0200 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2018-09-25 13:10:24 -0700 |
commit | 9dbb137045774f66d036ce3bcdd3f36b9401f8d4 (patch) | |
tree | d91c499d61aed51320f436891ace5a4c09867f73 /net/xdp/xsk_queue.c | |
parent | 679b05c0536b18b4729b5272c50116d0315dc5bc (diff) | |
download | linux-9dbb137045774f66d036ce3bcdd3f36b9401f8d4.tar.bz2 |
i40e: clean zero-copy XDP Tx ring on shutdown/reset
When the zero-copy enabled XDP Tx ring is torn down, due to
configuration changes, outstanding frames on the hardware descriptor
ring are queued on the completion ring.
The completion ring has a back-pressure mechanism that will guarantee
that there is sufficient space on the ring.
Signed-off-by: Björn Töpel <bjorn.topel@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'net/xdp/xsk_queue.c')
0 files changed, 0 insertions, 0 deletions