You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

mlx_cmd.h 1.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #ifndef NODNIC_CMD_H_
  2. #define NODNIC_CMD_H_
  3. /*
  4. * Copyright (C) 2015 Mellanox Technologies Ltd.
  5. *
  6. * This program is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU General Public License as
  8. * published by the Free Software Foundation; either version 2 of the
  9. * License, or any later version.
  10. *
  11. * This program is distributed in the hope that it will be useful, but
  12. * WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  14. * General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License
  17. * along with this program; if not, write to the Free Software
  18. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
  19. * 02110-1301, USA.
  20. */
  21. FILE_LICENCE ( GPL2_OR_LATER );
  22. #include "mlx_nodnic_data_structures.h"
  23. #include "../../mlx_utils/include/public/mlx_utils.h"
  24. #include "../../mlx_utils/include/public/mlx_pci_gw.h"
  25. mlx_status
  26. nodnic_cmd_read(
  27. IN nodnic_device_priv *device_priv,
  28. IN mlx_uint32 address,
  29. OUT mlx_pci_gw_buffer *buffer
  30. );
  31. mlx_status
  32. nodnic_cmd_write(
  33. IN nodnic_device_priv *device_priv,
  34. IN mlx_uint32 address,
  35. IN mlx_pci_gw_buffer buffer
  36. );
  37. #endif /* STUB_NODNIC_CMD_H_ */