]> git.baikalelectronics.ru Git - kernel.git/commit
vdpa/mlx5: Make use of a specific 16 bit endianness API
authorEli Cohen <elic@nvidia.com>
Thu, 17 Sep 2020 12:14:25 +0000 (15:14 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 21 Oct 2020 14:34:06 +0000 (10:34 -0400)
commit11f147aaad7bc960d6fef6f98d758c5c438a5468
tree2c5710f17c84b23455cbcf8952bec869fdbeada2
parent84f4a9652c8a9177dded2c36fe1349fabea25124
vdpa/mlx5: Make use of a specific 16 bit endianness API

Introduce a dedicated function to be used for setting 16 bit fields per
virio endianness requirements and use it to set the mtu field.

Signed-off-by: Eli Cohen <elic@nvidia.com>
Link: https://lore.kernel.org/r/20200917121425.GA98139@mtl-vdi-166.wap.labs.mlnx
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
drivers/vdpa/mlx5/net/mlx5_vnet.c