* Notify buffer model that an attempt to write to the store buffer has * resulted in a dropped packet, in which case the buffer may be considered * full. */
| 463 | * full. |
| 464 | */ |
| 465 | static void |
| 466 | bpf_buffull(struct bpf_d *d) |
| 467 | { |
| 468 | |
| 469 | BPFD_LOCK_ASSERT(d); |
| 470 | |
| 471 | switch (d->bd_bufmode) { |
| 472 | case BPF_BUFMODE_ZBUF: |
| 473 | bpf_zerocopy_buffull(d); |
| 474 | break; |
| 475 | } |
| 476 | } |
| 477 | |
| 478 | /* |
| 479 | * Notify the buffer model that a buffer has moved into the hold position. |
no test coverage detected