nfp: flower: app should use struct nfp_repr
authorJohn Hurley <john.hurley@netronome.com>
Thu, 2 Nov 2017 08:31:29 +0000 (01:31 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Nov 2017 11:27:11 +0000 (20:27 +0900)
commit2df7b2d20622f98bca2f001bb0e8d8bee01782ac
tree012f17c0e66bd0856c9f71ee029dcff2a973eff5
parentcdc89c91987bd6efa962b36d4ea86d0c9152eb11
nfp: flower: app should use struct nfp_repr

Ensure priv netdev data in flower app is cast to nfp_repr and not nfp_net
as in other apps.

Fixes: 363fc53b8b58 ("nfp: flower: Convert ndo_setup_tc offloads to block callbacks")
Signed-off-by: John Hurley <john.hurley@netronome.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/flower/offload.c