Make LRO as default feature Signed-off-by: Faisal Latif <faisal.la...@intel.com>
--- kernel_patches/fixes/nes_0340_lro_default.patch | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) create mode 100644 kernel_patches/fixes/nes_0340_lro_default.patch diff --git a/kernel_patches/fixes/nes_0340_lro_default.patch b/kernel_patches/fixes/nes_0340_lro_default.patch new file mode 100644 index 0000000..cebd7bf --- /dev/null +++ b/kernel_patches/fixes/nes_0340_lro_default.patch @@ -0,0 +1,15 @@ +diff --git a/drivers/infiniband/hw/nes/nes_nic.c b/drivers/infiniband/hw/nes/nes_nic.c +index ef13030..0f6fbe7 100644 +--- a/drivers/infiniband/hw/nes/nes_nic.c ++++ b/drivers/infiniband/hw/nes/nes_nic.c +@@ -1601,6 +1601,7 @@ struct net_device *nes_netdev_init(struct nes_device *nesdev, + netif_napi_add(netdev, &nesvnic->napi, nes_netdev_poll, 128); + nes_debug(NES_DBG_INIT, "Enabling VLAN Insert/Delete.\n"); + netdev->features |= NETIF_F_HW_VLAN_TX | NETIF_F_HW_VLAN_RX; ++ netdev->features |= NETIF_F_LRO; + netdev->vlan_rx_register = nes_netdev_vlan_rx_register; + + /* Fill in the port structure */ +-- +1.5.3.3 + -- 1.6.0 _______________________________________________ ewg mailing list ewg@lists.openfabrics.org http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg