“00970fb8757599dc699840e6ec62c397de54cfa7”上不存在“paddle/fluid/operators/quantize_mkldnn_op.cc”
提交 89b40c7f 编写于 作者: H Huazhong Tan 提交者: David S. Miller

net: hns3: add some VF VLAN information for command "ip link show"

This patch adds some VF VLAN information for command "ip link show".
Signed-off-by: NHuazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 2a7556bb
...@@ -2944,6 +2944,9 @@ static int hclge_get_vf_config(struct hnae3_handle *handle, int vf, ...@@ -2944,6 +2944,9 @@ static int hclge_get_vf_config(struct hnae3_handle *handle, int vf,
ivf->trusted = vport->vf_info.trusted; ivf->trusted = vport->vf_info.trusted;
ivf->min_tx_rate = 0; ivf->min_tx_rate = 0;
ivf->max_tx_rate = vport->vf_info.max_tx_rate; ivf->max_tx_rate = vport->vf_info.max_tx_rate;
ivf->vlan = vport->port_base_vlan_cfg.vlan_info.vlan_tag;
ivf->vlan_proto = htons(vport->port_base_vlan_cfg.vlan_info.vlan_proto);
ivf->qos = vport->port_base_vlan_cfg.vlan_info.qos;
ether_addr_copy(ivf->mac, vport->vf_info.mac); ether_addr_copy(ivf->mac, vport->vf_info.mac);
return 0; return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册