net/txgbe: reuse some PF Rx/Tx features for VF
Some Rx/Tx operations like queue setup and release, packet type get, and Tx done cleanup have been supported on PF device. There are ops functions directly added. Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
This commit is contained in:
parent
3a123ba60a
commit
d5f2880c98
@ -19,6 +19,7 @@ RSS hash = Y
|
|||||||
RSS key update = Y
|
RSS key update = Y
|
||||||
RSS reta update = Y
|
RSS reta update = Y
|
||||||
VLAN filter = Y
|
VLAN filter = Y
|
||||||
|
Inline crypto = Y
|
||||||
CRC offload = P
|
CRC offload = P
|
||||||
VLAN offload = P
|
VLAN offload = P
|
||||||
QinQ offload = P
|
QinQ offload = P
|
||||||
@ -26,8 +27,10 @@ L3 checksum offload = P
|
|||||||
L4 checksum offload = P
|
L4 checksum offload = P
|
||||||
Inner L3 checksum = P
|
Inner L3 checksum = P
|
||||||
Inner L4 checksum = P
|
Inner L4 checksum = P
|
||||||
|
Packet type parsing = Y
|
||||||
Rx descriptor status = Y
|
Rx descriptor status = Y
|
||||||
Tx descriptor status = Y
|
Tx descriptor status = Y
|
||||||
|
Free Tx mbuf on demand = Y
|
||||||
Basic stats = Y
|
Basic stats = Y
|
||||||
Extended stats = Y
|
Extended stats = Y
|
||||||
Registers dump = Y
|
Registers dump = Y
|
||||||
|
@ -1355,10 +1355,15 @@ static const struct eth_dev_ops txgbevf_eth_dev_ops = {
|
|||||||
.allmulticast_enable = txgbevf_dev_allmulticast_enable,
|
.allmulticast_enable = txgbevf_dev_allmulticast_enable,
|
||||||
.allmulticast_disable = txgbevf_dev_allmulticast_disable,
|
.allmulticast_disable = txgbevf_dev_allmulticast_disable,
|
||||||
.dev_infos_get = txgbevf_dev_info_get,
|
.dev_infos_get = txgbevf_dev_info_get,
|
||||||
|
.dev_supported_ptypes_get = txgbe_dev_supported_ptypes_get,
|
||||||
.mtu_set = txgbevf_dev_set_mtu,
|
.mtu_set = txgbevf_dev_set_mtu,
|
||||||
.vlan_filter_set = txgbevf_vlan_filter_set,
|
.vlan_filter_set = txgbevf_vlan_filter_set,
|
||||||
.vlan_strip_queue_set = txgbevf_vlan_strip_queue_set,
|
.vlan_strip_queue_set = txgbevf_vlan_strip_queue_set,
|
||||||
.vlan_offload_set = txgbevf_vlan_offload_set,
|
.vlan_offload_set = txgbevf_vlan_offload_set,
|
||||||
|
.rx_queue_setup = txgbe_dev_rx_queue_setup,
|
||||||
|
.rx_queue_release = txgbe_dev_rx_queue_release,
|
||||||
|
.tx_queue_setup = txgbe_dev_tx_queue_setup,
|
||||||
|
.tx_queue_release = txgbe_dev_tx_queue_release,
|
||||||
.rx_queue_intr_enable = txgbevf_dev_rx_queue_intr_enable,
|
.rx_queue_intr_enable = txgbevf_dev_rx_queue_intr_enable,
|
||||||
.rx_queue_intr_disable = txgbevf_dev_rx_queue_intr_disable,
|
.rx_queue_intr_disable = txgbevf_dev_rx_queue_intr_disable,
|
||||||
.mac_addr_add = txgbevf_add_mac_addr,
|
.mac_addr_add = txgbevf_add_mac_addr,
|
||||||
@ -1372,6 +1377,7 @@ static const struct eth_dev_ops txgbevf_eth_dev_ops = {
|
|||||||
.reta_query = txgbe_dev_rss_reta_query,
|
.reta_query = txgbe_dev_rss_reta_query,
|
||||||
.rss_hash_update = txgbe_dev_rss_hash_update,
|
.rss_hash_update = txgbe_dev_rss_hash_update,
|
||||||
.rss_hash_conf_get = txgbe_dev_rss_hash_conf_get,
|
.rss_hash_conf_get = txgbe_dev_rss_hash_conf_get,
|
||||||
|
.tx_done_cleanup = txgbe_dev_tx_done_cleanup,
|
||||||
};
|
};
|
||||||
|
|
||||||
RTE_PMD_REGISTER_PCI(net_txgbe_vf, rte_txgbevf_pmd);
|
RTE_PMD_REGISTER_PCI(net_txgbe_vf, rte_txgbevf_pmd);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user