Revert "ice: fix ICE_LAST_OFFSET formula"
This reverts commit 9a98cb967c
.
This commit is contained in:
parent
091e8249c6
commit
5036a90d21
1 changed files with 1 additions and 1 deletions
|
@ -786,7 +786,7 @@ ice_can_reuse_rx_page(struct ice_rx_buf *rx_buf, int rx_buf_pgcnt)
|
|||
return false;
|
||||
#else
|
||||
#define ICE_LAST_OFFSET \
|
||||
(SKB_WITH_OVERHEAD(PAGE_SIZE) - ICE_RXBUF_3072)
|
||||
(SKB_WITH_OVERHEAD(PAGE_SIZE) - ICE_RXBUF_2048)
|
||||
if (rx_buf->page_offset > ICE_LAST_OFFSET)
|
||||
return false;
|
||||
#endif /* PAGE_SIZE < 8192) */
|
||||
|
|
Loading…
Add table
Reference in a new issue