Skip to content

Commit fc43382

Browse files
author
Saeed Mahameed
committed
net/mlx5e: Ethtool steering, fix udp source port value
Copy and paste bug was introduced in the offending patch. We need to write udp source port value into the headers value and not headers criteria "mask". Fixes: 142644f ("net/mlx5e: Ethtool steering flow parsing refactoring") Signed-off-by: Saeed Mahameed <[email protected]>
1 parent 47bc94b commit fc43382

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ set_udp(void *headers_c, void *headers_v, __be16 psrc_m, __be16 psrc_v,
191191
{
192192
if (psrc_m) {
193193
MLX5E_FTE_SET(headers_c, udp_sport, 0xffff);
194-
MLX5E_FTE_SET(headers_c, udp_sport, ntohs(psrc_v));
194+
MLX5E_FTE_SET(headers_v, udp_sport, ntohs(psrc_v));
195195
}
196196

197197
if (pdst_m) {

0 commit comments

Comments
 (0)