svn commit: r358981 - stable/12/sys/dev/cxgbe

Navdeep Parhar np at FreeBSD.org
Sat Mar 14 01:59:41 UTC 2020


Author: np
Date: Sat Mar 14 01:59:39 2020
New Revision: 358981
URL: https://svnweb.freebsd.org/changeset/base/358981

Log:
  MFC r357551:
  
  cxgbe(4): Report accurate rx_buf_maxsize to netmap.
  
  Sponsored by:	Chelsio Communications

Modified:
  stable/12/sys/dev/cxgbe/t4_netmap.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/dev/cxgbe/t4_netmap.c
==============================================================================
--- stable/12/sys/dev/cxgbe/t4_netmap.c	Sat Mar 14 01:53:58 2020	(r358980)
+++ stable/12/sys/dev/cxgbe/t4_netmap.c	Sat Mar 14 01:59:39 2020	(r358981)
@@ -991,6 +991,7 @@ cxgbe_nm_attach(struct vi_info *vi)
 	na.nm_register = cxgbe_netmap_reg;
 	na.num_tx_rings = vi->nnmtxq;
 	na.num_rx_rings = vi->nnmrxq;
+	na.rx_buf_maxsize = MAX_MTU;
 	netmap_attach(&na);	/* This adds IFCAP_NETMAP to if_capabilities */
 }
 


More information about the svn-src-stable mailing list