Commit dbda436
octeontx2-pf: Fix promisc mcam entry action
Current implementation is such that, promisc mcam entry action
is set as multicast even when there are no trusted VFs. multicast
action causes the hardware to copy packet data, which reduces
the performance.
This patch fixes this issue by setting the promisc mcam entry action to
unicast instead of multicast when there are no trusted VFs. The same
change is made for the 'allmulti' mcam entry action.
Fixes: ffd2f89 ("octeontx2-pf: Enable promisc/allmulti match MCAM entries.")
Signed-off-by: Hariprasad Kelam <hkelam@marvell.com>
Signed-off-by: Sunil Kovvuri Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 284f717 commit dbda436
1 file changed
Lines changed: 22 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1650 | 1650 | | |
1651 | 1651 | | |
1652 | 1652 | | |
| 1653 | + | |
| 1654 | + | |
| 1655 | + | |
| 1656 | + | |
| 1657 | + | |
| 1658 | + | |
| 1659 | + | |
| 1660 | + | |
| 1661 | + | |
| 1662 | + | |
| 1663 | + | |
| 1664 | + | |
| 1665 | + | |
| 1666 | + | |
| 1667 | + | |
1653 | 1668 | | |
1654 | 1669 | | |
1655 | 1670 | | |
| |||
1682 | 1697 | | |
1683 | 1698 | | |
1684 | 1699 | | |
1685 | | - | |
| 1700 | + | |
| 1701 | + | |
1686 | 1702 | | |
1687 | 1703 | | |
1688 | 1704 | | |
| |||
2691 | 2707 | | |
2692 | 2708 | | |
2693 | 2709 | | |
2694 | | - | |
| 2710 | + | |
2695 | 2711 | | |
2696 | | - | |
| 2712 | + | |
2697 | 2713 | | |
2698 | 2714 | | |
| 2715 | + | |
| 2716 | + | |
| 2717 | + | |
2699 | 2718 | | |
2700 | 2719 | | |
2701 | 2720 | | |
| |||
0 commit comments