Merge branch 'fix/asoc' into for-linus
[firefly-linux-kernel-4.4.55.git] / include / net / dcbnl.h
index a8e7852b10abf705a7c7db5385b34a6d1a6a058e..e5983c9053dcd6fd2cfdfd5cd3415aa23e97734a 100644 (file)
@@ -43,6 +43,8 @@ struct dcbnl_rtnl_ops {
        int (*ieee_setpfc) (struct net_device *, struct ieee_pfc *);
        int (*ieee_getapp) (struct net_device *, struct dcb_app *);
        int (*ieee_setapp) (struct net_device *, struct dcb_app *);
+       int (*ieee_peer_getets) (struct net_device *, struct ieee_ets *);
+       int (*ieee_peer_getpfc) (struct net_device *, struct ieee_pfc *);
 
        /* CEE std */
        u8   (*getstate)(struct net_device *);
@@ -77,7 +79,14 @@ struct dcbnl_rtnl_ops {
        u8   (*getdcbx)(struct net_device *);
        u8   (*setdcbx)(struct net_device *, u8);
 
+       /* peer apps */
+       int (*peer_getappinfo)(struct net_device *, struct dcb_peer_app_info *,
+                              u16 *);
+       int (*peer_getapptable)(struct net_device *, struct dcb_app *);
 
+       /* CEE peer */
+       int (*cee_peer_getpg) (struct net_device *, struct cee_pg *);
+       int (*cee_peer_getpfc) (struct net_device *, struct cee_pfc *);
 };
 
 #endif /* __NET_DCBNL_H__ */