RVU_PFVF_FUNC_MASK
req->pcifunc &= RVU_PFVF_FUNC_MASK;
req->pcifunc |= (vf + 1) & RVU_PFVF_FUNC_MASK;
RVU_PFVF_FUNC_MASK;
& RVU_PFVF_FUNC_MASK) - 1;
if (pcifunc & RVU_PFVF_FUNC_MASK)
if (pcifunc & RVU_PFVF_FUNC_MASK)
pf = rvu_get_pfvf(rvu, pcifunc & ~RVU_PFVF_FUNC_MASK);
vf = pcifunc & RVU_PFVF_FUNC_MASK;
if ((pcifunc & RVU_PFVF_FUNC_MASK) || is_lbk_vf(rvu, pcifunc))
target = (pcifunc & ~RVU_PFVF_FUNC_MASK) | (req->vf + 1);
~(RVU_PFVF_FUNC_MASK << RVU_PFVF_FUNC_SHIFT);
if (msg->pcifunc & RVU_PFVF_FUNC_MASK)
(msg->pcifunc & RVU_PFVF_FUNC_MASK) - 1);
if (pcifunc & RVU_PFVF_FUNC_MASK) {
if (pcifunc & RVU_PFVF_FUNC_MASK) {
func = pcifunc & RVU_PFVF_FUNC_MASK;
if (pcifunc & RVU_PFVF_FUNC_MASK)
if (!(pcifunc & RVU_PFVF_FUNC_MASK))
vf = (pcifunc & RVU_PFVF_FUNC_MASK) - 1;
((func & RVU_PFVF_FUNC_MASK) <<
((func & RVU_PFVF_FUNC_MASK) <<
return (!(pcifunc & ~RVU_PFVF_FUNC_MASK) &&
return !!(pcifunc & RVU_PFVF_FUNC_MASK);
return ((pcifunc & RVU_PFVF_FUNC_MASK) &&
pcifunc & RVU_PFVF_FUNC_MASK)) {
if (!((block->fn_map[lf] & ~RVU_PFVF_FUNC_MASK) == (pcifunc &
~RVU_PFVF_FUNC_MASK)))
err = rvu_cgx_config_rxtx(rvu, pcifunc & ~RVU_PFVF_FUNC_MASK,
pcifunc & RVU_PFVF_FUNC_MASK)) {
if ((pcifunc & RVU_PFVF_FUNC_MASK) ||
(pcifunc & RVU_PFVF_FUNC_MASK)) * LMT_MAPTBL_ENTRY_SIZE;
((pcifunc & RVU_PFVF_FUNC_MASK) & 0xFF);
if (pcifunc & RVU_PFVF_FUNC_MASK)
if (!(pcifunc & RVU_PFVF_FUNC_MASK))
} else if (!(req->hdr.pcifunc & RVU_PFVF_FUNC_MASK)) {
if (!(pcifunc & RVU_PFVF_FUNC_MASK))
(pcifunc & RVU_PFVF_FUNC_MASK) - 1);
if (!(pcifunc & RVU_PFVF_FUNC_MASK))
(pcifunc & RVU_PFVF_FUNC_MASK) - 1);
if (iter->owner & RVU_PFVF_FUNC_MASK) {
vf = (iter->owner & RVU_PFVF_FUNC_MASK) - 1;
if (target & RVU_PFVF_FUNC_MASK) {
vf = (target & RVU_PFVF_FUNC_MASK) - 1;
pcifunc & RVU_PFVF_FUNC_MASK);
schq = start + (pcifunc & RVU_PFVF_FUNC_MASK);
idx = pcifunc & RVU_PFVF_FUNC_MASK;
if ((TXSCH_MAP_FUNC(txsch->pfvf_map[tl2]) & ~RVU_PFVF_FUNC_MASK) !=
~RVU_PFVF_FUNC_MASK)))
if (!(pcifunc & RVU_PFVF_FUNC_MASK)) {
pcifunc & RVU_PFVF_FUNC_MASK) {
pcifunc & RVU_PFVF_FUNC_MASK);
idx = mce_idx + (pcifunc & RVU_PFVF_FUNC_MASK);
pcifunc & ~RVU_PFVF_FUNC_MASK))) {
pfvf = rvu_get_pfvf(rvu, pcifunc & ~RVU_PFVF_FUNC_MASK);
pcifunc & ~RVU_PFVF_FUNC_MASK,
vf = (pcifunc & RVU_PFVF_FUNC_MASK) - 1;
from_vf = !!(pcifunc & RVU_PFVF_FUNC_MASK);
vf = (pcifunc & RVU_PFVF_FUNC_MASK) - 1;
bool from_vf = req->hdr.pcifunc & RVU_PFVF_FUNC_MASK;
bool from_vf = !!(pcifunc & RVU_PFVF_FUNC_MASK);
index = npc_get_nixlf_mcam_index(mcam, pcifunc & ~RVU_PFVF_FUNC_MASK,
pfvf = rvu_get_pfvf(rvu, pcifunc & ~RVU_PFVF_FUNC_MASK);
if ((pcifunc & RVU_PFVF_FUNC_MASK) && !rvu->hw->cap.nix_rx_multicast)
if (pf && !(pcifunc & RVU_PFVF_FUNC_MASK)) {
if (!(pcifunc & RVU_PFVF_FUNC_MASK))
if (!(pcifunc & RVU_PFVF_FUNC_MASK) &&
if (!(pcifunc & RVU_PFVF_FUNC_MASK) &&
if (!(pcifunc & RVU_PFVF_FUNC_MASK)) {
(owner & RVU_PFVF_FUNC_MASK) ||
!(target_func & RVU_PFVF_FUNC_MASK))
pcifunc & ~RVU_PFVF_FUNC_MASK,
pfvf = rvu_get_pfvf(rvu, pcifunc & ~RVU_PFVF_FUNC_MASK);
pcifunc = pcifunc & ~RVU_PFVF_FUNC_MASK;
pcifunc = pcifunc & ~RVU_PFVF_FUNC_MASK;
vf_func = pcifunc & RVU_PFVF_FUNC_MASK;
pcifunc = pcifunc & ~RVU_PFVF_FUNC_MASK;
pcifunc = pcifunc & ~RVU_PFVF_FUNC_MASK;
if (!(pcifunc & RVU_PFVF_FUNC_MASK))
bool from_vf = !!(req->hdr.pcifunc & RVU_PFVF_FUNC_MASK);
target = (req->hdr.pcifunc & ~RVU_PFVF_FUNC_MASK) | req->vf;
((vf + 1) & RVU_PFVF_FUNC_MASK);
!(pcifunc & RVU_PFVF_FUNC_MASK));
if (!(pcifunc & ~RVU_PFVF_FUNC_MASK))
!!(pcifunc & RVU_PFVF_FUNC_MASK));
return !!(pcifunc & RVU_PFVF_FUNC_MASK);
devid = msg->pcifunc & RVU_PFVF_FUNC_MASK;
req->hdr.pcifunc &= RVU_PFVF_FUNC_MASK;
req->hdr.pcifunc |= (vf + 1) & RVU_PFVF_FUNC_MASK;
if (pf->linfo.link_up && !(pf->pcifunc & RVU_PFVF_FUNC_MASK))
msg->pcifunc &= ~RVU_PFVF_FUNC_MASK;
msg->pcifunc |= (vf_idx + 1) & RVU_PFVF_FUNC_MASK;
devid = msg->pcifunc & RVU_PFVF_FUNC_MASK;
req->vf = priv->pcifunc & RVU_PFVF_FUNC_MASK;
req->vf = rdev->pcifunc & RVU_PFVF_FUNC_MASK;
RVU_PFVF_FUNC_MASK) - 1));
n = (vf->pcifunc >> RVU_PFVF_FUNC_SHIFT) & RVU_PFVF_FUNC_MASK;
n = vf->pcifunc & RVU_PFVF_FUNC_MASK;
if (!(rep->pcifunc & RVU_PFVF_FUNC_MASK)) {
attrs.pci_vf.vf = rep->pcifunc & RVU_PFVF_FUNC_MASK;
(pcifunc & RVU_PFVF_FUNC_MASK));