summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMintz, Yuval <Yuval.Mintz@cavium.com>2017-06-04 13:31:08 +0300
committerDavid S. Miller <davem@davemloft.net>2017-06-04 23:08:31 -0400
commitcbb8a12c089c7f04b86d08d89bdab71ec9bff1f5 (patch)
treed85b8c2d572543192a4e58f813237c13a4308613 /include
parent1a850bfc9e71871599ddbc0d4d4cffa2dc409855 (diff)
downloadlinux-cbb8a12c089c7f04b86d08d89bdab71ec9bff1f5.tar.bz2
qed: VF XDP support
The final addition on the qed front - - VFs would now require their PFs to provide multiple CIDs - Based on the availability of connections from PF, determine whether XDP is feasible and share it with qede via dev_info. Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/qed/qed_eth_if.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/qed/qed_eth_if.h b/include/linux/qed/qed_eth_if.h
index fd72056f8d49..0eef0a2b1901 100644
--- a/include/linux/qed/qed_eth_if.h
+++ b/include/linux/qed/qed_eth_if.h
@@ -73,6 +73,9 @@ struct qed_dev_eth_info {
/* Legacy VF - this affects the datapath, so qede has to know */
bool is_legacy;
+
+ /* Might depend on available resources [in case of VF] */
+ bool xdp_supported;
};
struct qed_update_vport_rss_params {