net/octeontx2: support Tx
[dpdk.git] / drivers / net / octeontx2 / otx2_ethdev.c
index 34fab46..1081d07 100644 (file)
 
 #include "otx2_ethdev.h"
 
-static inline void
-otx2_eth_set_rx_function(struct rte_eth_dev *eth_dev)
-{
-       RTE_SET_USED(eth_dev);
-}
-
-static inline void
-otx2_eth_set_tx_function(struct rte_eth_dev *eth_dev)
-{
-       RTE_SET_USED(eth_dev);
-}
-
 static inline uint64_t
 nix_get_rx_offload_capa(struct otx2_eth_dev *dev)
 {
@@ -1355,6 +1343,7 @@ static const struct eth_dev_ops otx2_eth_dev_ops = {
        .filter_ctrl              = otx2_nix_dev_filter_ctrl,
        .get_module_info          = otx2_nix_get_module_info,
        .get_module_eeprom        = otx2_nix_get_module_eeprom,
+       .fw_version_get           = otx2_nix_fw_version_get,
        .flow_ctrl_get            = otx2_nix_flow_ctrl_get,
        .flow_ctrl_set            = otx2_nix_flow_ctrl_set,
        .timesync_enable          = otx2_nix_timesync_enable,
@@ -1367,6 +1356,8 @@ static const struct eth_dev_ops otx2_eth_dev_ops = {
        .vlan_offload_set         = otx2_nix_vlan_offload_set,
        .vlan_filter_set          = otx2_nix_vlan_filter_set,
        .vlan_strip_queue_set     = otx2_nix_vlan_strip_queue_set,
+       .vlan_tpid_set            = otx2_nix_vlan_tpid_set,
+       .vlan_pvid_set            = otx2_nix_vlan_pvid_set,
 };
 
 static inline int