cxgbe(4): Report accurate rx_buf_maxsize to netmap.
MFC after: 2 weeks Sponsored by: Chelsio Communications
This commit is contained in:
parent
33e5a1ea3b
commit
3479fe20e2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=357551
@ -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 */
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user