| c266ab38 | 09-Jul-2016 |
Alexander Motin <[email protected]> |
Improve checksum "offload" support.
For compatibility reasons make driver not report any checksum offload by default, since there is indeed none. But if administrator knows that interface is used o
Improve checksum "offload" support.
For compatibility reasons make driver not report any checksum offload by default, since there is indeed none. But if administrator knows that interface is used only for local traffic, he can enable fake checksum offload manually on both sides to save some CPU cycles, since the data are already protected by CRC32 of PCIe link.
Sponsored by: iXsystems, Inc.
show more ...
|
| 8795de77 | 09-Jul-2016 |
Alexander Motin <[email protected]> |
Rewrite if_ntb to use modern interface KPIs and features.
It includes: link state, if_transmit, buf_ring, multiple queues, bpf, etc.
Sponsored by: iXsystems, Inc. |
| b23896a2 | 03-Dec-2015 |
Conrad Meyer <[email protected]> |
if_ntb: Don't roundup MW size to full BAR size unnecessarily
Note that the MW allocation still must be BAR *aligned*. So, this only loosens the constraints on MW allocation slightly. BAR-aligned d
if_ntb: Don't roundup MW size to full BAR size unnecessarily
Note that the MW allocation still must be BAR *aligned*. So, this only loosens the constraints on MW allocation slightly. BAR-aligned does not play well with large (GB+) BAR sizes.
Going forward, if anyone cares about if_ntb on very large BARs, I suggest they add functionality to allocate a smaller window than the BAR size, and set the BAR range to cover a window much larger than the allocated window. This will require negotiating a window offset and limit for protocol traffic. None of this is implemented in this revision.
Sponsored by: EMC / Isilon Storage Division
show more ...
|
| 70bca634 | 19-Nov-2015 |
Conrad Meyer <[email protected]> |
if_ntb: Initialize if_mtu to the correct MTU
Lower the payload data (IP) portion of the MTU from 0x10000 to IP_MAXPACKET (0xFFFF) to avoid panicing the IP stack.
Sponsored by: EMC / Isilon Storage
if_ntb: Initialize if_mtu to the correct MTU
Lower the payload data (IP) portion of the MTU from 0x10000 to IP_MAXPACKET (0xFFFF) to avoid panicing the IP stack.
Sponsored by: EMC / Isilon Storage Division
show more ...
|
| e90df063 | 18-Nov-2015 |
Conrad Meyer <[email protected]> |
if_ntb: Reuse receive buffers correctly
Discard the unused rx_free_q. Instead, reuse inputed packets by putting them back on the *pend* queue after reinitialization.
If tx or rx handlers are unava
if_ntb: Reuse receive buffers correctly
Discard the unused rx_free_q. Instead, reuse inputed packets by putting them back on the *pend* queue after reinitialization.
If tx or rx handlers are unavailable, free mbufs rather than leaking them.
With this change, if_ntb can receive more than 100 (NTB_QP_DEF_NUM_ENTRIES) packets.
Sponsored by: EMC / Isilon Storage Division
show more ...
|
| 28a06666 | 11-Nov-2015 |
Conrad Meyer <[email protected]> |
if_ntb: MFV c92ba3c5: invalid buf pointer in multi-MW setups
Order of operations issue with the QP Num and MW count, which would result in the receive buffer pointer being invalid if there are more
if_ntb: MFV c92ba3c5: invalid buf pointer in multi-MW setups
Order of operations issue with the QP Num and MW count, which would result in the receive buffer pointer being invalid if there are more than 1 MW. Corrected with parenthesis to enforce the proper order of operations.
Reported by: John I. Kading <[email protected]> Reported by: Conrad Meyer <[email protected]> Authored by: Jon Mason <[email protected]> Obtained from: Linux (Dual BSD/GPL driver) Sponsored by: EMC / Isilon Storage Division
show more ...
|