ice: Code optimization for ice_fill_sw_rule()
authorZhenning Xiao <zhenning.xiao@intel.com>
Thu, 9 Aug 2018 13:29:48 +0000 (06:29 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 28 Aug 2018 17:21:36 +0000 (10:21 -0700)
commit74118f7af092a4edc194573a8749f3843d280d3f
treef594c65a683e12742236106fe804037b13d15e43
parentfd2a981777d911b2e94cdec50779c85c58a0dec9
ice: Code optimization for ice_fill_sw_rule()

Use the buffer in the s_rule structure directly instead of using
a local array eth_hdr[DUMMY_ETH_HDR_LEN]

Signed-off-by: Zhenning Xiao <zhenning.xiao@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_switch.c