Don't override interface default configuration options.

Signed-off-by: Matias Elo <matias....@nokia.com>
---
 platform/linux-generic/pktio/netmap.c | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/platform/linux-generic/pktio/netmap.c 
b/platform/linux-generic/pktio/netmap.c
index 54e7043..19dc697 100644
--- a/platform/linux-generic/pktio/netmap.c
+++ b/platform/linux-generic/pktio/netmap.c
@@ -151,22 +151,10 @@ static int netmap_open(odp_pktio_t id ODP_UNUSED, 
pktio_entry_t *pktio_entry,
        if ((pkt_nm->if_flags & IFF_UP) == 0)
                ODP_DBG("%s is down\n", pktio_entry->s.name);
 
-       err = netmap_do_ioctl(pktio_entry, SIOCETHTOOL, ETHTOOL_SGSO);
-       if (err)
-               ODP_DBG("ETHTOOL_SGSO not supported\n");
-
-       err = netmap_do_ioctl(pktio_entry, SIOCETHTOOL, ETHTOOL_STSO);
-       if (err)
-               ODP_DBG("ETHTOOL_STSO not supported\n");
-
        err = mac_addr_get_fd(sockfd, netdev, pkt_nm->if_mac);
        if (err)
                goto error;
 
-       err = netmap_do_ioctl(pktio_entry, SIOCETHTOOL, ETHTOOL_STXCSUM);
-       if (err)
-               ODP_DBG("ETHTOOL_STXCSUM not supported\n");
-
        return 0;
 
 error:
-- 
1.9.1

_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to