From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-f52.google.com (mail-it0-f52.google.com [209.85.214.52]) by dpdk.org (Postfix) with ESMTP id 66068325B for ; Thu, 14 Sep 2017 13:32:45 +0200 (CEST) Received: by mail-it0-f52.google.com with SMTP id o200so86067itg.0 for ; Thu, 14 Sep 2017 04:32:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=YUG38ZTkho6IhldrNY5Wbm7SJBhTkdOyZaZa8yF9WLw=; b=pD6PuLV42KMyeSUV/VY2ccbENaXL9RlI7L8A3jAqfQUz0kstmWa30Nziq5opLS4Dfk 6W6sxl28GKNLJ24ZdiAxaBUiXsPPV0u+yABVsjmaQPS0mNJm3w/oALysT7RA3ZIRsX+a fiecx4HK1AzDmDIwzKpK/rY9v8uFrNdeJJ5+b9NBV2bUbzjxgiCGHlT1jor22lMhJiKm Gi74SjlZrtecpDxiJaCLRtcQyYcVnUjO2O6JAoe2PKtM0KRp2PfEOm0C5GJ/FNgq9P9/ taJCcz/OW1ZPqvnHt6InEIQQ6DZ2Mx4fmKPXdmp/w1G88Q0waN1yq1zgu3AvWoJs5KDS o9Rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=YUG38ZTkho6IhldrNY5Wbm7SJBhTkdOyZaZa8yF9WLw=; b=MyQSFhTZDDI87cuT4sK9EGKaa6FjocErmsd9ob04i1aGg8EHPznyb5Sqgzfd1TUd8s iQ6SicnR4jwb5GxPa+mDcq7Q9v4sQ6vYwPDyk+vUQZnhuIvFYks5iL7c62ygo3LodoBI 2ZaUCObQaj6qqDCTIVdSRX6CCFvceeL1UwJgCug+Bq0MEZ+aGQ5tbCCin/hEb5xyvKxe MJK7fvdJUkF2dkCFpG/YXR/k+/oEJw70WfvxVnNKyqou0lIfxdETFYOaHe82IFsRiRCB z4mCtqtfE5osgzPKTtbWaId9Nient1boYIpMsyRR/FjioAiH1BeMspoc/mPn6fZUhAC5 fPjQ== X-Gm-Message-State: AHPjjUhHh1Mc+Bge18pukjo0PKFeTlqKsZt94chrXsKOvaQ0a18AY0D8 sbrJ6BMuu0QzOaLj1bWNe2OICssB08D4PbYYZGAP6g== X-Google-Smtp-Source: AOwi7QDPZC6LmHBNcpqj+iNL2zR7Vm8iUN7R8Eu9LDd0d8LogxmcqdkwJ1JgGsPDdant0G2wats6d5/JDbwrzKe2lUU= X-Received: by 10.36.104.85 with SMTP id v82mr2511899itb.87.1505388764494; Thu, 14 Sep 2017 04:32:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.112.12 with HTTP; Thu, 14 Sep 2017 04:32:44 -0700 (PDT) From: Mukunda Naresh Date: Thu, 14 Sep 2017 17:02:44 +0530 Message-ID: To: dev@dpdk.org X-Mailman-Approved-At: Sun, 17 Sep 2017 16:52:17 +0200 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] vmxnet3 ethernet driver X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Sep 2017 11:32:45 -0000 Hi All, Need your inputs on below functions. Vmxnet3 driver in dpdk does not have the whitelist filter for unicast mac addresses. So addition/removal of MAC addresses using rte_eth_dev_mac_addr_add and rte_eth_dev_mac_addr_remove will always fail in case of vmxnet3. These functions will always return -95 (or -ENOTSUP). 2.2.0-r0/dpdk-2.2.0/drivers/net/vmxnet3/vmxnet3_ethdev.c static const struct eth_dev_ops vmxnet3_eth_dev_ops = { .dev_configure = vmxnet3_dev_configure, .dev_start = vmxnet3_dev_start, .dev_stop = vmxnet3_dev_stop, .dev_close = vmxnet3_dev_close, .promiscuous_enable = vmxnet3_dev_promiscuous_enable, .promiscuous_disable = vmxnet3_dev_promiscuous_disable, .allmulticast_enable = vmxnet3_dev_allmulticast_enable, .allmulticast_disable = vmxnet3_dev_allmulticast_disable, .link_update = vmxnet3_dev_link_update, .stats_get = vmxnet3_dev_stats_get, .dev_infos_get = vmxnet3_dev_info_get, .vlan_filter_set = vmxnet3_dev_vlan_filter_set, .vlan_offload_set = vmxnet3_dev_vlan_offload_set, .rx_queue_setup = vmxnet3_dev_rx_queue_setup, .rx_queue_release = vmxnet3_dev_rx_queue_release, .tx_queue_setup = vmxnet3_dev_tx_queue_setup, .tx_queue_release = vmxnet3_dev_tx_queue_release, }; 2.2.0-r0/dpdk-2.2.0/drivers/net/virtio/virtio_ethdev.c static const struct eth_dev_ops virtio_eth_dev_ops = { .dev_configure = virtio_dev_configure, .dev_start = virtio_dev_start, .dev_stop = virtio_dev_stop, .dev_close = virtio_dev_close, .promiscuous_enable = virtio_dev_promiscuous_enable, .promiscuous_disable = virtio_dev_promiscuous_disable, .allmulticast_enable = virtio_dev_allmulticast_enable, .allmulticast_disable = virtio_dev_allmulticast_disable, .dev_infos_get = virtio_dev_info_get, .stats_get = virtio_dev_stats_get, .xstats_get = virtio_dev_xstats_get, .stats_reset = virtio_dev_stats_reset, .xstats_reset = virtio_dev_stats_reset, .link_update = virtio_dev_link_update, .rx_queue_setup = virtio_dev_rx_queue_setup, .rx_queue_release = virtio_dev_rx_queue_release, .tx_queue_setup = virtio_dev_tx_queue_setup, .tx_queue_release = virtio_dev_tx_queue_release, /* collect stats per queue */ .queue_stats_mapping_set = virtio_dev_queue_stats_mapping_set, .vlan_filter_set = virtio_vlan_filter_set, .mac_addr_add = virtio_mac_addr_add, .mac_addr_remove = virtio_mac_addr_remove, .mac_addr_set = virtio_mac_addr_set, }; Regards Mukunda Naresh