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
@ -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