]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
msg/async/dpdk: fix complie errors from fix FTBFS
authoryehu <yehu5@huawei.com>
Tue, 3 Sep 2019 02:49:12 +0000 (10:49 +0800)
committeryehu <yehu5@huawei.com>
Tue, 3 Sep 2019 02:49:12 +0000 (10:49 +0800)
Signed-off-by: yehu <yehu5@huawei.com>
src/msg/async/dpdk/DPDKStack.cc
src/msg/async/dpdk/TCP-Stack.h

index 50c0b6cbff5db0c483433016c81afa8055953ce1..9a73dac5db1420a86017c37038307f756baf95c0 100644 (file)
@@ -231,7 +231,7 @@ int DPDKWorker::listen(entity_addr_t &sa,
   // _inet.set_gw_address(ipv4_address(std::get<1>(tuples[idx])));
   // _inet.set_netmask_address(ipv4_address(std::get<2>(tuples[idx])));
   return tcpv4_listen(_impl->_inet.get_tcp(), sa.get_port(), opt, sa.get_type(),
-                     sock);
+                     addr_slot, sock);
 }
 
 int DPDKWorker::connect(const entity_addr_t &addr, const SocketOptions &opts, ConnectedSocket *socket)
index 996ae93c00187ba629892dc5d7d1fc824daea929..edcf4d8034414f8984906242429246443ab95c22 100644 (file)
@@ -32,7 +32,7 @@ template <typename InetTraits>
 class tcp;
 
 int tcpv4_listen(tcp<ipv4_traits>& tcpv4, uint16_t port, const SocketOptions &opts,
-                 int type, ServerSocket *sa);
+                 int type, unsigned addr_slot, ServerSocket *sa);
 
 int tcpv4_connect(tcp<ipv4_traits>& tcpv4, const entity_addr_t &addr,
                   ConnectedSocket *sa);