| 3c100e0e | 08-May-2022 |
Nithin Dabilpuram <[email protected]> |
common/cnxk: support per-port RQ in inline device
Add support for per port RQ in inline device thereby using Aura/Pool attributes from that port specific first RQ. When inline device is used with ch
common/cnxk: support per-port RQ in inline device
Add support for per port RQ in inline device thereby using Aura/Pool attributes from that port specific first RQ. When inline device is used with channel masking, it will fallback to single RQ for all ethdev ports.
Also remove clamping up of CQ size for LBK ethdev when inline inbound is enabled as now backpressure is supported even on LBK ethdevs.
Signed-off-by: Nithin Dabilpuram <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| 14124e48 | 08-May-2022 |
Nithin Dabilpuram <[email protected]> |
net/cnxk: fix hotplug detach for first device
Fix hotplug detach sequence to handle case where first PCI device that is hosting NPA LF is being destroyed while in use.
Fixes: 5a4341c84979 ("net/cnx
net/cnxk: fix hotplug detach for first device
Fix hotplug detach sequence to handle case where first PCI device that is hosting NPA LF is being destroyed while in use.
Fixes: 5a4341c84979 ("net/cnxk: add platform specific probe and remove") Cc: [email protected]
Signed-off-by: Nithin Dabilpuram <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| e2819fea | 08-May-2022 |
Nithin Dabilpuram <[email protected]> |
net/cnxk: fix multi-segment extraction in vwqe path
Fix multi-seg extraction in vwqe path to avoid updating mbuf[] array until it is used via cq0 path.
Fixes: 7fbbc981d54f ("event/cnxk: support vec
net/cnxk: fix multi-segment extraction in vwqe path
Fix multi-seg extraction in vwqe path to avoid updating mbuf[] array until it is used via cq0 path.
Fixes: 7fbbc981d54f ("event/cnxk: support vectorized Rx event fast path") Cc: [email protected]
Signed-off-by: Nithin Dabilpuram <[email protected]> Acked-by: Pavan Nikhilesh <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| 34b46320 | 08-May-2022 |
Nithin Dabilpuram <[email protected]> |
net/cnxk: perform early MTU setup for event mode
Perform early MTU setup for event mode path in order to update the Rx/Tx offload flags before Rx adapter setup starts.
Signed-off-by: Nithin Dabilpu
net/cnxk: perform early MTU setup for event mode
Perform early MTU setup for event mode path in order to update the Rx/Tx offload flags before Rx adapter setup starts.
Signed-off-by: Nithin Dabilpuram <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| 358d02d2 | 08-May-2022 |
Nithin Dabilpuram <[email protected]> |
net/cnxk: support flow control for outbound inline
Add support for flow control in outbound inline path using FC updates from CPT.
Signed-off-by: Nithin Dabilpuram <[email protected]> Acked-b
net/cnxk: support flow control for outbound inline
Add support for flow control in outbound inline path using FC updates from CPT.
Signed-off-by: Nithin Dabilpuram <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| d6e6bc5d | 08-May-2022 |
Akhil Goyal <[email protected]> |
net/cnxk: support security statistics
Enabled rte_security stats operation based on the configuration of SA options set while creating session.
Signed-off-by: Vamsi Attunuru <[email protected]>
net/cnxk: support security statistics
Enabled rte_security stats operation based on the configuration of SA options set while creating session.
Signed-off-by: Vamsi Attunuru <[email protected]> Signed-off-by: Akhil Goyal <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| a86e5f56 | 08-May-2022 |
Akhil Goyal <[email protected]> |
net/cnxk: add capabilities for IPsec options
Added supported capabilities for various IPsec SA options.
Signed-off-by: Akhil Goyal <[email protected]> Signed-off-by: Vamsi Attunuru <vattunuru@marv
net/cnxk: add capabilities for IPsec options
Added supported capabilities for various IPsec SA options.
Signed-off-by: Akhil Goyal <[email protected]> Signed-off-by: Vamsi Attunuru <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| 3790ab9b | 08-May-2022 |
Akhil Goyal <[email protected]> |
net/cnxk: add capabilities for IPsec crypto algos
Added supported crypto algorithms for inline IPsec offload.
Signed-off-by: Akhil Goyal <[email protected]> Acked-by: Jerin Jacob <[email protected]
net/cnxk: add capabilities for IPsec crypto algos
Added supported crypto algorithms for inline IPsec offload.
Signed-off-by: Akhil Goyal <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| 243e23bc | 08-May-2022 |
Akhil Goyal <[email protected]> |
net/cnxk: update L3/L4 checksum offload in mbuf
When the packet is processed with inline IPsec offload, the ol_flags were updated only with RTE_MBUF_F_RX_SEC_OFFLOAD.
But the hardware can also upda
net/cnxk: update L3/L4 checksum offload in mbuf
When the packet is processed with inline IPsec offload, the ol_flags were updated only with RTE_MBUF_F_RX_SEC_OFFLOAD.
But the hardware can also update the L3/L4 csum offload flags. Hence, ol_flags are updated with RTE_MBUF_F_RX_IP_CKSUM_GOOD, RTE_MBUF_F_RX_L4_CKSUM_GOOD, etc based on the microcode completion codes.
Signed-off-by: Akhil Goyal <[email protected]> Signed-off-by: Nithin Dabilpuram <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| c48b1488 | 08-May-2022 |
Nithin Dabilpuram <[email protected]> |
net/cnxk: optimize Rx fast path for security offload
Optimize Rx fast path for security packets by preprocessing most of the operations such as sa pointer compute, inner WQE pointer fetch and microc
net/cnxk: optimize Rx fast path for security offload
Optimize Rx fast path for security packets by preprocessing most of the operations such as sa pointer compute, inner WQE pointer fetch and microcode completion translation before the pkt is characterized as inbound inline pkt.
Preprocessed info will be discarded if packet is not found to be security pkt. Also fix fetching of CQ word5 for vector mode. Get ucode completion code from CPT parse header and RLEN from IP4v/IPv6 decrypted packet as it is in same 64B cacheline as CPT parse header in most of the cases. By this method, we avoid accessing an extra cacheline
Fixes: c062f5726f61 ("net/cnxk: support IP reassembly") Cc: [email protected]
Signed-off-by: Nithin Dabilpuram <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| 9aa97229 | 08-May-2022 |
Akhil Goyal <[email protected]> |
net/cnxk: support decrement TTL for inline IPsec
Added support for decrementing TTL(IPv4)/hoplimit(IPv6) while doing inline IPsec processing if the security session SA options is enabled with dec_tt
net/cnxk: support decrement TTL for inline IPsec
Added support for decrementing TTL(IPv4)/hoplimit(IPv6) while doing inline IPsec processing if the security session SA options is enabled with dec_ttl.
Signed-off-by: Akhil Goyal <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| 4f3c07b7 | 08-May-2022 |
Akhil Goyal <[email protected]> |
net/cnxk: reset offload flag if reassembly is disabled
The rx offload flag need to be reset if IP reassembly flag is not set while calling reassembly_conf_set.
Signed-off-by: Akhil Goyal <gakhil@ma
net/cnxk: reset offload flag if reassembly is disabled
The rx offload flag need to be reset if IP reassembly flag is not set while calling reassembly_conf_set.
Signed-off-by: Akhil Goyal <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| 76e0dd11 | 08-May-2022 |
Akhil Goyal <[email protected]> |
net/cnxk: update environment variable for debug IV
Changed environment variable name for specifying debug IV for unit testing of inline IPsec offload with known test vectors.
Signed-off-by: Akhil G
net/cnxk: update environment variable for debug IV
Changed environment variable name for specifying debug IV for unit testing of inline IPsec offload with known test vectors.
Signed-off-by: Akhil Goyal <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| b1066565 | 08-May-2022 |
Rakesh Kudurumalla <[email protected]> |
net/cnxk: update inline device in ethdev telemetry
Inline PF_FUNC is updated in ethdev_tel_handle_info(), when inline device is attached to any dpdk process
Signed-off-by: Rakesh Kudurumalla <rkudu
net/cnxk: update inline device in ethdev telemetry
Inline PF_FUNC is updated in ethdev_tel_handle_info(), when inline device is attached to any dpdk process
Signed-off-by: Rakesh Kudurumalla <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| 2e668c54 | 08-May-2022 |
Nithin Dabilpuram <[email protected]> |
net/cnxk: fix roundup size with transport mode
For transport mode, roundup needs to be based on L4 data and shouldn't include L3 length.
By including L3 length, rlen that is calculated and put in s
net/cnxk: fix roundup size with transport mode
For transport mode, roundup needs to be based on L4 data and shouldn't include L3 length.
By including L3 length, rlen that is calculated and put in send hdr would cross the final length of the packet in some scenarios where padding is necessary.
Also when outer and inner checksum offload flags are enabled, get the l2_len and l3_len from il3ptr and il4ptr.
Fixes: 55bfac717c72 ("net/cnxk: support Tx security offload on cn10k") Cc: [email protected]
Signed-off-by: Nithin Dabilpuram <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| 1e1bfd07 | 08-May-2022 |
Nithin Dabilpuram <[email protected]> |
net/cnxk: disable default inner checksum for outbound inline
Disable default inner L3/L4 checksum generation for outbound inline path and enable based on SA options or RTE_MBUF flags as per the spec
net/cnxk: disable default inner checksum for outbound inline
Disable default inner L3/L4 checksum generation for outbound inline path and enable based on SA options or RTE_MBUF flags as per the spec. Though the checksum generation is not impacting much performance, it is overwriting zero checksum for UDP packets which is not always good.
Signed-off-by: Nithin Dabilpuram <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| 39279dd9 | 08-May-2022 |
Nithin Dabilpuram <[email protected]> |
net/cnxk: add barrier after meta batch free in scalar
Add barrier after meta batch free in scalar routine when LMT lines are exactly full to make sure that next LMT line user in Tx only starts writi
net/cnxk: add barrier after meta batch free in scalar
Add barrier after meta batch free in scalar routine when LMT lines are exactly full to make sure that next LMT line user in Tx only starts writing the lines only when previous stoerl's are complete.
Fixes: 4382a7ccf781 ("net/cnxk: support Rx security offload on cn10k") Cc: [email protected]
Signed-off-by: Nithin Dabilpuram <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| 852cedba | 08-May-2022 |
Nithin Dabilpuram <[email protected]> |
net/cnxk: update LBK ethdev link info
Update link info of LBK ethdev i.e AF's VF's as always up and 100G. This is because there is no phy for the LBK interfaces and driver won't get a link update no
net/cnxk: update LBK ethdev link info
Update link info of LBK ethdev i.e AF's VF's as always up and 100G. This is because there is no phy for the LBK interfaces and driver won't get a link update notification for the same.
Signed-off-by: Nithin Dabilpuram <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| 5875d2ca | 08-May-2022 |
Nithin Dabilpuram <[email protected]> |
net/cnxk: support loopback mode on AF VF
Support internal loopback mode on AF VF's using ROC by setting Tx channel same as Rx channel.
Signed-off-by: Nithin Dabilpuram <[email protected]> Ack
net/cnxk: support loopback mode on AF VF
Support internal loopback mode on AF VF's using ROC by setting Tx channel same as Rx channel.
Signed-off-by: Nithin Dabilpuram <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| ff1400aa | 08-May-2022 |
Radha Mohan Chintakuntla <[email protected]> |
net/cnxk: add receive channel backpressure for SDP
The SDP interfaces also need to be configured for NIX receive channel backpressure for packet receive.
Signed-off-by: Radha Mohan Chintakuntla <ra
net/cnxk: add receive channel backpressure for SDP
The SDP interfaces also need to be configured for NIX receive channel backpressure for packet receive.
Signed-off-by: Radha Mohan Chintakuntla <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| a800675b | 27-Apr-2022 |
Satheesh Paul <[email protected]> |
net/cnxk: support IPv6 fragment flow pattern item
Support matching IPv6 fragment extension header with RTE_FLOW_ITEM_TYPE_IPV6_FRAG_EXT flow pattern item.
Signed-off-by: Satheesh Paul <psatheesh@ma
net/cnxk: support IPv6 fragment flow pattern item
Support matching IPv6 fragment extension header with RTE_FLOW_ITEM_TYPE_IPV6_FRAG_EXT flow pattern item.
Signed-off-by: Satheesh Paul <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| b934e65b | 30-Apr-2022 |
Vamsi Attunuru <[email protected]> |
net/cnxk: enable 3DES-CBC capability
Enable 3DES-CBC capability of inline crypto device.
Signed-off-by: Vamsi Attunuru <[email protected]> Acked-by: Jerin Jacob <[email protected]> |
| 8efa348e | 04-May-2022 |
Kiran Kumar K <[email protected]> |
net/cnxk: support custom SA index
Adding cnxk device driver support to configure custom SA index. Custom SA index can be configured as part of the session create as SPI, and later original SPI can b
net/cnxk: support custom SA index
Adding cnxk device driver support to configure custom SA index. Custom SA index can be configured as part of the session create as SPI, and later original SPI can be updated using session update.
Signed-off-by: Kiran Kumar K <[email protected]> Acked-by: Ray Kinsella <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| 7df4ead3 | 04-May-2022 |
Kiran Kumar K <[email protected]> |
net/cnxk: support parsing custom SA action
Adding devargs support to parse custom SA action. Devargs can be specified in the following way. -a 0002:02:00.0,custom_sa_act=1
Signed-off-by: Kiran Kuma
net/cnxk: support parsing custom SA action
Adding devargs support to parse custom SA action. Devargs can be specified in the following way. -a 0002:02:00.0,custom_sa_act=1
Signed-off-by: Kiran Kumar K <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| 332cae00 | 24-Apr-2022 |
Gowrishankar Muthukrishnan <[email protected]> |
net/cnxk: fix out of bounds accesses
Fix out of bounds access in cmd array which was reported in coverity scan.
Coverity issue: 375245, 375246, 375260, 375263, 375264, 375271 Coverity issue: 375278
net/cnxk: fix out of bounds accesses
Fix out of bounds access in cmd array which was reported in coverity scan.
Coverity issue: 375245, 375246, 375260, 375263, 375264, 375271 Coverity issue: 375278, 375279, 375273, 375274, 375275, 375276 Coverity issue: 375280, 375281, 375283, 375286 Fixes: c5b97e98837 ("net/cnxk: add cn10k template Tx functions to build") Fixes: dd8c20eee47 ("net/cnxk: add cn9k template Tx functions to build") Cc: [email protected]
Signed-off-by: Gowrishankar Muthukrishnan <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|