Re: [PATCH net-next 2/8] qed: Add support for tlv request processing.

2018-05-21 Thread David Miller
From: Sudarsana Reddy Kalluru Date: Mon, 21 May 2018 03:40:12 -0700 > +struct qed_tlv_parsed_buf { > + /* To be filled with the address to set in Value field */ > + u8 *p_val; Assignments to this pointer are cast hundreds of times, like: > + p_buf->p_val = (u8 *)&p_d

[PATCH net-next 2/8] qed: Add support for tlv request processing.

2018-05-21 Thread Sudarsana Reddy Kalluru
The patch adds driver support for processing TLV requests/repsonses from the mfw and upper driver layers respectively. The implementation reads the requested TLVs from the shared memory, requests the values from upper layer drivers, populates this info (TLVs) shared memory and notifies MFW about th