summaryrefslogtreecommitdiffstats
path: root/net/dsa/slave.c
diff options
context:
space:
mode:
authorDavid S. Miller2017-05-22 20:59:07 +0200
committerDavid S. Miller2017-05-22 20:59:07 +0200
commit0172397e2fcc29dc803c7d0b22aa2a25e4b02991 (patch)
tree93b886c2f25aa4b3e8fb6d9878bd1658ceafecf3 /net/dsa/slave.c
parentbridge: fix hello and hold timers starting/stopping (diff)
parentnfp: refresh port state before reporting autonegotiation (diff)
downloadkernel-qcow2-linux-0172397e2fcc29dc803c7d0b22aa2a25e4b02991.tar.gz
kernel-qcow2-linux-0172397e2fcc29dc803c7d0b22aa2a25e4b02991.tar.xz
kernel-qcow2-linux-0172397e2fcc29dc803c7d0b22aa2a25e4b02991.zip
Merge branch 'nfp-introduce-nfp_port-and-nfp_app'
Jakub Kicinski says: ==================== nfp: introduce nfp_port and nfp_app This series builds foundation for upcoming development. So far the nfp driver was focused on delivering basic NIC-like functionality. We want to switch gears a bit going forward and support more advanced applications. First few patches are naming clean ups and reshuffling. The two main structures this series adds are nfp_port and nfp_app. nfp_port represents a device port, where port can mean external port, VF or PF. For now only external port/MAC/PHY port is added. nfp_port is supposed to make it easy to share ethtool and devlink code regardless of netdev type (full vNIC vs representors). nfp_app is an abstraction which should allow easier development of new applications. So far we have relied fully on port capabilities to detect which offloads and features are available. The usual development model for NFP is that people start with one of our "core NIC" FW apps (C one, or a macro assembler one) and build advanced functionality on top of that. Therefore basic netdev code is shared, but the higher-level logic is usually more project specific. The higher-level logic is also per-adapter rather than per-port, so creating per-adapter control entity makes sense. Hopefully the separation of lower-level netdev code and application logic will help us limit interdependencies and accelerate parallel projects (e.g. TC flower offloads vs eBPF offload). v2: - don't hide definition of nfp_app to avoid silly function calls (Dave); - reorder kdoc of nfp_main (Simon); - make nfp_netdev_is_nfp_net() static inline as well. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/slave.c')
0 files changed, 0 insertions, 0 deletions