app/testpmd: support GRE option flow item
[dpdk.git] / lib / dmadev / rte_dmadev.h
index f5d2301..4abe79c 100644 (file)
@@ -533,7 +533,7 @@ struct rte_dma_port_param {
                 * @note If some fields can not be supported by the
                 * hardware/driver, then the driver ignores those fields.
                 * Please check driver-specific documentation for limitations
-                * and capablites.
+                * and capabilities.
                 */
                __extension__
                struct {
@@ -731,7 +731,7 @@ enum rte_dma_status_code {
        /** The operation completed successfully. */
        RTE_DMA_STATUS_SUCCESSFUL,
        /** The operation failed to complete due abort by user.
-        * This is mainly used when processing dev_stop, user could modidy the
+        * This is mainly used when processing dev_stop, user could modify the
         * descriptors (e.g. change one bit to tell hardware abort this job),
         * it allows outstanding requests to be complete as much as possible,
         * so reduce the time to stop the device.
@@ -1126,7 +1126,7 @@ rte_dma_burst_capacity(int16_t dev_id, uint16_t vchan)
 #ifdef RTE_DMADEV_DEBUG
        if (!rte_dma_is_valid(dev_id))
                return 0;
-       RTE_FUNC_PTR_OR_ERR_RET(*obbj->burst_capacity, 0);
+       RTE_FUNC_PTR_OR_ERR_RET(*obj->burst_capacity, 0);
 #endif
        return (*obj->burst_capacity)(obj->dev_private, vchan);
 }