OSDN Git Service

i40e: disable packet split
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Wed, 18 Dec 2013 13:45:54 +0000 (13:45 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 9 Jan 2014 10:27:28 +0000 (02:27 -0800)
The driver and hardware support splitting packets on headers
but with the use of GRO we don't need the extra bus
overhead, so make this driver more like igb and ixgbe and
disable packet split.

Change-ID: Id42f2c3736baa9d5bdfe1f72d64226e7d8ebd737
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c

index 5cdc67c..beb90e9 100644 (file)
@@ -5817,7 +5817,6 @@ static int i40e_sw_init(struct i40e_pf *pf)
        pf->flags = I40E_FLAG_RX_CSUM_ENABLED |
                    I40E_FLAG_MSI_ENABLED     |
                    I40E_FLAG_MSIX_ENABLED    |
-                   I40E_FLAG_RX_PS_ENABLED   |
                    I40E_FLAG_RX_1BUF_ENABLED;
 
        /* Depending on PF configurations, it is possible that the RSS