git: 21b778fbeb93 - main - cxgbe(4): Remove dead code.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 30 Mar 2023 21:16:09 UTC
The branch main has been updated by np: URL: https://cgit.FreeBSD.org/src/commit/?id=21b778fbeb93d4b6a1e426cceb3b4d2c7e6e3dac commit 21b778fbeb93d4b6a1e426cceb3b4d2c7e6e3dac Author: Navdeep Parhar <np@FreeBSD.org> AuthorDate: 2023-03-30 18:43:43 +0000 Commit: Navdeep Parhar <np@FreeBSD.org> CommitDate: 2023-03-30 21:13:07 +0000 cxgbe(4): Remove dead code. Fixes: e7e084442227 cxgbe(4): Replace T4_PKT_TIMESTAMP with something slightly less hackish. MFC after: 1 week Sponsored by: Chelsio Communications --- sys/dev/cxgbe/t4_sge.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sys/dev/cxgbe/t4_sge.c b/sys/dev/cxgbe/t4_sge.c index 89d8f1b0462a..af76262fc197 100644 --- a/sys/dev/cxgbe/t4_sge.c +++ b/sys/dev/cxgbe/t4_sge.c @@ -81,11 +81,7 @@ __FBSDID("$FreeBSD$"); #include "t4_l2t.h" #include "t4_mp_ring.h" -#ifdef T4_PKT_TIMESTAMP -#define RX_COPY_THRESHOLD (MINCLSIZE - 8) -#else #define RX_COPY_THRESHOLD MINCLSIZE -#endif /* * Ethernet frames are DMA'd at this byte offset into the freelist buffer.