#
5eb55bf8 |
| 27-May-2017 |
Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> |
net/cxgbe: grab available ports after firmware reset
Move code to get the available ports from the firmware after it had been reset. This ensures that driver uses the latest info on available ports
net/cxgbe: grab available ports after firmware reset
Move code to get the available ports from the firmware after it had been reset. This ensures that driver uses the latest info on available ports after firmware reset.
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
show more ...
|
#
04868e5b |
| 27-May-2017 |
Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> |
net/cxgbe: add support to run Chelsio T6 cards
Add code to detect and run T6 devices. Update PCI ID Device table with Chelsio T6 device ids and update documentation.
Signed-off-by: Rahul Lakkiredd
net/cxgbe: add support to run Chelsio T6 cards
Add code to detect and run T6 devices. Update PCI ID Device table with Chelsio T6 device ids and update documentation.
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
show more ...
|
#
7d012402 |
| 11-Apr-2017 |
Jan Blunck <jblunck@infradead.org> |
ethdev: remove PCI helper from generic ethdev header
This moves the rte_eth_copy_pci_info() into the PCI specific ethdev header. As a side effect this also removes it from the list of symbols export
ethdev: remove PCI helper from generic ethdev header
This moves the rte_eth_copy_pci_info() into the PCI specific ethdev header. As a side effect this also removes it from the list of symbols exported by the rte_ethdev library.
Signed-off-by: Jan Blunck <jblunck@infradead.org> Acked-by: Stephen Hemminger <stephen@networkplumber.org>
show more ...
|
#
9dca21fb |
| 11-Apr-2017 |
Jan Blunck <jblunck@infradead.org> |
ethdev: remove ethdev driver
This removes the now unused struct eth_driver.
Signed-off-by: Jan Blunck <jblunck@infradead.org> Acked-by: Stephen Hemminger <stephen@networkplumber.org>
|
#
1039ee1c |
| 15-Jan-2017 |
Emmanuel Roullit <emmanuel.roullit@gmail.com> |
net/cxgbe: fix parenthesis on bitwise operation
clang reports the following error: error: logical not is only applied to the left hand side of this bitwise operator. [-Werror,-Wlogical-not-parenthes
net/cxgbe: fix parenthesis on bitwise operation
clang reports the following error: error: logical not is only applied to the left hand side of this bitwise operator. [-Werror,-Wlogical-not-parentheses]
Fixes: 92c8a63223e5 ("cxgbe: add device configuration and Rx support")
Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com> Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
#
eac901ce |
| 23-Dec-2016 |
Jan Blunck <jblunck@infradead.org> |
ethdev: decouple from PCI device
This makes struct rte_eth_dev independent of struct rte_pci_device by replacing it with a pointer to the generic struct rte_device.
Signed-off-by: Jan Blunck <jblun
ethdev: decouple from PCI device
This makes struct rte_eth_dev independent of struct rte_pci_device by replacing it with a pointer to the generic struct rte_device.
Signed-off-by: Jan Blunck <jblunck@infradead.org> Acked-by: Shreyansh Jain <shreyansh.jain@nxp.com>
show more ...
|
#
75aca799 |
| 17-Nov-2016 |
Jan Blunck <jblunck@infradead.org> |
ethdev: initialize more fields on allocation
This moves the non-PCI related initialization of the link state interrupt callback list and the setting of the default MTU to rte_eth_dev_allocate() so t
ethdev: initialize more fields on allocation
This moves the non-PCI related initialization of the link state interrupt callback list and the setting of the default MTU to rte_eth_dev_allocate() so that drivers only need to set non-default values.
Signed-off-by: Jan Blunck <jblunck@infradead.org> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
#
6751f6de |
| 20-Sep-2016 |
David Marchand <david.marchand@6wind.com> |
ethdev: get rid of device type
Now that hotplug has been moved to eal, there is no reason to keep the device type in this layer.
Signed-off-by: David Marchand <david.marchand@6wind.com> Signed-off-
ethdev: get rid of device type
Now that hotplug has been moved to eal, there is no reason to keep the device type in this layer.
Signed-off-by: David Marchand <david.marchand@6wind.com> Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
show more ...
|
#
13b0f500 |
| 25-Feb-2016 |
Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> |
cxgbe: fix PCI info copy to ports under same PF
Chelsio NIC ports share a single PF. Move rte_eth_copy_pci_info() to copy the pci device information to the remaining ports as well.
Also update lice
cxgbe: fix PCI info copy to ports under same PF
Chelsio NIC ports share a single PF. Move rte_eth_copy_pci_info() to copy the pci device information to the remaining ports as well.
Also update license year to 2016.
Fixes: eeefe73f0af1 ("drivers: copy PCI device info to ethdev data")
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
show more ...
|
#
5a9e303a |
| 19-Jan-2016 |
Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> |
cxgbe: fix setting wrong MTU
max_rx_pkt_len already includes ETHER_HDR_LEN and ETHER_CRC_LEN for the mtu. But, the firmware also adds ETHER_HDR_LEN and ETHER_CRC_LEN to the mtu specified. Fix by sub
cxgbe: fix setting wrong MTU
max_rx_pkt_len already includes ETHER_HDR_LEN and ETHER_CRC_LEN for the mtu. But, the firmware also adds ETHER_HDR_LEN and ETHER_CRC_LEN to the mtu specified. Fix by subtracting these values from the mtu before passing it to firmware.
Fixes: 4b2eff452d2e ("cxgbe: enable jumbo frames")
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
show more ...
|
#
8dca8cc5 |
| 19-Jan-2016 |
Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> |
cxgbe: fix allocated size for RSS table
The size of each entry in the port's rss table is actually 2 bytes and not 1 byte. A segfault occurs when accessing part of port 0's rss table because it gets
cxgbe: fix allocated size for RSS table
The size of each entry in the port's rss table is actually 2 bytes and not 1 byte. A segfault occurs when accessing part of port 0's rss table because it gets overwritten by subsequent port 1's part of the rss table. Fix by setting the size of each entry appropriately.
Fixes: 92c8a63223e5 ("cxgbe: add device configuration and Rx support")
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
show more ...
|
#
693f715d |
| 27-Jan-2016 |
Huawei Xie <huawei.xie@intel.com> |
remove extra parentheses in return statement
fix the error reported by checkpatch: "ERROR: return is not a function, parentheses are not required"
remove parentheses in return like: "return (lo
remove extra parentheses in return statement
fix the error reported by checkpatch: "ERROR: return is not a function, parentheses are not required"
remove parentheses in return like: "return (logical expressions)"
remove parentheses in return a function like: "return (rte_mempool_lookup(...))"
Fixes: 6307b909b8e0 ("lib: remove extra parenthesis after return")
Signed-off-by: Huawei Xie <huawei.xie@intel.com>
show more ...
|
#
4b2eff45 |
| 08-Oct-2015 |
Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> |
cxgbe: enable jumbo frames
Increase max_rx_pktlen to accommodate jumbo frame size. Perform sanity checks and enable jumbo mode in rx queue setup. Set link mtu based on max_rx_pktlen.
Signed-off-by:
cxgbe: enable jumbo frames
Increase max_rx_pktlen to accommodate jumbo frame size. Perform sanity checks and enable jumbo mode in rx queue setup. Set link mtu based on max_rx_pktlen.
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
show more ...
|
#
bf89cbed |
| 08-Oct-2015 |
Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> |
cxgbe: optimize forwarding performance for 40G
Update sge initialization with respect to free-list manager configuration and ingress arbiter. Also update refill logic to refill mbufs only after a ce
cxgbe: optimize forwarding performance for 40G
Update sge initialization with respect to free-list manager configuration and ingress arbiter. Also update refill logic to refill mbufs only after a certain threshold for rx. Optimize tx packet prefetch.
Approx. 3 MPPS improvement seen in forwarding performance after the optimization.
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
show more ...
|
#
1f8613f1 |
| 20-Jul-2015 |
Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> |
cxgbe: enable build on FreeBSD
Fix "MACRO redefined" and "function redefined" compilation errors in FreeBSD by adding CXGBE prefix to them. Also remove reference to a linux header linux/if_ether.h
cxgbe: enable build on FreeBSD
Fix "MACRO redefined" and "function redefined" compilation errors in FreeBSD by adding CXGBE prefix to them. Also remove reference to a linux header linux/if_ether.h and use DPDK macros directly. Finally, enable CXGBE PMD for FreeBSD.
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|
#
efa8a43e |
| 01-Jul-2015 |
Bruce Richardson <bruce.richardson@intel.com> |
cxgbe: fix build with icc
When compiling the cxgbe driver with icc, multiple errors about using enums as integers appear across a number of files, including in the base code and in the DPDK-specific
cxgbe: fix build with icc
When compiling the cxgbe driver with icc, multiple errors about using enums as integers appear across a number of files, including in the base code and in the DPDK-specific driver code.
.../drivers/net/cxgbe/cxgbe_main.c(386): error #188: enumerated type mixed with another type t4_get_port_type_description(pi->port_type)); ^ For the errors in the base driver code we use the CFLAGS_BASE_DRIVER approach used by other drivers to disable warnings.
For errors in the DPDK-specific code, typecasts are used to fix the errors in the code itself.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|
#
856505d3 |
| 29-Jun-2015 |
Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> |
cxgbe: add port statistics
Adds stats_get() and stats_reset() eth_dev_ops for cxgbe poll mode driver.
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> Signed-off-by: Kumar Sanghvi <ku
cxgbe: add port statistics
Adds stats_get() and stats_reset() eth_dev_ops for cxgbe poll mode driver.
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
show more ...
|
#
0462d115 |
| 29-Jun-2015 |
Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> |
cxgbe: add device related operations
Adds dev_start(), dev_stop(), and dev_close() eth_dev_ops for cxgbe poll mode driver.
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> Signed-off-
cxgbe: add device related operations
Adds dev_start(), dev_stop(), and dev_close() eth_dev_ops for cxgbe poll mode driver.
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
show more ...
|
#
4a01078b |
| 29-Jun-2015 |
Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> |
cxgbe: add Tx support
Adds TX support for the cxgbe poll mode driver. This patch:
1. Adds tx queue related eth_dev_ops. 2. Adds tx_pkt_burst for transmitting packets.
Signed-off-by: Rahul Lakkire
cxgbe: add Tx support
Adds TX support for the cxgbe poll mode driver. This patch:
1. Adds tx queue related eth_dev_ops. 2. Adds tx_pkt_burst for transmitting packets.
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
show more ...
|
#
92c8a632 |
| 29-Jun-2015 |
Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> |
cxgbe: add device configuration and Rx support
Adds RX support for the cxgbe poll mode driver. This patch:
1. Adds rx queue related eth_dev_ops. 2. Adds RSS support. 3. Adds dev_configure() and de
cxgbe: add device configuration and Rx support
Adds RX support for the cxgbe poll mode driver. This patch:
1. Adds rx queue related eth_dev_ops. 2. Adds RSS support. 3. Adds dev_configure() and dev_infos_get() eth_dev_ops. 4. Adds rx_pkt_burst for receiving packets.
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
show more ...
|
#
83189849 |
| 29-Jun-2015 |
Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> |
cxgbe: add pmd skeleton
Adds cxgbe poll mode driver for DPDK under drivers/net/cxgbe directory. This patch:
1. Adds the Makefile to compile cxgbe pmd. 2. Registers and initializes the cxgbe pmd dri
cxgbe: add pmd skeleton
Adds cxgbe poll mode driver for DPDK under drivers/net/cxgbe directory. This patch:
1. Adds the Makefile to compile cxgbe pmd. 2. Registers and initializes the cxgbe pmd driver.
Enable cxgbe PMD for compilation and linking with changes to: 1. config/common_linuxapp to add macros for cxgbe pmd. 2. drivers/net/Makefile to add cxgbe pmd to the compile list. 3. mk/rte.app.mk to add cxgbe pmd to link.
Update MAINTAINERS file to claim responsibility for the cxgbe PMD.
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com> [Thomas: add disabled config for bsdapp]
show more ...
|