#
2aa5c722 |
| 10-Mar-2018 |
Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> |
net/cxgbe: convert to SPDX license tags
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
|
#
a0a344a8 |
| 10-Mar-2018 |
Kumar Sanghvi <kumaras@chelsio.com> |
net/cxgbe: add VF port statistics
Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com> Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
|
#
880ead4e |
| 10-Mar-2018 |
Kumar Sanghvi <kumaras@chelsio.com> |
net/cxgbe: update Tx and Rx path for VF
On TX path, add fw_eth_tx_pkt_vm_wr to transmit packets over VF. Use is_pf4() to correctly calculate the work request size and offsets within the work request
net/cxgbe: update Tx and Rx path for VF
On TX path, add fw_eth_tx_pkt_vm_wr to transmit packets over VF. Use is_pf4() to correctly calculate the work request size and offsets within the work request. On RX path, use pktshift to adjust data offset within the mbuf.
Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com> Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
show more ...
|
#
bfcb257d |
| 10-Mar-2018 |
Kumar Sanghvi <kumaras@chelsio.com> |
net/cxgbe: enable RSS for VF
Query firmware and configure RSS for VF.
Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com> Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
|
#
5e59e39a |
| 10-Mar-2018 |
Kumar Sanghvi <kumaras@chelsio.com> |
net/cxgbe: initialize SGE and queues for VF
Query firmware and initialize SGE parameters and enable queue allocation for VF. Calculate pcie channel and queue congestion management for VF.
Signed-o
net/cxgbe: initialize SGE and queues for VF
Query firmware and initialize SGE parameters and enable queue allocation for VF. Calculate pcie channel and queue congestion management for VF.
Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com> Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
show more ...
|
#
d2adea17 |
| 10-Mar-2018 |
Kumar Sanghvi <kumaras@chelsio.com> |
net/cxgbe: add base for enabling VF ports
Add base to enable VF ports in subsequent patches.
Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com> Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@che
net/cxgbe: add base for enabling VF ports
Add base to enable VF ports in subsequent patches.
Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com> Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
show more ...
|
#
2606bdd2 |
| 28-Feb-2018 |
Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> |
net/cxgbe: rework and use 32-bit port capability
The new code uses the new 32-bit Port Capabilities exclusively and only translates to/from the old 16-bit Port Capabilities at the last point possibl
net/cxgbe: rework and use 32-bit port capability
The new code uses the new 32-bit Port Capabilities exclusively and only translates to/from the old 16-bit Port Capabilities at the last point possible when talking to older Firmware.
For the old versus new Firmware issue, we use the new FW_PARAMS_CMD[PFVF, CAPS32] command to tell the Firmware that we want Asynchronous Port Status updates to use the new 32-bit version of the Port Information message. If we get an error, we know we're dealing with older Firmware, and if not, we'll start getting th new 32-bit Port Capability message formats.
Also, refactor t4_handle_fw_rpl() to handle new 32-bit Port Capability replies from firmware in t4_handle_get_port_info().
Original work by Surendra Mobiya <surendra@chelsio.com>
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
show more ...
|
#
76488837 |
| 28-Feb-2018 |
Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> |
net/cxgbe: update link config for 32-bit port capability
Update link configuration API to prepare for 32-bit port capability support. Continue using 16-bit port capability for older firmware.
Origi
net/cxgbe: update link config for 32-bit port capability
Update link configuration API to prepare for 32-bit port capability support. Continue using 16-bit port capability for older firmware.
Original work by Surendra Mobiya <surendra@chelsio.com>
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
show more ...
|
#
08e21af9 |
| 28-Feb-2018 |
Kumar Sanghvi <kumaras@chelsio.com> |
net/cxgbe: support updating RSS hash configuration and key
Add firmware API for updating RSS hash configuration and key. Move RSS hash configuration from cxgb4_write_rss() to a separate function cx
net/cxgbe: support updating RSS hash configuration and key
Add firmware API for updating RSS hash configuration and key. Move RSS hash configuration from cxgb4_write_rss() to a separate function cxgbe_write_rss_conf().
Also, rename cxgb4_write_rss() to cxgbe_write_rss() for consistency.
Original work by Surendra Mobiya <surendra@chelsio.com>
Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com> Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
show more ...
|
#
49fe15de |
| 28-Jun-2017 |
Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> |
net/cxgbe: update supported port module types
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
|
#
6c280962 |
| 27-May-2017 |
Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> |
net/cxgbe: improve latency for slow traffic
TX coalescing waits for ETH_COALESCE_PKT_NUM packets to be coalesced across bursts before transmitting them. For slow traffic, such as 100 PPS, this appr
net/cxgbe: improve latency for slow traffic
TX coalescing waits for ETH_COALESCE_PKT_NUM packets to be coalesced across bursts before transmitting them. For slow traffic, such as 100 PPS, this approach increases latency since packets are received one at a time and tx coalescing has to wait for ETH_COALESCE_PKT number of packets to arrive before transmitting.
To fix this:
- Update rx path to use status page instead and only receive packets when either the ingress interrupt timer threshold (5 us) or the ingress interrupt packet count threshold (32 packets) fires. (i.e. whichever happens first).
- If number of packets coalesced is <= number of packets sent by tx burst function, stop coalescing and transmit these packets immediately.
Also added compile time option to favor throughput over latency by default.
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
show more ...
|
#
69aed042 |
| 27-May-2017 |
Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> |
net/cxgbe/base: add forward error correction support
Add forward error correction (FEC) support and update link configuration.
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> Signed-
net/cxgbe/base: add forward error correction support
Add forward error correction (FEC) support and update link configuration.
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
show more ...
|
#
9da2a694 |
| 27-May-2017 |
Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> |
net/cxgbe: update link speeds and port modules
Add 25G and 100G link speeds and update supported port modules.
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> Signed-off-by: Kumar Sa
net/cxgbe: update link speeds and port modules
Add 25G and 100G link speeds and update supported port modules.
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
show more ...
|
#
3bd122ee |
| 29-Jun-2015 |
Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> |
cxgbe/base: add hardware API for Chelsio T5 series adapters
Adds hardware specific api for all the Chelsio T5 adapters under drivers/net/cxgbe/base directory.
Signed-off-by: Rahul Lakkireddy <rahul
cxgbe/base: add hardware API for Chelsio T5 series adapters
Adds hardware specific api for all the Chelsio T5 adapters under drivers/net/cxgbe/base directory.
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
show more ...
|