Unverified Commit 2df0cb3a authored by Raphael Defosseux's avatar Raphael Defosseux Committed by GitHub

Merge pull request #5 from OPENAIRINTERFACE/dreibh/tx-checksum-ip-generic-off

Dreibh/tx checksum ip generic off
parents f91bd733 b2d8007a
......@@ -78,6 +78,7 @@ RUN yum update -y \
net-tools \
tcpdump \
iptables \
ethtool \
glog \
double-conversion \
libconfig \
......
......@@ -78,6 +78,7 @@ RUN yum update -y \
net-tools \
tcpdump \
iptables \
ethtool \
glog \
double-conversion \
libconfig \
......
......@@ -71,6 +71,7 @@ RUN yum update -y && \
yum -y install --enablerepo="ubi-8-codeready-builder" \
psmisc \
net-tools \
ethtool \
iproute \
iptables \
initscripts \
......
......@@ -65,6 +65,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get upgrade --yes && DE
psmisc \
net-tools \
iproute2 \
ethtool \
iptables \
tshark \
libgoogle-glog0v5 \
......
......@@ -256,7 +256,7 @@ int pfcp_switch::create_pdn_socket (const char * const ifname)
//------------------------------------------------------------------------------
void pfcp_switch::setup_pdn_interfaces()
{
std::string cmd = fmt::format("ip link set dev {0} down > /dev/null 2>&1; ip link del {0} > /dev/null 2>&1; sync; sleep 1; ip link add {0} type dummy; ip link set dev {0} up", PDN_INTERFACE_NAME);
std::string cmd = fmt::format("ip link set dev {0} down > /dev/null 2>&1; ip link del {0} > /dev/null 2>&1; sync; sleep 1; ip link add {0} type dummy; ethtool -K {0} tx-checksum-ip-generic off; ip link set dev {0} up", PDN_INTERFACE_NAME);
int rc = system ((const char*)cmd.c_str());
for (auto it : spgwu_cfg.pdns) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment