Home
last modified time | relevance | path

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

/freebsd/sys/dev/cxgbe/
H A Dt4_filter.c414 if (tpp->vnic_mode != FW_VNIC_MODE_OUTER_VLAN) in check_fspec_against_fconf_iconf()
420 if (tpp->vnic_mode != FW_VNIC_MODE_PF_VF) in check_fspec_against_fconf_iconf()
427 if (tpp->vnic_mode != FW_VNIC_MODE_ENCAP_EN); in check_fspec_against_fconf_iconf()
450 fconf_to_mode(uint16_t hwmode, int vnic_mode) in fconf_to_mode() argument
476 switch (vnic_mode) { in fconf_to_mode()
502 *mode = fconf_to_mode(filter_mode, tp->vnic_mode); in get_filter_mode()
516 if ((iconf == -1 || iconf == tp->vnic_mode) && fconf == tp->filter_mode) in set_filter_mode()
567 if (iconf != -1 && iconf != tp->vnic_mode) in set_filter_mask()
843 if (tp->vnic_mode == FW_VNIC_MODE_PF_VF) in hashfilter_ntuple()
845 else if (tp->vnic_mode == FW_VNIC_MODE_OUTER_VLAN) in hashfilter_ntuple()
[all …]
/freebsd/sys/dev/cxgbe/common/
H A Dcommon.h258 int vnic_mode; member
771 int t4_set_filter_cfg(struct adapter *adap, int mode, int mask, int vnic_mode);
H A Dt4_hw.c9668 tpp->vnic_mode = val[1]; in read_filter_mode_and_ingress_config()
9689 tpp->vnic_mode = FW_VNIC_MODE_PF_VF; in read_filter_mode_and_ingress_config()
9691 tpp->vnic_mode = FW_VNIC_MODE_OUTER_VLAN; in read_filter_mode_and_ingress_config()
10845 int t4_set_filter_cfg(struct adapter *adap, int mode, int mask, int vnic_mode) in t4_set_filter_cfg() argument
10913 if (vnic_mode != -1) { in t4_set_filter_cfg()
10917 val = vnic_mode; in t4_set_filter_cfg()
/freebsd/sys/dev/cxgbe/tom/
H A Dt4_tom.c1211 if (tp->vnic_shift >= 0 && tp->vnic_mode == FW_VNIC_MODE_PF_VF) { in select_ntuple()