Commit 39e91cfb authored by Haiyang Zhang's avatar Haiyang Zhang Committed by David S. Miller

hv_netvsc: Rename tx_send_table to tx_table

Simplify the variable name: tx_send_table
Signed-off-by: default avatarHaiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 47371300
...@@ -731,7 +731,7 @@ struct net_device_context { ...@@ -731,7 +731,7 @@ struct net_device_context {
u32 tx_checksum_mask; u32 tx_checksum_mask;
u32 tx_send_table[VRSS_SEND_TAB_SIZE]; u32 tx_table[VRSS_SEND_TAB_SIZE];
/* Ethtool settings */ /* Ethtool settings */
u8 duplex; u8 duplex;
......
...@@ -1110,7 +1110,7 @@ static void netvsc_send_table(struct hv_device *hdev, ...@@ -1110,7 +1110,7 @@ static void netvsc_send_table(struct hv_device *hdev,
nvmsg->msg.v5_msg.send_table.offset); nvmsg->msg.v5_msg.send_table.offset);
for (i = 0; i < count; i++) for (i = 0; i < count; i++)
net_device_ctx->tx_send_table[i] = tab[i]; net_device_ctx->tx_table[i] = tab[i];
} }
static void netvsc_send_vf(struct net_device_context *net_device_ctx, static void netvsc_send_vf(struct net_device_context *net_device_ctx,
......
...@@ -252,7 +252,7 @@ static inline int netvsc_get_tx_queue(struct net_device *ndev, ...@@ -252,7 +252,7 @@ static inline int netvsc_get_tx_queue(struct net_device *ndev,
struct sock *sk = skb->sk; struct sock *sk = skb->sk;
int q_idx; int q_idx;
q_idx = ndc->tx_send_table[netvsc_get_hash(skb, ndc) & q_idx = ndc->tx_table[netvsc_get_hash(skb, ndc) &
(VRSS_SEND_TAB_SIZE - 1)]; (VRSS_SEND_TAB_SIZE - 1)];
/* If queue index changed record the new value */ /* If queue index changed record the new value */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment