[U-Boot] [PATCH V2] net: NFS: Add NFSv3 support

Tom Rini trini at konsulko.com
Thu Jun 23 21:08:26 CEST 2016


On Thu, Jun 23, 2016 at 11:10:26AM +0200, Guillaume GARDET wrote:

> This patch enables NFSv3 support.
> If NFSv2 is available use it as usual.
> If NFSv2 is not available, but NFSv3 is available, use NFSv3.
> If NFSv2 and NFSv3 are not available, print an error message since NFSv4 is not supported.
> 
> Tested on iMX6 sabrelite with 4 Linux NFS servers:
>   * NFSv2 + NFSv3 + NFSv4 server: use NFSv2 protocol
>   * NFSv2 + NFSv3 server: use NFSv3 protocol
>   * NFSv3 + NFSv4 server: use NFSv3 protocol
>   * NFSv3 server: use NFSv3 protocol

So, why do we have v2+v3+v4 -> v2 and not v2+v3+v4 -> v3, when we do
v2+v3 -> v3 and v3+v4 -> v3 ?  We should be consistent in preferring
either v2 over v3 or v3 over v2.  Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160623/51f14073/attachment.sig>


More information about the U-Boot mailing list