X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Focteontx2%2Fotx2_ethdev_devargs.c;h=71d3e9747552116b906b80e201e6cd45e845accf;hb=df96fd0d73955bdc7ca3909e772ff2ad903249c6;hp=d4a85bf55ede2eb67f1705789c592dd071c9bb1a;hpb=3b0bc725f096e833b19f812c81b2642e0c364f8b;p=dpdk.git diff --git a/drivers/net/octeontx2/otx2_ethdev_devargs.c b/drivers/net/octeontx2/otx2_ethdev_devargs.c index d4a85bf55e..71d3e97475 100644 --- a/drivers/net/octeontx2/otx2_ethdev_devargs.c +++ b/drivers/net/octeontx2/otx2_ethdev_devargs.c @@ -114,7 +114,11 @@ parse_switch_header_type(const char *key, const char *value, void *extra_args) *(uint16_t *)extra_args = OTX2_PRIV_FLAGS_EDSA; if (strcmp(value, "chlen90b") == 0) - *(uint16_t *)extra_args = OTX2_PRIV_FLAGS_LEN_90B; + *(uint16_t *)extra_args = OTX2_PRIV_FLAGS_CH_LEN_90B; + + if (strcmp(value, "chlen24b") == 0) + *(uint16_t *)extra_args = OTX2_PRIV_FLAGS_CH_LEN_24B; + return 0; } @@ -198,7 +202,7 @@ RTE_PMD_REGISTER_PARAM_STRING(net_octeontx2, OTX2_MAX_SQB_COUNT "=<8-512>" OTX2_FLOW_PREALLOC_SIZE "=<1-32>" OTX2_FLOW_MAX_PRIORITY "=<1-32>" - OTX2_SWITCH_HEADER_TYPE "=" + OTX2_SWITCH_HEADER_TYPE "=" OTX2_RSS_TAG_AS_XOR "=1" OTX2_NPA_LOCK_MASK "=<1-65535>" OTX2_LOCK_RX_CTX "=1"