Home
last modified time | relevance | path

Searched refs:cpi_alg (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/cavium/thunder/
Dnic_main.c492 ((u64)cfg->cpi_alg << 62) | (cpi_base << 48)); in nic_config_cpi()
494 if (cfg->cpi_alg == CPI_ALG_NONE) in nic_config_cpi()
496 else if (cfg->cpi_alg == CPI_ALG_VLAN) /* 3 bits of PCP */ in nic_config_cpi()
498 else if (cfg->cpi_alg == CPI_ALG_VLAN16) /* 3 bits PCP + DEI */ in nic_config_cpi()
500 else if (cfg->cpi_alg == CPI_ALG_DIFF) /* 6bits DSCP */ in nic_config_cpi()
516 if (cfg->cpi_alg != CPI_ALG_DIFF) in nic_config_cpi()
538 if (cfg->cpi_alg == CPI_ALG_VLAN) in nic_config_cpi()
540 else if (cfg->cpi_alg == CPI_ALG_VLAN16) in nic_config_cpi()
542 else if (cfg->cpi_alg == CPI_ALG_DIFF) in nic_config_cpi()
Dnic.h313 u8 cpi_alg; member
479 u8 cpi_alg; member
Dnicvf_main.c70 static int cpi_alg = CPI_ALG_NONE; variable
71 module_param(cpi_alg, int, 0444);
72 MODULE_PARM_DESC(cpi_alg,
318 mbx.cpi_cfg.cpi_alg = nic->cpi_alg; in nicvf_config_cpi()
377 if (cpi_alg != CPI_ALG_NONE) { in nicvf_rss_init()
1499 nic->cpi_alg = cpi_alg; in nicvf_open()