eal: sort and align options lists
[dpdk.git] / lib / librte_eal / common / eal_options.h
index e476f8d..fe1c85d 100644 (file)
 
 enum {
        /* long options mapped to a short option */
-#define OPT_PCI_WHITELIST "pci-whitelist"
-       OPT_PCI_WHITELIST_NUM = 'w',
-#define OPT_PCI_BLACKLIST "pci-blacklist"
-       OPT_PCI_BLACKLIST_NUM = 'b',
+#define OPT_PCI_BLACKLIST     "pci-blacklist"
+       OPT_PCI_BLACKLIST_NUM   = 'b',
+#define OPT_PCI_WHITELIST     "pci-whitelist"
+       OPT_PCI_WHITELIST_NUM   = 'w',
 
        /* first long only option value must be >= 256, so that we won't
         * conflict with short options */
        OPT_LONG_MIN_NUM = 256,
-#define OPT_HUGE_DIR    "huge-dir"
-       OPT_HUGE_DIR_NUM = OPT_LONG_MIN_NUM,
-#define OPT_MASTER_LCORE "master-lcore"
+#define OPT_BASE_VIRTADDR     "base-virtaddr"
+       OPT_BASE_VIRTADDR_NUM,
+#define OPT_CREATE_UIO_DEV    "create-uio-dev"
+       OPT_CREATE_UIO_DEV_NUM,
+#define OPT_FILE_PREFIX       "file-prefix"
+       OPT_FILE_PREFIX_NUM,
+#define OPT_HUGE_DIR          "huge-dir"
+       OPT_HUGE_DIR_NUM,
+#define OPT_LOG_LEVEL         "log-level"
+       OPT_LOG_LEVEL_NUM,
+#define OPT_MASTER_LCORE      "master-lcore"
        OPT_MASTER_LCORE_NUM,
-#define OPT_PROC_TYPE   "proc-type"
+#define OPT_PROC_TYPE         "proc-type"
        OPT_PROC_TYPE_NUM,
-#define OPT_NO_SHCONF   "no-shconf"
-       OPT_NO_SHCONF_NUM,
-#define OPT_NO_HPET     "no-hpet"
+#define OPT_NO_HPET           "no-hpet"
        OPT_NO_HPET_NUM,
-#define OPT_VMWARE_TSC_MAP   "vmware-tsc-map"
-       OPT_VMWARE_TSC_MAP_NUM,
-#define OPT_NO_PCI      "no-pci"
-       OPT_NO_PCI_NUM,
-#define OPT_NO_HUGE     "no-huge"
+#define OPT_NO_HUGE           "no-huge"
        OPT_NO_HUGE_NUM,
-#define OPT_FILE_PREFIX "file-prefix"
-       OPT_FILE_PREFIX_NUM,
-#define OPT_SOCKET_MEM  "socket-mem"
+#define OPT_NO_PCI            "no-pci"
+       OPT_NO_PCI_NUM,
+#define OPT_NO_SHCONF         "no-shconf"
+       OPT_NO_SHCONF_NUM,
+#define OPT_SOCKET_MEM        "socket-mem"
        OPT_SOCKET_MEM_NUM,
-#define OPT_VDEV        "vdev"
-       OPT_VDEV_NUM,
-#define OPT_SYSLOG      "syslog"
+#define OPT_SYSLOG            "syslog"
        OPT_SYSLOG_NUM,
-#define OPT_LOG_LEVEL   "log-level"
-       OPT_LOG_LEVEL_NUM,
-#define OPT_BASE_VIRTADDR   "base-virtaddr"
-       OPT_BASE_VIRTADDR_NUM,
-#define OPT_XEN_DOM0    "xen-dom0"
-       OPT_XEN_DOM0_NUM,
-#define OPT_CREATE_UIO_DEV "create-uio-dev"
-       OPT_CREATE_UIO_DEV_NUM,
-#define OPT_VFIO_INTR    "vfio-intr"
+#define OPT_VDEV              "vdev"
+       OPT_VDEV_NUM,
+#define OPT_VFIO_INTR         "vfio-intr"
        OPT_VFIO_INTR_NUM,
+#define OPT_VMWARE_TSC_MAP    "vmware-tsc-map"
+       OPT_VMWARE_TSC_MAP_NUM,
+#define OPT_XEN_DOM0          "xen-dom0"
+       OPT_XEN_DOM0_NUM,
        OPT_LONG_MAX_NUM
 };