]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - include/net/dcbnl.h
Merge branch 'devel' of git://git.kernel.org/pub/scm/linux/kernel/git/ycmiao/pxa...
[mv-sheeva.git] / include / net / dcbnl.h
index 0ef0c5a46d8b746e9d4251e5c0f309b5e322dfc3..775cfc8055bed122d9e54f30b83c186cccf3a185 100644 (file)
@@ -26,7 +26,7 @@
  */
 struct dcbnl_rtnl_ops {
        u8   (*getstate)(struct net_device *);
-       void (*setstate)(struct net_device *, u8);
+       u8   (*setstate)(struct net_device *, u8);
        void (*getpermhwaddr)(struct net_device *, u8 *);
        void (*setpgtccfgtx)(struct net_device *, int, u8, u8, u8, u8);
        void (*setpgbwgcfgtx)(struct net_device *, int, u8);
@@ -39,6 +39,15 @@ struct dcbnl_rtnl_ops {
        void (*setpfccfg)(struct net_device *, int, u8);
        void (*getpfccfg)(struct net_device *, int, u8 *);
        u8   (*setall)(struct net_device *);
+       u8   (*getcap)(struct net_device *, int, u8 *);
+       u8   (*getnumtcs)(struct net_device *, int, u8 *);
+       u8   (*setnumtcs)(struct net_device *, int, u8);
+       u8   (*getpfcstate)(struct net_device *);
+       void (*setpfcstate)(struct net_device *, u8);
+       void (*getbcncfg)(struct net_device *, int, u32 *);
+       void (*setbcncfg)(struct net_device *, int, u32);
+       void (*getbcnrp)(struct net_device *, int, u8 *);
+       void (*setbcnrp)(struct net_device *, int, u8);
 };
 
 #endif /* __NET_DCBNL_H__ */