Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c5099 u8 promisc_cfg = 0; in hclge_cmd_set_promisc_mode() local
5110 hnae3_set_bit(promisc_cfg, HCLGE_PROMISC_UC_RX_EN, en_uc ? 1 : 0); in hclge_cmd_set_promisc_mode()
5111 hnae3_set_bit(promisc_cfg, HCLGE_PROMISC_MC_RX_EN, en_mc ? 1 : 0); in hclge_cmd_set_promisc_mode()
5112 hnae3_set_bit(promisc_cfg, HCLGE_PROMISC_BC_RX_EN, en_bc ? 1 : 0); in hclge_cmd_set_promisc_mode()
5113 hnae3_set_bit(promisc_cfg, HCLGE_PROMISC_UC_TX_EN, uc_tx_en ? 1 : 0); in hclge_cmd_set_promisc_mode()
5114 hnae3_set_bit(promisc_cfg, HCLGE_PROMISC_MC_TX_EN, en_mc ? 1 : 0); in hclge_cmd_set_promisc_mode()
5115 hnae3_set_bit(promisc_cfg, HCLGE_PROMISC_BC_TX_EN, en_bc ? 1 : 0); in hclge_cmd_set_promisc_mode()
5116 req->extend_promisc = promisc_cfg; in hclge_cmd_set_promisc_mode()
5119 promisc_cfg = 0; in hclge_cmd_set_promisc_mode()
5120 hnae3_set_bit(promisc_cfg, HCLGE_PROMISC_EN_UC, en_uc ? 1 : 0); in hclge_cmd_set_promisc_mode()
[all …]