Searched hist:"37 dc8fea8656f149e0fa5a03a2736b32350fe2b1" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_type.h | diff 37dc8fea8656f149e0fa5a03a2736b32350fe2b1 Tue Feb 23 17:47:07 CST 2021 Jesse Brandeburg <jesse.brandeburg@intel.com> iavf: clean up packet type lookup table
Remove the unused ptype struct value, which makes table init easier for the zero entries, and use ranged initializer to remove a bunch of code (works with gcc and clang). There is no significant functional change.
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
|
H A D | iavf_common.c | diff 37dc8fea8656f149e0fa5a03a2736b32350fe2b1 Tue Feb 23 17:47:07 CST 2021 Jesse Brandeburg <jesse.brandeburg@intel.com> iavf: clean up packet type lookup table
Remove the unused ptype struct value, which makes table init easier for the zero entries, and use ranged initializer to remove a bunch of code (works with gcc and clang). There is no significant functional change.
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
|