net/hns3: remove some unused capabilities
authorChengwen Feng <fengchengwen@huawei.com>
Fri, 30 Apr 2021 06:28:45 +0000 (14:28 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 4 May 2021 16:02:14 +0000 (18:02 +0200)
commit116e3399c06cf408fade9fc2a88c3c783794f7ac
treee8771c3e079b47fadf3d40558bb141b3a0170ffe
parent79f8952783d0d186316dc339931ae560ae459712
net/hns3: remove some unused capabilities

This patch deletes some unused capabilities, include:
1. Delete some unused firmware capabilities definition, which are:
   UDP_GSO, ATR, INT_QL, SIMPLE_BD, TX_PUSH, FEC and PAUSE.
2. Delete some unused driver capabilities definition, which are:
   UDP_GSO, TX_PUSH.
3. Also redefine HNS3_DEV_SUPPORT_*  as enum type, and change some of
   the values. Note: the HNS3_DEV_SUPPORT_* values is used only inside
   the driver, so it's safe to change the values.

Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
drivers/net/hns3/hns3_cmd.c
drivers/net/hns3/hns3_cmd.h
drivers/net/hns3/hns3_ethdev.h