diff mbox

[API-NEXT,1/2] linux-generic: pktio: add missing pktio names

Message ID 1461068132-24306-1-git-send-email-matias.elo@nokia.com
State New
Headers show

Commit Message

Elo, Matias (Nokia - FI/Espoo) April 19, 2016, 12:15 p.m. UTC
Add names to ipc and tap pktio types.

Signed-off-by: Matias Elo <matias.elo@nokia.com>
---
 platform/linux-generic/pktio/ipc.c | 1 +
 platform/linux-generic/pktio/tap.c | 1 +
 2 files changed, 2 insertions(+)

Comments

Bill Fischofer April 19, 2016, 9:42 p.m. UTC | #1
For this series;

Reviewed-and-tested-by: Bill Fischofer <bill.fischofer@linaro.org>

On Tue, Apr 19, 2016 at 7:15 AM, Matias Elo <matias.elo@nokia.com> wrote:

> Add names to ipc and tap pktio types.

>

> Signed-off-by: Matias Elo <matias.elo@nokia.com>

> ---

>  platform/linux-generic/pktio/ipc.c | 1 +

>  platform/linux-generic/pktio/tap.c | 1 +

>  2 files changed, 2 insertions(+)

>

> diff --git a/platform/linux-generic/pktio/ipc.c

> b/platform/linux-generic/pktio/ipc.c

> index 18fa5c6..43d3b47 100644

> --- a/platform/linux-generic/pktio/ipc.c

> +++ b/platform/linux-generic/pktio/ipc.c

> @@ -713,6 +713,7 @@ static int ipc_close(pktio_entry_t *pktio_entry)

>  }

>

>  const pktio_if_ops_t ipc_pktio_ops = {

> +       .name = "ipc",

>         .init_global = NULL,

>         .init_local = NULL,

>         .term = NULL,

> diff --git a/platform/linux-generic/pktio/tap.c

> b/platform/linux-generic/pktio/tap.c

> index c895878..0fbb914 100644

> --- a/platform/linux-generic/pktio/tap.c

> +++ b/platform/linux-generic/pktio/tap.c

> @@ -311,6 +311,7 @@ static int tap_mac_addr_get(pktio_entry_t

> *pktio_entry, void *mac_addr)

>  }

>

>  const pktio_if_ops_t tap_pktio_ops = {

> +       .name = "tap",

>         .init_global = NULL,

>         .init_local = NULL,

>         .term = NULL,

> --

> 1.9.1

>

> _______________________________________________

> lng-odp mailing list

> lng-odp@lists.linaro.org

> https://lists.linaro.org/mailman/listinfo/lng-odp

>
Maxim Uvarov April 22, 2016, 7:12 p.m. UTC | #2
Merged,
Maxim.

On 04/20/16 00:42, Bill Fischofer wrote:
> For this series;
>
> Reviewed-and-tested-by: Bill Fischofer <bill.fischofer@linaro.org 
> <mailto:bill.fischofer@linaro.org>>
>
> On Tue, Apr 19, 2016 at 7:15 AM, Matias Elo <matias.elo@nokia.com 
> <mailto:matias.elo@nokia.com>> wrote:
>
>     Add names to ipc and tap pktio types.
>
>     Signed-off-by: Matias Elo <matias.elo@nokia.com
>     <mailto:matias.elo@nokia.com>>
>     ---
>      platform/linux-generic/pktio/ipc.c | 1 +
>      platform/linux-generic/pktio/tap.c | 1 +
>      2 files changed, 2 insertions(+)
>
>     diff --git a/platform/linux-generic/pktio/ipc.c
>     b/platform/linux-generic/pktio/ipc.c
>     index 18fa5c6..43d3b47 100644
>     --- a/platform/linux-generic/pktio/ipc.c
>     +++ b/platform/linux-generic/pktio/ipc.c
>     @@ -713,6 +713,7 @@ static int ipc_close(pktio_entry_t *pktio_entry)
>      }
>
>      const pktio_if_ops_t ipc_pktio_ops = {
>     +       .name = "ipc",
>             .init_global = NULL,
>             .init_local = NULL,
>             .term = NULL,
>     diff --git a/platform/linux-generic/pktio/tap.c
>     b/platform/linux-generic/pktio/tap.c
>     index c895878..0fbb914 100644
>     --- a/platform/linux-generic/pktio/tap.c
>     +++ b/platform/linux-generic/pktio/tap.c
>     @@ -311,6 +311,7 @@ static int tap_mac_addr_get(pktio_entry_t
>     *pktio_entry, void *mac_addr)
>      }
>
>      const pktio_if_ops_t tap_pktio_ops = {
>     +       .name = "tap",
>             .init_global = NULL,
>             .init_local = NULL,
>             .term = NULL,
>     --
>     1.9.1
>
>     _______________________________________________
>     lng-odp mailing list
>     lng-odp@lists.linaro.org <mailto:lng-odp@lists.linaro.org>
>     https://lists.linaro.org/mailman/listinfo/lng-odp
>
>
>
>
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> https://lists.linaro.org/mailman/listinfo/lng-odp
diff mbox

Patch

diff --git a/platform/linux-generic/pktio/ipc.c b/platform/linux-generic/pktio/ipc.c
index 18fa5c6..43d3b47 100644
--- a/platform/linux-generic/pktio/ipc.c
+++ b/platform/linux-generic/pktio/ipc.c
@@ -713,6 +713,7 @@  static int ipc_close(pktio_entry_t *pktio_entry)
 }
 
 const pktio_if_ops_t ipc_pktio_ops = {
+	.name = "ipc",
 	.init_global = NULL,
 	.init_local = NULL,
 	.term = NULL,
diff --git a/platform/linux-generic/pktio/tap.c b/platform/linux-generic/pktio/tap.c
index c895878..0fbb914 100644
--- a/platform/linux-generic/pktio/tap.c
+++ b/platform/linux-generic/pktio/tap.c
@@ -311,6 +311,7 @@  static int tap_mac_addr_get(pktio_entry_t *pktio_entry, void *mac_addr)
 }
 
 const pktio_if_ops_t tap_pktio_ops = {
+	.name = "tap",
 	.init_global = NULL,
 	.init_local = NULL,
 	.term = NULL,