Displaying 1 result from an estimated 1 matches for "c6b9ec47e51d".
2020 Aug 10
0
[PATCH] vdpa/mlx5: fix up endian-ness for mtu
...te code, and this is not data path anyway.
Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
---
drivers/vdpa/mlx5/net/mlx5_vnet.c | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/drivers/vdpa/mlx5/net/mlx5_vnet.c b/drivers/vdpa/mlx5/net/mlx5_vnet.c
index c6b9ec47e51d..9df69d5efe8c 100644
--- a/drivers/vdpa/mlx5/net/mlx5_vnet.c
+++ b/drivers/vdpa/mlx5/net/mlx5_vnet.c
@@ -137,6 +137,7 @@ struct mlx5_vdpa_net {
struct mlx5_fc *rx_counter;
struct mlx5_flow_handle *rx_rule;
bool setup;
+ u16 mtu;
};
static void free_resources(struct mlx5_vdpa_net *ndev);
@...