Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/27155/?format=api
http://patches.dpdk.org/api/patches/27155/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1500906162-18009-1-git-send-email-ciwillia@brocade.com/", "project": { "id": 1, "url": "http://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<1500906162-18009-1-git-send-email-ciwillia@brocade.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1500906162-18009-1-git-send-email-ciwillia@brocade.com", "date": "2017-07-24T14:22:42", "name": "[dpdk-dev] net/vmxnet3: restore correct filtering", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "11bb45ddee303ec14d98c97bc16f381a8df4141e", "submitter": { "id": 424, "url": "http://patches.dpdk.org/api/people/424/?format=api", "name": "Chas Williams", "email": "ciwillia@brocade.com" }, "delegate": { "id": 319, "url": "http://patches.dpdk.org/api/users/319/?format=api", "username": "fyigit", "first_name": "Ferruh", "last_name": "Yigit", "email": "ferruh.yigit@amd.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1500906162-18009-1-git-send-email-ciwillia@brocade.com/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/27155/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/27155/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id BB95B2629;\n\tMon, 24 Jul 2017 16:22:57 +0200 (CEST)", "from mx0a-000f0801.pphosted.com (mx0b-000f0801.pphosted.com\n\t[67.231.152.113]) by dpdk.org (Postfix) with ESMTP id EEA1C1F5;\n\tMon, 24 Jul 2017 16:22:55 +0200 (CEST)", "from pps.filterd (m0000700.ppops.net [127.0.0.1])\n\tby mx0b-000f0801.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id\n\tv6OELS3U020034; Mon, 24 Jul 2017 07:22:55 -0700", "from brmwp-exmb11.corp.brocade.com ([208.47.132.227])\n\tby mx0b-000f0801.pphosted.com with ESMTP id 2bv4b4eks3-2\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); \n\tMon, 24 Jul 2017 07:22:54 -0700", "from confsjhq2-2-001.brocade.com (10.252.192.224) by\n\tBRMWP-EXMB11.corp.brocade.com (172.16.59.77) with Microsoft SMTP\n\tServer (TLS) id 15.0.1293.2; Mon, 24 Jul 2017 08:22:50 -0600" ], "From": "\"Charles (Chas) Williams\" <ciwillia@brocade.com>", "To": "<dev@dpdk.org>", "CC": "<skhare@vmware.com>, \"Charles (Chas) Williams\" <ciwillia@brocade.com>,\n\t<stable@dpdk.org>", "Date": "Mon, 24 Jul 2017 10:22:42 -0400", "Message-ID": "<1500906162-18009-1-git-send-email-ciwillia@brocade.com>", "X-Mailer": "git-send-email 2.1.4", "MIME-Version": "1.0", "Content-Type": "text/plain", "X-ClientProxiedBy": "hq1wp-excas14.corp.brocade.com (10.70.38.103) To\n\tBRMWP-EXMB11.corp.brocade.com (172.16.59.77)", "X-Proofpoint-Virus-Version": "vendor=fsecure engine=2.50.10432:, ,\n\tdefinitions=2017-07-24_10:, , signatures=0", "X-Proofpoint-Spam-Details": "rule=notspam policy=default score=0\n\tpriorityscore=1501 malwarescore=0\n\tsuspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011\n\tlowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam\n\tadjust=0\n\treason=mlx scancount=1 engine=8.0.1-1706020000\n\tdefinitions=main-1707240215", "Subject": "[dpdk-dev] [PATCH] net/vmxnet3: restore correct filtering", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://dpdk.org/ml/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "We should only restore shadow_vfta when hw_vlan_filter is active.\nOtherwise, we should restore the previous filtering behavior.\n\nFixes: f003fc383487(\"vmxnet3: enable vlan filtering\")\nCc: stable@dpdk.org\n\nSigned-off-by: Chas Williams <ciwillia@brocade.com>\n---\n drivers/net/vmxnet3/vmxnet3_ethdev.c | 5 ++++-\n 1 file changed, 4 insertions(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/vmxnet3/vmxnet3_ethdev.c b/drivers/net/vmxnet3/vmxnet3_ethdev.c\nindex ab5a824..3910991 100644\n--- a/drivers/net/vmxnet3/vmxnet3_ethdev.c\n+++ b/drivers/net/vmxnet3/vmxnet3_ethdev.c\n@@ -1219,7 +1219,10 @@ vmxnet3_dev_promiscuous_disable(struct rte_eth_dev *dev)\n \tstruct vmxnet3_hw *hw = dev->data->dev_private;\n \tuint32_t *vf_table = hw->shared->devRead.rxFilterConf.vfTable;\n \n-\tmemcpy(vf_table, hw->shadow_vfta, VMXNET3_VFT_TABLE_SIZE);\n+\tif (dev->data->dev_conf.rxmode.hw_vlan_filter)\n+\t\tmemcpy(vf_table, hw->shadow_vfta, VMXNET3_VFT_TABLE_SIZE);\n+\telse\n+\t\tmemset(vf_table, 0xff, VMXNET3_VFT_TABLE_SIZE);\n \tvmxnet3_dev_set_rxmode(hw, VMXNET3_RXM_PROMISC, 0);\n \tVMXNET3_WRITE_BAR1_REG(hw, VMXNET3_REG_CMD,\n \t\t\t VMXNET3_CMD_UPDATE_VLAN_FILTERS);\n", "prefixes": [ "dpdk-dev" ] }{ "id": 27155, "url": "