Re: ibmvfc oddities

2017-09-21 Thread Hannes Reinecke
On 09/21/2017 08:29 PM, Tyrel Datwyler wrote: > On 09/21/2017 08:13 AM, Brian King wrote: >> On 09/21/2017 05:02 AM, Hannes Reinecke wrote: >>> Hi Brian, >>> >>> I was looking at the ibmvfc code (trying to hook up libfc), and have >>> found this definition: >>> >>> struct ibmvfc_fcp_rsp_info { >>>

Re: ibmvfc oddities

2017-09-21 Thread Tyrel Datwyler
On 09/21/2017 08:13 AM, Brian King wrote: > On 09/21/2017 05:02 AM, Hannes Reinecke wrote: >> Hi Brian, >> >> I was looking at the ibmvfc code (trying to hook up libfc), and have >> found this definition: >> >> struct ibmvfc_fcp_rsp_info { >> __be16 reserved; >> u8 rsp_code; >> u8 re

Re: ibmvfc oddities

2017-09-21 Thread Brian King
On 09/21/2017 05:02 AM, Hannes Reinecke wrote: > Hi Brian, > > I was looking at the ibmvfc code (trying to hook up libfc), and have > found this definition: > > struct ibmvfc_fcp_rsp_info { > __be16 reserved; > u8 rsp_code; > u8 reserved2[4]; > }__attribute__((packed, aligned (2

ibmvfc oddities

2017-09-21 Thread Hannes Reinecke
Hi Brian, I was looking at the ibmvfc code (trying to hook up libfc), and have found this definition: struct ibmvfc_fcp_rsp_info { __be16 reserved; u8 rsp_code; u8 reserved2[4]; }__attribute__((packed, aligned (2))); in comparison, libfc has this: struct fcp_resp_rsp_inf