| /f-stack/dpdk/drivers/net/hns3/ |
| H A D | hns3_flow.c | 505 hns3_set_bit(rule->input_set, INNER_VLAN_TAG1, in hns3_parse_vlan() 510 hns3_set_bit(rule->input_set, INNER_VLAN_TAG2, in hns3_parse_vlan() 540 hns3_set_bit(rule->input_set, INNER_ETH_TYPE, 1); in hns3_parse_ipv4() 561 hns3_set_bit(rule->input_set, INNER_SRC_IP, 1); in hns3_parse_ipv4() 567 hns3_set_bit(rule->input_set, INNER_DST_IP, 1); in hns3_parse_ipv4() 573 hns3_set_bit(rule->input_set, INNER_IP_TOS, 1); in hns3_parse_ipv4() 607 hns3_set_bit(rule->input_set, INNER_ETH_TYPE, 1); in hns3_parse_ipv6() 632 hns3_set_bit(rule->input_set, INNER_SRC_IP, 1); in hns3_parse_ipv6() 634 hns3_set_bit(rule->input_set, INNER_DST_IP, 1); in hns3_parse_ipv6() 663 hns3_set_bit(rule->input_set, INNER_IP_PROTO, 1); in hns3_parse_tcp() [all …]
|
| H A D | hns3_cmd.c | 419 hns3_set_bit(hw->capability, HNS3_DEV_SUPPORT_UDP_GSO_B, 1); in hns3_parse_capability() 421 hns3_set_bit(hw->capability, HNS3_DEV_SUPPORT_FD_QUEUE_REGION_B, in hns3_parse_capability() 424 hns3_set_bit(hw->capability, HNS3_DEV_SUPPORT_PTP_B, 1); in hns3_parse_capability() 426 hns3_set_bit(hw->capability, HNS3_DEV_SUPPORT_TX_PUSH_B, 1); in hns3_parse_capability() 428 hns3_set_bit(hw->capability, HNS3_DEV_SUPPORT_COPPER_B, 1); in hns3_parse_capability() 430 hns3_set_bit(hw->capability, HNS3_DEV_SUPPORT_INDEP_TXRX_B, 1); in hns3_parse_capability() 432 hns3_set_bit(hw->capability, HNS3_DEV_SUPPORT_STASH_B, 1); in hns3_parse_capability()
|
| H A D | hns3_fdir.c | 390 hns3_set_bit(req1->port_info, HNS3_FD_EPORT_SW_EN_B, 0); in hns3_fd_tcam_config() 428 hns3_set_bit(ad_data, HNS3_FD_AD_WR_RULE_ID_B, in hns3_fd_ad_config() 433 hns3_set_bit(ad_data, HNS3_FD_AD_QUEUE_REGION_EN_B, 1); in hns3_fd_ad_config() 440 hns3_set_bit(ad_data, HNS3_FD_AD_COUNTER_HIGH_BIT_B, 1); in hns3_fd_ad_config() 443 hns3_set_bit(ad_data, HNS3_FD_AD_QUEUE_ID_HIGH_BIT_B, 1); in hns3_fd_ad_config() 445 hns3_set_bit(ad_data, HNS3_FD_AD_DROP_B, action->drop_packet); in hns3_fd_ad_config() 447 hns3_set_bit(ad_data, HNS3_FD_AD_DIRECT_QID_B, 1); in hns3_fd_ad_config() 450 hns3_set_bit(ad_data, HNS3_FD_AD_USE_COUNTER_B, action->use_counter); in hns3_fd_ad_config() 453 hns3_set_bit(ad_data, HNS3_FD_AD_NXT_STEP_B, action->use_next_stage); in hns3_fd_ad_config() 632 hns3_set_bit(port_number, HNS3_PORT_TYPE_B, HOST_PORT); in hns3_get_port_number() [all …]
|
| H A D | hns3_ethdev.c | 3108 hns3_set_bit(hw->hw_tc_map, 0, 1); in hns3_get_board_configuration() 4385 hns3_set_bit(loop_en, HNS3_MAC_TX_EN_B, val); in hns3_cfg_mac_mode() 4386 hns3_set_bit(loop_en, HNS3_MAC_RX_EN_B, val); in hns3_cfg_mac_mode() 4387 hns3_set_bit(loop_en, HNS3_MAC_PAD_TX_B, val); in hns3_cfg_mac_mode() 4388 hns3_set_bit(loop_en, HNS3_MAC_PAD_RX_B, val); in hns3_cfg_mac_mode() 4389 hns3_set_bit(loop_en, HNS3_MAC_1588_TX_B, 0); in hns3_cfg_mac_mode() 4390 hns3_set_bit(loop_en, HNS3_MAC_1588_RX_B, 0); in hns3_cfg_mac_mode() 4391 hns3_set_bit(loop_en, HNS3_MAC_APP_LP_B, 0); in hns3_cfg_mac_mode() 4392 hns3_set_bit(loop_en, HNS3_MAC_LINE_LP_B, 0); in hns3_cfg_mac_mode() 4393 hns3_set_bit(loop_en, HNS3_MAC_FCS_TX_B, val); in hns3_cfg_mac_mode() [all …]
|
| H A D | hns3_rss.c | 616 hns3_set_bit(mode, HNS3_RSS_TC_VALID_B, (tc_valid[i] & 0x1)); in hns3_set_rss_tc_mode() 620 hns3_set_bit(mode, HNS3_RSS_TC_SIZE_MSB_S, 1); in hns3_set_rss_tc_mode()
|
| H A D | hns3_dcb.c | 369 hns3_set_bit(shap_cfg_cmd->flag, HNS3_TM_RATE_VLD_B, 1); in hns3_dcb_port_shaper_cfg() 400 hns3_set_bit(shap_cfg_cmd->flag, HNS3_TM_RATE_VLD_B, 1); in hns3_dcb_pg_shapping_cfg() 528 hns3_set_bit(shap_cfg_cmd->flag, HNS3_TM_RATE_VLD_B, 1); in hns3_dcb_pri_shapping_cfg()
|
| H A D | hns3_ethdev.h | 806 #define hns3_set_bit(origin, shift, val) \ macro
|
| H A D | hns3_rxtx.c | 571 hns3_set_bit(req->enable, HNS3_TQP_ENABLE_B, enable ? 1 : 0); in hns3_tqp_enable() 591 hns3_set_bit(req->reset_req, HNS3_TQP_RESET_B, enable ? 1 : 0); in hns3_send_reset_tqp_cmd() 738 hns3_set_bit(req->reset_req, HNS3_TQP_RESET_B, enable ? 1 : 0); in hns3_send_reset_queue_cmd()
|