numam-dpdk/drivers/net
Huisong Li 958edf6627 net/hns3: fix VF link status
Currently, port link status is "up" in VF driver after user calling the
rte_eth_dev_stop API. This is unreasonable.

Therefore, this patch adjusts the strategy of getting link status from
PF driver for VF. VF driver should stop getting link status from PF by
canceling the alarm that VF driver send mailbox message to PF driver,
when the rte_eth_dev_stop API is called. And VF driver should restore
the alarm when the rte_eth_dev_start API is called.

Fixes: a5475d61fa ("net/hns3: support VF")
Cc: stable@dpdk.org

Signed-off-by: Huisong Li <lihuisong@huawei.com>
Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
2019-11-26 18:05:15 +01:00
..
af_packet build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
af_xdp build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
ark build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
atlantic build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
avp build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
axgbe build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
bnx2x build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
bnxt net/bnxt: fix freeing all VNICs during port stop 2019-11-26 18:05:15 +01:00
bonding build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
cxgbe build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
dpaa build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
dpaa2 build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
e1000 build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
ena build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
enetc build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
enic build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
failsafe build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
fm10k build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
hinic build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
hns3 net/hns3: fix VF link status 2019-11-26 18:05:15 +01:00
i40e build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
iavf remove blank lines at end of file 2019-11-26 00:12:08 +01:00
ice net/ice: support flow director for normal GTPU 2019-11-26 18:05:15 +01:00
ifc build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
ipn3ke build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
ixgbe net/ixgbe: fix performance drop caused by MACsec 2019-11-26 18:05:15 +01:00
kni build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
liquidio build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
memif build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
mlx4 build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
mlx5 net/mlx5: fix selection between encap and decap 2019-11-26 18:05:15 +01:00
mvneta build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
mvpp2 build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
netvsc build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
nfb build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
nfp build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
null build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
octeontx net/octeontx: set queue offload capabilities 2019-11-26 07:49:30 +01:00
octeontx2 build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
pcap build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
pfe build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
qede build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
ring build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
sfc build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
softnic build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
szedata2 build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
tap build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
thunderx build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
vdev_netvsc build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
vhost build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
virtio net/virtio-user: drop attribute unused for memory callback 2019-11-26 18:05:15 +01:00
vmxnet3 build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
Makefile net/pfe: introduce basic functions 2019-10-23 16:43:08 +02:00
meson.build net/pfe: introduce basic functions 2019-10-23 16:43:08 +02:00