On 07/15/15 16:27, Nicolas Morey-Chaisemartin wrote:
No changes since v4. Just a rebase on the latest master.
https://github.com/nmorey/odp/pull/4
Reviewed-by: Stuart Haslam <[email protected]>
----------------------------------------------------------------
The following changes since commit 28e4eb9e9ada4836209b58283ada86ec4bfed121:
validation: pktio: remove assert side effect (2015-07-15 14:21:23 +0300)
are available in the git repository at:
https://github.com/nmorey/odp
for you to fetch changes up to 7b1e24a06183b0a6033e35d4eb235bb54b2ad907:
linux-generic: pktio: define struct for loopback specific properties
(2015-07-15 14:20:45 +0200)
----------------------------------------------------------------
Nicolas Morey-Chaisemartin (19):
linux-generic: pktio: replace linux/if.h by net/if.h
checkpatch: remove check for potential ether_addr_copy
linux-generic: packet_socket: rename odp_packet_socket.c to
pktio/socket.c
linux-generic: packet_socket: move socket_mmap to another file
Nicolas, all patches to odp has to be build-able. After that patch
there is error. Please remove one definition
of ethaddrs_equal in that patch.
Making all in platform/linux-generic
make[1]: Entering directory `/opt/Linaro/odp2.git/platform/linux-generic'
CC pktio/socket.lo
pktio/socket.c:90:13: error: redefinition of 'ethaddr_copy'
static void ethaddr_copy(unsigned char mac_dst[], unsigned char mac_src[])
^
In file included from pktio/socket.c:36:0:
./include/odp_packet_socket.h:89:1: note: previous definition of
'ethaddr_copy' was here
ethaddr_copy(unsigned char mac_dst[], unsigned char mac_src[])
^
pktio/socket.c:95:19: error: redefinition of 'ethaddrs_equal'
static inline int ethaddrs_equal(unsigned char mac_a[], unsigned char
mac_b[])
^
In file included from pktio/socket.c:36:0:
./include/odp_packet_socket.h:95:1: note: previous definition of
'ethaddrs_equal' was here
ethaddrs_equal(unsigned char mac_a[], unsigned char mac_b[])
^
pktio/socket.c:100:12: error: 'set_pkt_sock_fanout_mmap' defined but not
used [-Werror=unused-function]
static int set_pkt_sock_fanout_mmap(pkt_sock_mmap_t *const pkt_sock,
Thanks,
Maxim.
linux-generic: packet_io: move loopback to another file
linux-generic: pktio: use prefix instead of suffix for all pktio
specific functions
linux-generic: packet_loop: add function get MTU
linux-generic: packet_loop: add method to get mac address
linux-generic: packet_loop: add method to close a loopback pktio
linux-generic: packet_loop: add method for setting promisc mode
linux-generic: packet_pool: add method to get promisc mode
linux-generic: packet_io: add mtu_get methods for all pktio_socks
linux-generic: packet_io: add mac_addr_get methods for all pktio_socks
linux-generic: packet_io: promisc_mode_set methods for all pktio_socks
linux-generic: packet_io: promisc_mode_get methods for all pktio_socks
linux-generic: packet_io: packet_sock_* self closes on error during setup
linux-generic: packet_io: use generic interface for all pktio
implementations
linux-generic: pktio: move pktio specific init to the appropriate setup
function
linux-generic: pktio: define struct for loopback specific properties
platform/linux-generic/Makefile.am | 5 +-
.../linux-generic/include/odp_packet_io_internal.h | 45 +-
platform/linux-generic/include/odp_packet_socket.h | 44 +-
platform/linux-generic/odp_packet_io.c | 279 +----------
platform/linux-generic/pktio/io_ops.c | 19 +
platform/linux-generic/pktio/loop.c | 116 +++++
platform/linux-generic/pktio/socket.c | 554 +++++++++++++++++++++
.../{odp_packet_socket.c => pktio/socket_mmap.c} | 494 ++++--------------
scripts/checkpatch.pl | 10 -
9 files changed, 854 insertions(+), 712 deletions(-)
create mode 100644 platform/linux-generic/pktio/io_ops.c
create mode 100644 platform/linux-generic/pktio/loop.c
create mode 100644 platform/linux-generic/pktio/socket.c
rename platform/linux-generic/{odp_packet_socket.c => pktio/socket_mmap.c}
(53%)
--
2.4.5.3.g4915f6f
_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp
_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp