diff options
author | Subbaraya Sundeep <sbhatta@marvell.com> | 2022-02-22 21:39:13 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-02-24 07:33:06 +0300 |
commit | 68258596cbc9a6c1e1e243ef41321c4c0332df95 (patch) | |
tree | 41bb5f7ec26554b283eaad878dd2628b0b128bbc /drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h | |
parent | 1241e329ce2e1f5b1039fd356b75867b29721ad2 (diff) | |
download | linux-68258596cbc9a6c1e1e243ef41321c4c0332df95.tar.xz |
octeontx2-pf: Vary completion queue event size
Completion Queue Entry(CQE) is a descriptor written
by hardware to notify software about the send and
receive completion status. The CQE can be of size
128 or 512 bytes. A 512 bytes CQE can hold more receive
fragments pointers compared to 128 bytes CQE. This
patch enables to modify CQE size using:
<ethtool -G cqe-size N>.
Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h')
-rw-r--r-- | drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h b/drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h index 65e31a2210d9..c587c14ac2a3 100644 --- a/drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h +++ b/drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h @@ -181,6 +181,7 @@ struct otx2_hw { #define OTX2_DEFAULT_RBUF_LEN 2048 u16 rbuf_len; + u32 xqe_size; /* NPA */ u32 stack_pg_ptrs; /* No of ptrs per stack page */ |