[Intel-wired-lan] [PATCH S33 11/15] ice: add helpers for virtchnl

Bowers, AndrewX andrewx.bowers at intel.com
Tue Nov 12 19:35:33 UTC 2019


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Tony Nguyen
> Sent: Friday, November 8, 2019 6:23 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH S33 11/15] ice: add helpers for virtchnl
> 
> From: Jesse Brandeburg <jesse.brandeburg at intel.com>
> 
> The virtchannel interface was repeating a lot of strings and wasting storage
> space in the kernel.  There was also inconsistent messages for the same
> thing.  Consolidate all those messages and bit checks into a couple of helper
> functions.
> 
> Also, reduce stack space usage by simplifying getting the pointer to the pf
> using a helper.
> 
> Signed-off-by: Jesse Brandeburg <jesse.brandeburg at intel.com>
> Co-developed-by: Brett Creeley <brett.creeley at intel.com>
> Signed-off-by: Brett Creeley <brett.creeley at intel.com>
> Signed-off-by: Tony Nguyen <anthony.l.nguyen at intel.com>
> ---
>  .../net/ethernet/intel/ice/ice_virtchnl_pf.c  | 134 ++++++++----------
>  1 file changed, 63 insertions(+), 71 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list