- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Aug 26 2023
Aug 25 2023
Aug 17 2023
I'm not familiar enough to comment at all. My only role was mechanically converting to IfAPI.
Aug 11 2023
Big "Oops", sorry.
Aug 2 2023
Jul 21 2023
Jun 24 2023
Jun 16 2023
I agree with option 1, moving the LLE insertion code to if_llatbl.c
May 17 2023
May 2 2023
Switch to a boolean, if_maddr_empty() instead.
May 1 2023
In D39621#908256, @melifaro wrote:If it builds, I'm all up for it!
Apr 25 2023
@mateusz.moga_intel.com Thanks for validation, I'll push it today.
Apr 24 2023
Add mw@ for review as well.
Ping? Would a simple boolean be better than a count?
Apr 22 2023
Apr 21 2023
Update diff after (several) rebases. Intended to do this 2 months ago. I hope I've addressed everything.
Rebase and use @bartosz.sobczak_intel.com 's diff instead.
Apr 20 2023
In D38960#904247, @bartosz.sobczak_intel.com wrote:
Apr 19 2023
Hi @bartosz.sobczak_intel.com the ofed fix has been committed as 12e99b63d2fa, thanks!
In D38960#903021, @bartosz.sobczak_intel.com wrote:In D38960#902485, @jhibbits wrote:In D38960#902466, @bartosz.sobczak_intel.com wrote:i still haven't had a chance to test this, because from what i can see the commit 3e142e07675be6d breaks iwarp for E810 devices. i'm trying to comprehend why this happens.
Crap. It should've been a purely mechanical change, with no functional changes. Unfortunately I have no way of testing. @hselasky are you able to test and debug? I hope I don't need to revert, I want to get D39621 in before the branch in May.
I know! right?
Ok, i think i found the change:@@ -176,13 +176,13 @@ static inline int rdma_addr_gid_offset(struct rdma_dev_addr *dev_addr) return dev_addr->dev_type == ARPHRD_INFINIBAND ? 4 : 0; } -static inline u16 rdma_vlan_dev_vlan_id(const struct ifnet *dev) +static inline u16 rdma_vlan_dev_vlan_id(if_t dev) { uint16_t tag; - if (dev->if_type == IFT_ETHER && dev->if_pcp != IFNET_PCP_NONE) + if (if_gettype(dev) != IFT_ETHER || if_getpcp(dev) == IFNET_PCP_NONE) return 0x0000; /* prio-tagged traffic */ - if (VLAN_TAG(__DECONST(struct ifnet *, dev), &tag) != 0) + if (VLAN_TAG(__DECONST(if_t, dev), &tag) != 0) return 0xffff; return tag; }So we have a change from:
A && !B
into:
!A || BDo you know why this change? It clearly is a negative of what was before. The effect is that when no vlan is set, we get vlan_id 0 instead of 0xffff, and this is used by irdma driver.
Apr 18 2023
In D38960#902466, @bartosz.sobczak_intel.com wrote:i still haven't had a chance to test this, because from what i can see the commit 3e142e07675be6d breaks iwarp for E810 devices. i'm trying to comprehend why this happens.
Apr 17 2023
Apr 12 2023
Ah I see now. Not sure what I actually downloaded to check yesterday, now I got the right diff to compare.
Apr 11 2023
powerpcspe can be done separately. I don't think there's currently any attribute used, but if there will be it would be "spe" or such.
Hi @bartosz.sobczak_intel.com I just checked, and the diffs are identical. I have no way of testing it, I've only compiled it for all targets.
Apr 10 2023
In D39491#899046, @hselasky wrote:When changing structure layouts you need to bump the FreeBSD version.
Apr 6 2023
Rebase, address feedback.
Mar 29 2023
Mar 24 2023
Drop the initial link state. Nothing else sets initial link state.
In D38929#893449, @erj wrote:
In D37856#893389, @zlei wrote:Looks good to me.
I admit that the diff https://reviews.freebsd.org/D37856?id=117248 frustrated me a lot.
Mar 23 2023
Any further comments on this?
Update to use the new if_iter API. Remove rest of struct ifnet uses in the code.
@erj can you fix this the right way given what you also wrote in your now deleted comment? I could just revert the original change to the line if that's all that's needed.
Mar 21 2023
@bartosz.sobczak_intel.com I'm find holding off. When D39173 is committed I'll rebase on that and rework to also use the new iterator API which is cleaner than the callback API.
Mar 18 2023
Simplify things a bit, store only next pointer instead of both current and next.
Address feedback from @melifaro. Make the API 'safe', and change the cleanup function to 'finish'.
Mar 17 2023
Mar 16 2023
@melifaro I like that approach overall, but I think it's nicer to keep it all local on the stack using an opaque context struct, then a user can do something like:
Mar 15 2023
Mar 14 2023
Mar 13 2023
Address feedback.