git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/ngbe: support device xstats
[dpdk.git]
/
drivers
/
net
/
hns3
/
hns3_rxtx_vec.c
diff --git
a/drivers/net/hns3/hns3_rxtx_vec.c
b/drivers/net/hns3/hns3_rxtx_vec.c
index
ff434d2
..
4551103
100644
(file)
--- a/
drivers/net/hns3/hns3_rxtx_vec.c
+++ b/
drivers/net/hns3/hns3_rxtx_vec.c
@@
-22,8
+22,8
@@
hns3_tx_check_vec_support(struct rte_eth_dev *dev)
if (hns3_dev_get_support(hw, PTP))
return -ENOTSUP;
if (hns3_dev_get_support(hw, PTP))
return -ENOTSUP;
- /* Only support
DEV
_TX_OFFLOAD_MBUF_FAST_FREE */
- if (txmode->offloads !=
DEV
_TX_OFFLOAD_MBUF_FAST_FREE)
+ /* Only support
RTE_ETH
_TX_OFFLOAD_MBUF_FAST_FREE */
+ if (txmode->offloads !=
RTE_ETH
_TX_OFFLOAD_MBUF_FAST_FREE)
return -ENOTSUP;
return 0;
return -ENOTSUP;
return 0;
@@
-228,10
+228,10
@@
hns3_rxq_vec_check(struct hns3_rx_queue *rxq, void *arg)
int
hns3_rx_check_vec_support(struct rte_eth_dev *dev)
{
int
hns3_rx_check_vec_support(struct rte_eth_dev *dev)
{
- struct rte_fdir_conf *fconf = &dev->data->dev_conf.fdir_conf;
+ struct rte_
eth_
fdir_conf *fconf = &dev->data->dev_conf.fdir_conf;
struct rte_eth_rxmode *rxmode = &dev->data->dev_conf.rxmode;
struct rte_eth_rxmode *rxmode = &dev->data->dev_conf.rxmode;
- uint64_t offloads_mask =
DEV
_RX_OFFLOAD_TCP_LRO |
-
DEV
_RX_OFFLOAD_VLAN;
+ uint64_t offloads_mask =
RTE_ETH
_RX_OFFLOAD_TCP_LRO |
+
RTE_ETH
_RX_OFFLOAD_VLAN;
struct hns3_hw *hw = HNS3_DEV_PRIVATE_TO_HW(dev->data->dev_private);
if (hns3_dev_get_support(hw, PTP))
struct hns3_hw *hw = HNS3_DEV_PRIVATE_TO_HW(dev->data->dev_private);
if (hns3_dev_get_support(hw, PTP))