]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Use correct flow dissector key on flower offloading
authorHadar Hen Zion <hadarh@mellanox.com>
Thu, 18 Aug 2016 18:09:07 +0000 (21:09 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Aug 2016 23:09:56 +0000 (16:09 -0700)
commitaa742602f373984961cd4aa6f324e806aaec06f8
treee45e65d85d123d8eb76c77d279527913235cfa43
parent6c69b1ef63734cbdccaa1793001facfeae0f88f3
net/mlx5e: Use correct flow dissector key on flower offloading

The wrong key is used when extracting the address type field set by
the flower offload code. We have to use the control key and not the
basic key, fix that.

Fixes: 227a1b191ecc ('net/mlx5e: Support offload cls_flower with drop action')
Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c