linux/drivers/net/ethernet/intel/i40evf
Alexander Duyck dab86afdbb i40e/i40evf: Change the way we limit the maximum frame size for Rx
This patch changes the way we handle the maximum frame size for the Rx
path.  Previously we were rounding up to 2K for a 1500 MTU and then brining
the max frame size down to MTU plus a fixed amount.  With this patch
applied what we now do is limit the maximum frame to 1.5K minus the value
for NET_IP_ALIGN for standard MTU, and for any MTU greater than 1500 we
allow up to the maximum frame size.  This makes the behavior more
consistent with the other drivers such as igb which had similar logic.  In
addition it reduces the test matrix for MTU since we only have two max
frame sizes that are handled for Rx now.

Change-ID: I23a9d3c857e7df04b0ef28c64df63e659c013f3f
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2017-03-29 02:15:07 -07:00
..
i40e_adminq_cmd.h i40e: fix up recent proxy and wol bits for X722_SUPPORT 2017-03-14 17:52:32 -07:00
i40e_adminq.c i40e: Implementation of ERROR state for NVM update state machine 2016-10-31 14:26:40 -07:00
i40e_adminq.h i40e: Move NVM variable out of AQ struct 2016-04-06 18:45:11 -07:00
i40e_alloc.h
i40e_common.c i40e: use register for XL722 control register read/write 2017-03-29 02:15:06 -07:00
i40e_devids.h i40e: Remove FPK HyperV VF device ID 2017-02-02 22:41:40 -08:00
i40e_hmc.h
i40e_lan_hmc.h
i40e_osdep.h
i40e_prototype.h i40e: Add functions which apply correct PHY access method for read and write operation 2016-12-06 21:09:39 -08:00
i40e_register.h
i40e_status.h
i40e_txrx.c i40e/i40evf: Break i40e_fetch_rx_buffer up to allow for reuse of frag code 2017-03-29 02:15:06 -07:00
i40e_txrx.h i40e/i40evf: Change the way we limit the maximum frame size for Rx 2017-03-29 02:15:07 -07:00
i40e_type.h i40e: Save link FEC info from link up event 2017-02-11 20:39:01 -08:00
i40e_virtchnl.h i40evf: add client interface 2017-03-15 01:31:38 -07:00
i40evf_client.c i40evf: dereference VSI after VSI has been null checked 2017-03-27 16:47:44 -07:00
i40evf_client.h i40evf: add client interface 2017-03-15 01:31:38 -07:00
i40evf_ethtool.c i40e/i40evf: Add legacy-rx private flag to allow fallback to old Rx flow 2017-03-29 02:15:06 -07:00
i40evf_main.c i40e/i40evf: Change the way we limit the maximum frame size for Rx 2017-03-29 02:15:07 -07:00
i40evf_virtchnl.c i40e/i40evf: Change the way we limit the maximum frame size for Rx 2017-03-29 02:15:07 -07:00
i40evf.h i40e/i40evf: Change the way we limit the maximum frame size for Rx 2017-03-29 02:15:07 -07:00
Makefile i40evf: add client interface 2017-03-15 01:31:38 -07:00