|
@@ -369,6 +369,8 @@ static netdev_tx_t mlx5e_sq_xmit(struct mlx5e_txqsq *sq, struct sk_buff *skb,
|
|
ds_cnt += DIV_ROUND_UP(ihs - sizeof(eseg->inline_hdr.start), MLX5_SEND_WQE_DS);
|
|
ds_cnt += DIV_ROUND_UP(ihs - sizeof(eseg->inline_hdr.start), MLX5_SEND_WQE_DS);
|
|
} else if (skb_vlan_tag_present(skb)) {
|
|
} else if (skb_vlan_tag_present(skb)) {
|
|
eseg->insert.type = cpu_to_be16(MLX5_ETH_WQE_INSERT_VLAN);
|
|
eseg->insert.type = cpu_to_be16(MLX5_ETH_WQE_INSERT_VLAN);
|
|
|
|
+ if (skb->vlan_proto == cpu_to_be16(ETH_P_8021AD))
|
|
|
|
+ eseg->insert.type |= cpu_to_be16(MLX5_ETH_WQE_SVLAN);
|
|
eseg->insert.vlan_tci = cpu_to_be16(skb_vlan_tag_get(skb));
|
|
eseg->insert.vlan_tci = cpu_to_be16(skb_vlan_tag_get(skb));
|
|
}
|
|
}
|
|
|
|
|