octeontx2-af: Support to modify min/max allowed packet lengths
This patch adds support for RVU PF/VFs to modify min/max packet lengths allowed by HW. For VFs on PF0, settings will be automatically applied on LBK link. RX link's min/maxlen is configured to min/max of PF and it's all VFs. On the TX side if requested all SMQs attached to the requesting NIXLF will be updated with new min/max lengths. Also updates transmit credits for Tx links based on new maxlen. Signed-off-by:Sunil Goutham <sgoutham@marvell.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/ethernet/marvell/octeontx2/af/cgx.h 1 addition, 0 deletionsdrivers/net/ethernet/marvell/octeontx2/af/cgx.h
- drivers/net/ethernet/marvell/octeontx2/af/common.h 5 additions, 0 deletionsdrivers/net/ethernet/marvell/octeontx2/af/common.h
- drivers/net/ethernet/marvell/octeontx2/af/mbox.h 11 additions, 1 deletiondrivers/net/ethernet/marvell/octeontx2/af/mbox.h
- drivers/net/ethernet/marvell/octeontx2/af/rvu.h 4 additions, 0 deletionsdrivers/net/ethernet/marvell/octeontx2/af/rvu.h
- drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 199 additions, 0 deletionsdrivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
Loading