diff options
author | mweglicx <michalx.weglicki@intel.com> | 2016-05-05 09:46:01 +0100 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2016-05-06 15:28:56 -0700 |
commit | d6e3feb57c44e18580015d8e99dd751cff4f2c9e (patch) | |
tree | 2d243eed928b2b3fad094e9990f98713176adbc4 /include/openflow/openflow-common.h | |
parent | 104aec4e0c57bc92a3c22cea9dff69f74adda861 (diff) | |
download | openvswitch-d6e3feb57c44e18580015d8e99dd751cff4f2c9e.tar.gz |
Add support for extended netdev statistics based on RFC 2819.
Implementation of new statistics extension for DPDK ports:
- Add new counters definition to netdev struct and open flow,
based on RFC2819.
- Initialize netdev statistics as "filtered out"
before passing it to particular netdev implementation
(because of that change, statistics which are not
collected are reported as filtered out, and some
unit tests were modified in this respect).
- New statistics are retrieved using experimenter code and
are printed as a result to ofctl dump-ports.
- New counters are available for OpenFlow 1.4+.
- Add new vendor id: INTEL_VENDOR_ID.
- New statistics are printed to output via ofctl only if those
are present in reply message.
- Add new file header: include/openflow/intel-ext.h which
contains new statistics definition.
- Extended statistics are implemented only for dpdk-physical
and dpdk-vhost port types.
- Dpdk-physical implementation uses xstats to collect statistics.
- Dpdk-vhost implements only part of statistics (RX packet sized
based counters).
Signed-off-by: Michal Weglicki <michalx.weglicki@intel.com>
[blp@ovn.org made software devices more consistent]
Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'include/openflow/openflow-common.h')
-rw-r--r-- | include/openflow/openflow-common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/openflow/openflow-common.h b/include/openflow/openflow-common.h index 089ff1889..7b619a997 100644 --- a/include/openflow/openflow-common.h +++ b/include/openflow/openflow-common.h @@ -108,6 +108,7 @@ enum ofp_version { #define NTR_COMPAT_VENDOR_ID 0x00001540 /* Incorrect value used in v2.4. */ #define NX_VENDOR_ID 0x00002320 /* Nicira. */ #define ONF_VENDOR_ID 0x4f4e4600 /* Open Networking Foundation. */ +#define INTEL_VENDOR_ID 0x0000AA01 /* Intel */ #define OFP_MAX_TABLE_NAME_LEN 32 #define OFP_MAX_PORT_NAME_LEN 16 |