MFC after: 2 weeks
Sponsored by: Orange Business Services
Details
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 57981 Build 54869: arc lint + arc unit
Event Timeline
This PF change looks correct but there needs to be matching change in the VF driver that reads the VLAN settings and acts on it.
sys/dev/cxgbe/t4_iov.c | ||
---|---|---|
380 | A valid PF needs to be provided here. I had to make changes to this revision when I tried it together with D45402 to get the PF side of things to work. Then I had to make some changes to the cxgbe VF driver to read the VLAN configuration during attach. I have a patch for that as well. |
sys/dev/cxgbe/t4_iov.c | ||
---|---|---|
380 | I'm not quite following on what needs to be changed here. |
{F86253090} I uploaded an attachment with all the changes I had to make to get this working. Please incorporate it into this revision.
sys/dev/cxgbe/t4_iov.c | ||
---|---|---|
380 | See attached patch. The pf number of the iov VF, not the adapter vf needs to be passed onto the hw.c routine, which also needs to set the proper pmask using the pf passed in. |