DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 0/2] lib: move Netlink wrapper to lib
@ 2018-03-13 12:28 Nelio Laranjeiro
  2018-03-13 12:28 ` [dpdk-dev] [PATCH 1/2] lib: move Netlink code into a common library Nelio Laranjeiro
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Nelio Laranjeiro @ 2018-03-13 12:28 UTC (permalink / raw)
  To: Pascal Mazon; +Cc: dev

TAP PMD uses a wrapper to communicate with Netlink through a socket.  This
wrapper can be useful for other PMD which may need to communicate also with
the Linux kernel via Netlink.

This series moves this wrapper to the lib level to let any PMD implement use
it when necessary.

Nelio Laranjeiro (2):
  lib: move Netlink code into a common library
  lib: add request Netlink messages

 MAINTAINERS                                        |   3 +
 config/common_base                                 |   6 ++
 config/common_linuxapp                             |   1 +
 drivers/net/tap/Makefile                           |   3 +-
 drivers/net/tap/rte_eth_tap.c                      |  16 +--
 drivers/net/tap/tap_flow.c                         | 118 ++++++++++-----------
 drivers/net/tap/tap_netlink.h                      |  42 --------
 drivers/net/tap/tap_tcmsgs.c                       |  28 ++---
 drivers/net/tap/tap_tcmsgs.h                       |   2 +-
 lib/Makefile                                       |   2 +
 lib/librte_netlink/Makefile                        |  26 +++++
 lib/librte_netlink/meson.build                     |  13 +++
 .../librte_netlink/rte_netlink.c                   |  87 +++++++++++----
 lib/librte_netlink/rte_netlink.h                   |  43 ++++++++
 lib/librte_netlink/rte_netlink_version.map         |  18 ++++
 lib/meson.build                                    |   2 +-
 mk/rte.app.mk                                      |   1 +
 17 files changed, 263 insertions(+), 148 deletions(-)
 delete mode 100644 drivers/net/tap/tap_netlink.h
 create mode 100644 lib/librte_netlink/Makefile
 create mode 100644 lib/librte_netlink/meson.build
 rename drivers/net/tap/tap_netlink.c => lib/librte_netlink/rte_netlink.c (77%)
 create mode 100644 lib/librte_netlink/rte_netlink.h
 create mode 100644 lib/librte_netlink/rte_netlink_version.map

-- 
2.11.0

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2018-03-15 16:27 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-13 12:28 [dpdk-dev] [PATCH 0/2] lib: move Netlink wrapper to lib Nelio Laranjeiro
2018-03-13 12:28 ` [dpdk-dev] [PATCH 1/2] lib: move Netlink code into a common library Nelio Laranjeiro
2018-03-13 13:58   ` Bruce Richardson
2018-03-13 14:58     ` Nélio Laranjeiro
2018-03-13 12:28 ` [dpdk-dev] [PATCH 2/2] lib: add request Netlink messages Nelio Laranjeiro
2018-03-13 21:20 ` [dpdk-dev] [PATCH 0/2] lib: move Netlink wrapper to lib Stephen Hemminger
2018-03-14 12:08   ` Nélio Laranjeiro
2018-03-14 15:17     ` Stephen Hemminger
2018-03-15 15:39       ` Thomas Monjalon
2018-03-15 16:19         ` Nélio Laranjeiro
2018-03-15 16:26           ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).