commit | 5d7c64a70fa15aef903469b05ca664f7cd17d769 | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <jakub.kicinski@netronome.com> | Tue Jun 27 00:50:22 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Jun 27 15:48:48 2017 -0400 |
tree | 2e34392f775b6d12855c527918333368a3bd83f0 | |
parent | 3238b250b7624a20756667032648263eb3dc1521 [diff] |
nfp: move representors' struct net_device_ops to shared code Apps shouldn't declare their own struct net_device_ops for representors, this makes sharing code harder. Add necessary nfp_app callbacks and move the definition of representors' struct net_device_ops to common code. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>