ethtool: Add n-tuple string length to drvinfo and return it
[linux-2.6-block.git] / include / linux / ethtool.h
index cca1c3de140d538f84c7580b249f6b5f609b90e4..f7992a256b71245bb57df72a30b49d74a708a2d3 100644 (file)
@@ -63,6 +63,7 @@ struct ethtool_drvinfo {
        char    reserved2[12];
        __u32   n_priv_flags;   /* number of flags valid in ETHTOOL_GPFLAGS */
        __u32   n_stats;        /* number of u64's from ETHTOOL_GSTATS */
+       __u32   n_ntuples;      /* number of n-tuple filters from GSTRINGS */
        __u32   testinfo_len;
        __u32   eedump_len;     /* Size of data from ETHTOOL_GEEPROM (bytes) */
        __u32   regdump_len;    /* Size of data from ETHTOOL_GREGS (bytes) */