[dpdk-dev] [PATCH v3 1/2] net/ixgbe: do not start on unsupported loopback mode
Zhang, Qi Z
qi.z.zhang at intel.com
Fri Mar 1 08:45:00 CET 2019
> -----Original Message-----
> From: Julien Meunier [mailto:julien.meunier at nokia.com]
> Sent: Thursday, February 21, 2019 5:05 AM
> To: Zhao1, Wei <wei.zhao1 at intel.com>; Zhang, Qi Z <qi.z.zhang at intel.com>; Lu,
> Wenzhuo <wenzhuo.lu at intel.com>; Ananyev, Konstantin
> <konstantin.ananyev at intel.com>
> Cc: dev at dpdk.org
> Subject: [PATCH v3 1/2] net/ixgbe: do not start on unsupported loopback mode
>
> Only TX->RX loopback is supported currently on 82599EB. If a user wants to apply
> an another loopback configuration (!= IXGBE_LPBK_82599_TX_RX), ixgbe PMD
> ignores it and continues the configuration without raising any error.
>
> Let's robustify this part by checking if the requested loopback mode is correct for
> the current device, before starting it. If it is not valid, PMD will refuse to start.
>
> Signed-off-by: Julien Meunier <julien.meunier at nokia.com>
Acked-by: Wei Zhao <wei.zhao1 at intel.com>
Applied to dpdk-next-net-intel.
Thanks
Qi
More information about the dev
mailing list