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)
commit1dbd0d373ac338903d27fab5204b13122cc5accd
treee45e65d85d123d8eb76c77d279527913235cfa43
parent6c3b4f90861c7ed59d0287b0ff7f2623f9d93d73
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: e3a2b7ed018e ('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