[Intel-wired-lan] [PATCH] ixgbe: prevent driver configuration changes while XDP is loaded

Bowers, AndrewX andrewx.bowers at intel.com
Tue Jun 6 16:39:34 UTC 2017


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of John Fastabend
> Sent: Monday, May 1, 2017 10:07 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH] ixgbe: prevent driver configuration
> changes while XDP is loaded
> 
> XDP checks to ensure the MTU is valid and LRO is disabled when it is loaded.
> But user configuration after XDP is loaded could change these and cause a
> misconfiguration.
> 
> This patch adds checks to ensure config changes are valid.
> 
> Signed-off-by: John Fastabend <john.r.fastabend at intel.com>
> ---
>  drivers/net/ethernet/intel/ixgbe/ixgbe_main.c |   17 +++++++++++++++++
>  1 file changed, 17 insertions(+)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list