net/enic: fix missing offload capabilities
authorHyong Youb Kim <hyonkim@cisco.com>
Mon, 14 May 2018 14:11:26 +0000 (07:11 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 14 May 2018 21:32:23 +0000 (22:32 +0100)
commit2b9919feab751aabf7a8a8d33eb211c7126b9c1b
treeb32ac9a7cbff914ddb93a1362e8976af359a7cdc
parent59056833cc72e6ec2431cf990380394bc96e078a
net/enic: fix missing offload capabilities

Add the following missing flags to the advertised offloads.
- DEV_RX_OFFLOAD_CRC_STRIP
  CRC is always stripped.
- DEV_RX_OFFLOAD_JUMBO_FRAME
  Jumbo support is always enabled on the NIC.
- DEV_RX_OFFLOAD_SCATTER
  Scatter Rx is currently supported.
- DEV_TX_OFFLOAD_MULTI_SEGS
  Multiple-segment transmit has always been supported.

Fixes: 93fb21fdbe23 ("net/enic: enable overlay offload for VXLAN and GENEVE")

Signed-off-by: Hyong Youb Kim <hyonkim@cisco.com>
drivers/net/enic/enic_res.c