text: 
  #ifndef VFD_BNXT_H
  #define VFD_BNXT_H
  
  #include "sriov.h"
  
  #include <rte_pmd_bnxt.h>
  #include <drivers/net/bnxt/hsi_struct_def_dpdk.h>
  
  
  
  // ------------- prototypes ----------------------------------------------
  
  int vfd_bnxt_ping_vfs(uint16_t port, int16_t vf);
  int vfd_bnxt_set_vf_mac_anti_spoof(uint16_t port, uint16_t vf_id, uint8_t on);
  int vfd_bnxt_set_vf_vlan_anti_spoof(uint16_t port, uint16_t vf_id, uint8_t on);
  int vfd_bnxt_set_tx_loopback(uint16_t port, uint8_t on);
  int vfd_bnxt_set_vf_unicast_promisc(uint16_t port, uint16_t vf_id, uint8_t on);
  int vfd_bnxt_set_vf_multicast_promisc(uint16_t port, uint16_t vf_id, uint8_t on);
  int vfd_bnxt_set_vf_mac_addr(uint16_t port, uint16_t vf_id, struct ether_addr *mac_addr);
  int vfd_bnxt_set_vf_default_mac_addr( uint16_t port_id, uint16_t vf_id, struct ether_addr *mac_addr );
  int vfd_bnxt_set_vf_vlan_stripq(uint16_t port, uint16_t vf, uint8_t on);
  int vfd_bnxt_set_vf_vlan_insert(uint16_t port, uint16_t vf_id, uint16_t vlan_id);
  int vfd_bnxt_set_vf_broadcast(uint16_t port, uint16_t vf_id, uint8_t on);
  int vfd_bnxt_set_vf_vlan_tag(uint16_t port, uint16_t vf_id, uint8_t on);
  int vfd_bnxt_set_vf_vlan_filter(uint16_t port, uint16_t vlan_id, uint64_t vf_mask, uint8_t on);
  int vfd_bnxt_get_vf_stats(uint16_t port, uint16_t vf_id, struct rte_eth_stats *stats);
  int vfd_bnxt_reset_vf_stats(uint16_t port, uint16_t vf_id);
  
  int vfd_bnxt_vf_msb_event_callback(uint16_t port_id, enum rte_eth_event_type type, void *param, void* data );
  
  int vfd_bnxt_allow_untagged(uint16_t port, uint16_t vf_id, uint8_t on);
  
  int vfd_bnxt_set_all_queues_drop_en(uint16_t port_id, uint8_t on);
  uint32_t vfd_bnxt_get_pf_spoof_stats(uint16_t port_id);
  uint32_t vfd_bnxt_get_vf_spoof_stats(uint16_t port_id, uint16_t vf_id);
  int vfd_bnxt_is_rx_queue_on(uint16_t port_id, uint16_t vf_id, int* mcounter);
  void vfd_bnxt_set_rx_drop(uint16_t port_id, uint16_t vf_id, int state);
  void vfd_bnxt_set_split_erop(uint16_t port_id, uint16_t vf_id, int state);
  int vfd_bnxt_dump_all_vlans(uint16_t port_id);
  
  #endif
  