The branch stable/13 has been updated by np:

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

commit df667b59d76fefc9fafa3a02ed162c58e6aa5199
Author:     Navdeep Parhar <[email protected]>
AuthorDate: 2021-06-04 20:30:28 +0000
Commit:     Navdeep Parhar <[email protected]>
CommitDate: 2021-10-20 17:29:45 +0000

    cxgb(4): Report proper TSO limits.
    
    Sponsored by:   Chelsio Communications
    
    (cherry picked from commit f13d72fd0b743a1fd97dd31f4abf19e8814c420b)
---
 sys/dev/cxgb/cxgb_main.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys/dev/cxgb/cxgb_main.c b/sys/dev/cxgb/cxgb_main.c
index ab835b0c1853..5c0bdd569fab 100644
--- a/sys/dev/cxgb/cxgb_main.c
+++ b/sys/dev/cxgb/cxgb_main.c
@@ -1042,6 +1042,9 @@ cxgb_port_attach(device_t dev)
        ifp->if_capenable = CXGB_CAP_ENABLE;
        ifp->if_hwassist = CSUM_TCP | CSUM_UDP | CSUM_IP | CSUM_TSO |
            CSUM_UDP_IPV6 | CSUM_TCP_IPV6;
+       ifp->if_hw_tsomax = IP_MAXPACKET;
+       ifp->if_hw_tsomaxsegcount = 36;
+       ifp->if_hw_tsomaxsegsize = 65536;
 
        /*
         * Disable TSO on 4-port - it isn't supported by the firmware.

Reply via email to