Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jan 2024 05:34:25 GMT
From:      Navdeep Parhar <np@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 3368fcf147a7 - stable/13 - cxgbe(4): Remove dead code.
Message-ID:  <202401110534.40B5YPF9009714@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by np:

URL: https://cgit.FreeBSD.org/src/commit/?id=3368fcf147a7190018eb342dae90490915d9d219

commit 3368fcf147a7190018eb342dae90490915d9d219
Author:     Navdeep Parhar <np@FreeBSD.org>
AuthorDate: 2023-03-30 18:43:43 +0000
Commit:     Navdeep Parhar <np@FreeBSD.org>
CommitDate: 2024-01-11 05:06:58 +0000

    cxgbe(4): Remove dead code.
    
    Fixes:  e7e084442227 cxgbe(4): Replace T4_PKT_TIMESTAMP with something slightly less hackish.
    Sponsored by:   Chelsio Communications
    
    (cherry picked from commit 21b778fbeb93d4b6a1e426cceb3b4d2c7e6e3dac)
---
 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 40fb54b4eecf..3e15e1507f68 100644
--- a/sys/dev/cxgbe/t4_sge.c
+++ b/sys/dev/cxgbe/t4_sge.c
@@ -78,11 +78,7 @@
 #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
 
 /* Internal mbuf flags stored in PH_loc.eight[1]. */
 #define	MC_NOMAP		0x01



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401110534.40B5YPF9009714>