test: enable HW CRC strip by default
Since VF can not disable/enable HW CRC strip for non-DPDK PF drivers, and kernel driver almost default enable that feature, if disable it in test app's rxmode, VF driver will report the VF launch failure. So this patch default to enable HW CRC strip to let VF launch successful. Cc: stable@dpdk.org Signed-off-by: Jeff Guo <jia.guo@intel.com> Acked-by: Jingjing Wu <jingjing.wu@intel.com>
This commit is contained in:
parent
79dd163fca
commit
b219c8cc07
@ -105,7 +105,7 @@ static struct rte_eth_conf port_conf = {
|
||||
.hw_ip_checksum = 1, /* IP checksum offload enabled */
|
||||
.hw_vlan_filter = 0, /* VLAN filtering disabled */
|
||||
.jumbo_frame = 0, /* Jumbo Frame Support disabled */
|
||||
.hw_strip_crc = 0, /* CRC stripped by hardware */
|
||||
.hw_strip_crc = 1, /* CRC stripped by hardware */
|
||||
},
|
||||
.rx_adv_conf = {
|
||||
.rss_conf = {
|
||||
|
@ -92,7 +92,7 @@ static const struct rte_eth_conf port_conf = {
|
||||
.hw_ip_checksum = 0,
|
||||
.hw_vlan_filter = 0,
|
||||
.jumbo_frame = 0,
|
||||
.hw_strip_crc = 0,
|
||||
.hw_strip_crc = 1,
|
||||
},
|
||||
.txmode = {
|
||||
.mq_mode = ETH_DCB_NONE,
|
||||
|
@ -172,7 +172,7 @@ struct rte_eth_rxmode rx_mode = {
|
||||
.hw_vlan_strip = 1, /**< VLAN strip enabled. */
|
||||
.hw_vlan_extend = 0, /**< Extended VLAN disabled. */
|
||||
.jumbo_frame = 0, /**< Jumbo Frame Support disabled. */
|
||||
.hw_strip_crc = 0, /**< CRC stripping by hardware disabled. */
|
||||
.hw_strip_crc = 1, /**< CRC stripping by hardware enabled. */
|
||||
};
|
||||
|
||||
struct rte_fdir_conf fdir_conf = {
|
||||
@ -191,7 +191,7 @@ static struct rte_eth_conf default_pmd_conf = {
|
||||
.hw_ip_checksum = 0, /**< IP checksum offload enabled */
|
||||
.hw_vlan_filter = 0, /**< VLAN filtering disabled */
|
||||
.jumbo_frame = 0, /**< Jumbo Frame Support disabled */
|
||||
.hw_strip_crc = 0, /**< CRC stripped by hardware */
|
||||
.hw_strip_crc = 1, /**< CRC stripped by hardware */
|
||||
},
|
||||
.txmode = {
|
||||
.mq_mode = ETH_MQ_TX_NONE,
|
||||
|
@ -143,7 +143,7 @@ static struct rte_eth_conf default_pmd_conf = {
|
||||
.hw_ip_checksum = 0, /**< IP checksum offload enabled */
|
||||
.hw_vlan_filter = 0, /**< VLAN filtering disabled */
|
||||
.jumbo_frame = 0, /**< Jumbo Frame Support disabled */
|
||||
.hw_strip_crc = 0, /**< CRC stripped by hardware */
|
||||
.hw_strip_crc = 1, /**< CRC stripped by hardware */
|
||||
},
|
||||
.txmode = {
|
||||
.mq_mode = ETH_MQ_TX_NONE,
|
||||
|
@ -116,7 +116,7 @@ static struct rte_eth_conf default_pmd_conf = {
|
||||
.hw_ip_checksum = 0, /**< IP checksum offload enabled */
|
||||
.hw_vlan_filter = 0, /**< VLAN filtering disabled */
|
||||
.jumbo_frame = 0, /**< Jumbo Frame Support disabled */
|
||||
.hw_strip_crc = 0, /**< CRC stripped by hardware */
|
||||
.hw_strip_crc = 1, /**< CRC stripped by hardware */
|
||||
},
|
||||
.txmode = {
|
||||
.mq_mode = ETH_MQ_TX_NONE,
|
||||
@ -133,7 +133,7 @@ static struct rte_eth_conf rss_pmd_conf = {
|
||||
.hw_ip_checksum = 0, /**< IP checksum offload enabled */
|
||||
.hw_vlan_filter = 0, /**< VLAN filtering disabled */
|
||||
.jumbo_frame = 0, /**< Jumbo Frame Support disabled */
|
||||
.hw_strip_crc = 0, /**< CRC stripped by hardware */
|
||||
.hw_strip_crc = 1, /**< CRC stripped by hardware */
|
||||
},
|
||||
.txmode = {
|
||||
.mq_mode = ETH_MQ_TX_NONE,
|
||||
|
@ -100,7 +100,7 @@ static struct rte_eth_conf port_conf = {
|
||||
.hw_vlan_strip = 0, /**< VLAN strip enabled. */
|
||||
.hw_vlan_extend = 0, /**< Extended VLAN disabled. */
|
||||
.jumbo_frame = 0, /**< Jumbo Frame Support disabled */
|
||||
.hw_strip_crc = 0, /**< CRC stripped by hardware */
|
||||
.hw_strip_crc = 1, /**< CRC stripped by hardware */
|
||||
.enable_scatter = 0, /**< scatter rx disabled */
|
||||
},
|
||||
.txmode = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user