[Intel-wired-lan] [next PATCH S63 5/6] i40e/i40evf: Add legacy-rx private flag to allow fallback to old Rx flow
Bowers, AndrewX
andrewx.bowers at intel.com
Tue Mar 21 16:45:00 UTC 2017
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Alexander Duyck
> Sent: Friday, March 17, 2017 8:58 AM
> To: Pujari, Bimmy <bimmy.pujari at intel.com>
> Cc: intel-wired-lan <intel-wired-lan at lists.osuosl.org>
> Subject: Re: [Intel-wired-lan] [next PATCH S63 5/6] i40e/i40evf: Add legacy-rx
> private flag to allow fallback to old Rx flow
>
> On Tue, Mar 14, 2017 at 10:15 AM, Bimmy Pujari <bimmy.pujari at intel.com>
> wrote:
> > From: Alexander Duyck <alexander.h.duyck at intel.com>
> >
> > This patch adds a control which will allow us to toggle into and out
> > of the legacy Rx mode. The legacy Rx mode is what we currently do
> > when performing Rx. As I make further changes what should happen is
> > that the driver will fall back to the behavior for Rx as of this patch should
> the "legacy-rx"
> > flag be set to on.
> >
> > Signed-off-by: Alexander Duyck <alexander.h.duyck at intel.com>
> > Change-ID: I0342998849bbb31351cce05f6e182c99174e7751
> > ---
> > Testing Hints:
> > This flag should not appear on kernels prior to 4.10.
> > On kernels 4.10 and later the "legacy-rx" flag should appear
> > and can be toggled between on and off. As we add more features the
> > behavior of the driver should change when this value is toggled.
> >
> > Toggling this for now will only cause a reset of the interface.
> >
> > For the VF we are specifically replacing the define that was
> > stripping the code for the flag needed for the "legacy-rx" flag
> > since it doesn't make sense to have the interface defined when
> > there are no flags present. In the case of a kernel build the
> > #ifdefs should be stripped and the code will remain.
> >
> > drivers/net/ethernet/intel/i40e/i40e.h | 1 +
> > drivers/net/ethernet/intel/i40e/i40e_ethtool.c | 5 +-
> > drivers/net/ethernet/intel/i40evf/i40evf.h | 2 +
> > drivers/net/ethernet/intel/i40evf/i40evf_ethtool.c | 104
> > +++++++++++++++++++++
> > 4 files changed, 111 insertions(+), 1 deletion(-)
Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
More information about the Intel-wired-lan
mailing list