diff options
-rw-r--r-- | platform/linux-generic/pktio/netmap.c | 12 |
1 files changed, 0 insertions, 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: |