bnx2x_vfpf.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /* bnx2x_vfpf.h: Broadcom Everest network driver.
  2. *
  3. * Copyright (c) 2011-2012 Broadcom Corporation
  4. *
  5. * Unless you and Broadcom execute a separate written software license
  6. * agreement governing use of this software, this software is licensed to you
  7. * under the terms of the GNU General Public License version 2, available
  8. * at http://www.gnu.org/licenses/old-licenses/gpl-2.0.html (the "GPL").
  9. *
  10. * Notwithstanding the above, under no circumstances may you combine this
  11. * software in any way with any other Broadcom software provided under a
  12. * license other than the GPL, without Broadcom's express prior written
  13. * consent.
  14. *
  15. * Maintained by: Eilon Greenstein <eilong@broadcom.com>
  16. * Written by: Ariel Elior <ariele@broadcom.com>
  17. */
  18. #ifndef VF_PF_IF_H
  19. #define VF_PF_IF_H
  20. /* HW VF-PF channel definitions
  21. * A.K.A VF-PF mailbox
  22. */
  23. #define TLV_BUFFER_SIZE 1024
  24. struct tlv_buffer_size {
  25. u8 tlv_buffer[TLV_BUFFER_SIZE];
  26. };
  27. union vfpf_tlvs {
  28. struct tlv_buffer_size tlv_buf_size;
  29. };
  30. union pfvf_tlvs {
  31. struct tlv_buffer_size tlv_buf_size;
  32. };
  33. #endif /* VF_PF_IF_H */