Home
last modified time | relevance | path

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

/freebsd-13-stable/sys/dev/bnxt/
HDif_bnxt.c660 softc->vnic_info.id = (uint16_t)HWRM_NA_SIGNATURE; in bnxt_rx_queues_alloc()
661 softc->vnic_info.filter_id = -1; in bnxt_rx_queues_alloc()
662 softc->vnic_info.def_ring_grp = (uint16_t)HWRM_NA_SIGNATURE; in bnxt_rx_queues_alloc()
663 softc->vnic_info.cos_rule = (uint16_t)HWRM_NA_SIGNATURE; in bnxt_rx_queues_alloc()
664 softc->vnic_info.lb_rule = (uint16_t)HWRM_NA_SIGNATURE; in bnxt_rx_queues_alloc()
665 softc->vnic_info.rx_mask = HWRM_CFA_L2_SET_RX_MASK_INPUT_MASK_BCAST | in bnxt_rx_queues_alloc()
667 softc->vnic_info.mc_list_count = 0; in bnxt_rx_queues_alloc()
668 softc->vnic_info.flags = BNXT_VNIC_FLAG_DEFAULT; in bnxt_rx_queues_alloc()
670 &softc->vnic_info.mc_list, 0); in bnxt_rx_queues_alloc()
676 &softc->vnic_info.rss_hash_key_tbl, 0); in bnxt_rx_queues_alloc()
[all …]
HDbnxt_sysctl.c919 p += sprintf(p, "%02x", softc->vnic_info.rss_hash_key[i]); in bnxt_rss_key_sysctl()
929 if (sscanf(p, "%02hhx", &softc->vnic_info.rss_hash_key[i]) != 1) in bnxt_rss_key_sysctl()
935 bnxt_hwrm_rss_cfg(softc, &softc->vnic_info, in bnxt_rss_key_sysctl()
936 softc->vnic_info.rss_hash_type); in bnxt_rss_key_sysctl()
966 for (type = softc->vnic_info.rss_hash_type; type; in bnxt_rss_type_sysctl()
971 if (type != softc->vnic_info.rss_hash_type) in bnxt_rss_type_sysctl()
987 if (type != softc->vnic_info.rss_hash_type) { in bnxt_rss_type_sysctl()
988 softc->vnic_info.rss_hash_type = type; in bnxt_rss_type_sysctl()
990 bnxt_hwrm_rss_cfg(softc, &softc->vnic_info, in bnxt_rss_type_sysctl()
991 softc->vnic_info.rss_hash_type); in bnxt_rss_type_sysctl()
[all …]
HDbnxt_hwrm.c1453 struct bnxt_vnic_info *vnic = &softc->vnic_info; in bnxt_hwrm_free_filter()
1457 rc = bnxt_hwrm_l2_filter_free(softc, softc->vnic_info.filter_id); in bnxt_hwrm_free_filter()
1478 struct bnxt_vnic_info *vnic = &softc->vnic_info; in bnxt_hwrm_l2_filter_alloc()
1526 struct bnxt_vnic_info *vnic = &softc->vnic_info; in bnxt_hwrm_set_filter()
1637 if (softc->vnic_info.id == (uint16_t) HWRM_NA_SIGNATURE) { in bnxt_hwrm_vnic_tpa_cfg()
1668 req.vnic_id = htole16(softc->vnic_info.id); in bnxt_hwrm_vnic_tpa_cfg()
HDbnxt.h725 struct bnxt_vnic_info vnic_info; member