Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/ixgbe/if_ixv.c
Show First 20 Lines • Show All 623 Lines • ▼ Show 20 Lines | if (error) { | ||||
return; | return; | ||||
} | } | ||||
ixv_initialize_transmit_units(ctx); | ixv_initialize_transmit_units(ctx); | ||||
/* Setup Multicast table */ | /* Setup Multicast table */ | ||||
ixv_if_multi_set(ctx); | ixv_if_multi_set(ctx); | ||||
/* | adapter->rx_mbuf_sz = iflib_get_rx_mbuf_sz(ctx); | ||||
* Determine the correct mbuf pool | |||||
* for doing jumbo/headersplit | |||||
*/ | |||||
if (ifp->if_mtu > ETHERMTU) | |||||
adapter->rx_mbuf_sz = MJUMPAGESIZE; | |||||
else | |||||
adapter->rx_mbuf_sz = MCLBYTES; | |||||
/* Configure RX settings */ | /* Configure RX settings */ | ||||
ixv_initialize_receive_units(ctx); | ixv_initialize_receive_units(ctx); | ||||
/* Set up VLAN offload and filter */ | /* Set up VLAN offload and filter */ | ||||
ixv_setup_vlan_support(ctx); | ixv_setup_vlan_support(ctx); | ||||
/* Set up MSI-X routing */ | /* Set up MSI-X routing */ | ||||
▲ Show 20 Lines • Show All 1,287 Lines • Show Last 20 Lines |